cronjob fail when publishing 500 news per day
-
Hello,
I need some help to understand how Postie works. I will start with background on what our problem is.We publish more than 500 news some days. Sometimes in intervals of 2-3 minutes. We have setup the service setcronjob.com to hit the Postie URL: https://www.domain.com/?postie=get-mail every 10 minutes. Sometimes there are 5-10-15 news for publishing. Postie gets the articles from our email. It usually works when the news load is low but when we have many news, Setcronjob starts to failure at executing the postie=get-mail giving erros: “Service Unavailable”.
We know that our website works as we check from other computers. It works very well, quick loading …
So once this happen, we try to hit the /?postie=get-mail manually, and after we hit, it start loading very slow … and then we also get error and we are blocked from accessing the site for a minute from the same browser.
The settings in Postie was to publish 25 emails per hit. Maximum number of emails to process. We tried with 10 also.
The cronjob was set at 10 minutes. We tried with 3 minutes also.What we don’t understand is, the connection between the cronjob hit of the URL of postie plugin and the publishing process. What settings are the optimal for publishing huge number of posts. Do we have to decrease the Cronjob time to 1 minute or it must be higher like 15 minutes? Do we have to let Postie publish max 1-2-3 emails and the cronjob to hit in like 30 sec, or do we have to make it publish 20-30-40 articles and make the cronjob hit at 5-10-15 minutes. What’s the optimal one? We plan to publish more than 2000 news per day and in some periods more than 40 per 10 minutes. What we have to do to make postie work with that load?
We believe that Postie /?postie=get-mail somehow crashes or can’t load , and freezes itself. Another probably important detail is that when the Cronjob can’t hit the url , it usually shows Time: 200-300 seconds. When there are no emails its 1-2-3 seconds.
I really hope you can help us understand what we have to do to make publishing of many articles possible with postie. We use WPEngine and our hosting is really good. But we wonder, is it some blocking? or what happens so the cronjob and we manually can’t get normal message from /?postie=get-mail sometimes … after waiting 1-2 minutes. What we saw though is even though the message is not returned after we hit /?postie=get-mail and we get service unavailable or the cronjob, the posts are deleted from email and some are published (not sure if all). We have to check more.
Thank you in advance!
- The topic ‘cronjob fail when publishing 500 news per day’ is closed to new replies.