vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   email queue never cleared (https://vborg.vbsupport.ru/showthread.php?t=283753)

Sworm 05-31-2012 02:16 PM

email queue never cleared
 
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?

kh99 05-31-2012 06:38 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).

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

Quote:

Originally Posted by kh99 (Post 2335174)
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.

kh99 05-31-2012 07:25 PM

Quote:

Originally Posted by Paul M (Post 2335194)
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.

Quote:

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.
Quote:

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.

kh99 06-01-2012 12:30 PM

Quote:

Originally Posted by Sworm (Post 2335397)
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

1 Attachment(s)
Well, your whole problem is because you don't have that task. Create a new Scheduled task looking like this:
Attachment 138851

Now see if it works.


All times are GMT. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01182 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete