View Full Version : email queue never cleared
Sworm
05-31-2012, 02:16 PM
Hi all, i have installed vb 4.2.0., but from the end of the installation, my board is not able to send each type of emails (reply,pm, registration, activation or global emails).
What can cause this problem? I have set the "Number of emails to send per batch" to 10 (default was 80), but the mail queue is still increasing. I hope that it is possible to solve this big issue....
PS
If i disable the Use cron email" , the emails are sended without problems.
There's somebody that want to suggest me a solution?
If the queue isn't clearing then you'd want to increase the number per batch, wouldn't you? The scheduled task only runs once every 10 minutes, so if you decrease it to 10 now you're only sending 100 per hour. (ETA: I think...unless I'm missing something about how it works).
You could also try going to the scheduled task manager and pressing the "run now" button next to that task and see if you can decrease the queue.
Paul M
05-31-2012, 07:24 PM
If the queue isn't clearing then you'd want to increase the number per batch, wouldn't you? The scheduled task only runs once every 10 minutes, so if you decrease it to 10 now you're only sending 100 per hour. (ETA: I think...unless I'm missing something about how it works).10 would only be 60 an hour, not 100.
If its not keeping up then you need to increase the batch size not make it even smaller.
10 would only be 60 an hour, not 100.
Turns out you're right, 6 times 10 is 60 - I checked it with a calculator. :o
Sworm
06-01-2012, 12:11 PM
I have always used the Paul M "ceon Mail Queue", and all the emails was sended like a charm, without any type of problems.... Now , from my 4.2.0. installation , the emails are not sended anymore.
I don't have a lot of emails to send, for example yesterday the emails to send was 20, i have decreased the "Number od emails to send per batch" to 10 from 80 (my default) , but all the emails are in there for all the day. In the night i have disable the tool and the emails are sended in one block without queue.
in my forum, the emails are not sended in each case not with 1 , not with 10 and not with 80 per batch.
If the queue isn't clearing then you'd want to increase the number per batch, wouldn't you? The scheduled task only runs once every 10 minutes, so if you decrease it to 10 now you're only sending 100 per hour. (ETA: I think...unless I'm missing something about how it works).
You could also try going to the scheduled task manager and pressing the "run now" button next to that task and see if you can decrease the queue. vBulletin has a mail queue that prevents bottlenecks when sending large numbers of emails (for example, when a new post is added to a thread that has a lot of subscriptions to it). By default, 10 emails are sent from the queue at a time. If you have a more powerful server, you can probably safely increase this number, but we do not recommend going too high on this regardless.From default was 80 per batch, but the queue is still increasing there.... i'll try to change it in 100..... It should better to integrate the Paul M Cron Email hack for whole and not the actual one :(
I want to try to run manually the task, but i don't see nothing about the email to send..... what is the task name of the subscription new reply? or the contact form?
I am really crazying with this tool.
I want to try to run manually the task, but i don't see nothing about the email to send..... what is the task name of the subscription new reply? or the contact form?
The scheduled task that does the work is "Process E-Mail Queue". But I believe some email types should be sent immediately without being queued, like registration confirmation emails, so if you're having a problem with those not being sent there must be something else going on.
When you disable it, are you disabling "Use Mailqueue System" or "Use Cron Based Sending"?
Sworm
06-01-2012, 03:02 PM
Ok, the registration emails are sended immediately.... but i can't see in the task a process called "mail queue" .... and when i disable it i check the "no" near Use Cron Based Sending and all the emails are sended immediately.
Here a part of the task's log (From the 30th of May not there's a 1 single mail queue in the processess? Thats so strange) :
6908 vBSEO Search Engine XML Sitemap 06:23, 01 Jun 2012 Google Sitemap Created
6907 vBSEO Search Engine XML Sitemap 06:23, 01 Jun 2012 Google Sitemap [Started]
6906 Subscriptions 00:28, 01 Jun 2012 Paid Subscriptions Updated
6905 Daily Digest 00:28, 01 Jun 2012 Daily Digest Sent
6904 Birthdays 00:28, 01 Jun 2012 Birthday Email Sent to: poldonet
6903 vBSEO Search Engine XML Sitemap 09:34, 31 May 2012 Google Sitemap Created
6902 vBSEO Search Engine XML Sitemap 09:34, 31 May 2012 Google Sitemap [Started]
6901 Activation Reminder Email 06:06, 31 May 2012 Activation Reminder Emails sent to: xxxx
6900 Subscriptions 06:05, 31 May 2012 Paid Subscriptions Updated
6899 Daily Digest 06:05, 31 May 2012 Daily Digest Sent
6898 Birthdays 06:05, 31 May 2012 Birthday Email Sent to: xxxx
6897 vBSEO Search Engine XML Sitemap 19:47, 30 May 2012 Google Sitemap Created
6896 vBSEO Search Engine XML Sitemap 19:47, 30 May 2012 Google Sitemap [Started]
6895 Activation Reminder Email 19:43, 30 May 2012 Activation Reminder Emails sent to: xxxxx
6894 Subscriptions 19:39, 30 May 2012 Paid Subscriptions Updated
Lynne
06-01-2012, 03:15 PM
Go to your Scheduled Tasks and find the task Process E-Mail Queue. Is it set to run every 10 minutes? Edit it and verify "Log Entries" is set to Yes.
Sworm
06-01-2012, 03:30 PM
Hi lynne, i don't have the task "process e-mail queue" or i can not found it. here a screen:
https://vborg.vbsupport.ru/external/2012/06/55.jpg
https://vborg.vbsupport.ru/external/2012/06/56.jpg
In the log the last "Processed Mail Queue" is made by the Paul M hack "cron email ....". After 4.2.0 i can't see "a Processed Email queue" in my task.
Lynne
06-01-2012, 03:35 PM
Well, your whole problem is because you don't have that task. Create a new Scheduled task looking like this:
138851
Now see if it works.
Sworm
06-01-2012, 03:43 PM
Thanks lynne, i'll try it hoping that work. Can it been removed whae i have uninstalled the Paul M hack? Because when i have ended the upgrade 4.2.0. process i have uninstalled the Paul M hack..... So what can be the cause of this issue?
Thanks for your suggests.
Lynne
06-01-2012, 03:49 PM
I am guessing that somehow when you uninstalled Paul's hack, you accidentally deleted this Schedules Task.
Sworm
06-01-2012, 03:51 PM
WOW work now :D thank you very much Lynne , u r really great :)
--------------- Added 01 Jun 2012 at 18:53 ---------------
I am guessing that somehow when you uninstalled Paul's hack, you accidentally deleted this Schedules Task.
It is really strange , because to uninstall a hack i go in the product manager .... so far from the tasks... but it is ok, now i have solved. Thank you
PS
there's some other at your look that it is not located in the tasks?
Lee Roberts
07-16-2012, 06:59 PM
Hey Lynne, Paul
Sworm is onto somthing here, after i went to 4.2 i also went in and uninstalled Pauls Mod as it was deactivated for obvious reasons, however this removed the scheduled task as well.
Just a heads up as i bet a few people are going to do this, should have made a new scheduled task for 4.2 Paul so the Mod could be uninstalled with-out effect.
Thanks for the screen shot Lynne :P
.Me
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.