Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2012, 02:16 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 05-31-2012, 06:38 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 05-31-2012, 07:24 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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.
Reply With Quote
  #4  
Old 05-31-2012, 07:25 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
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.
Reply With Quote
  #5  
Old 06-01-2012, 12:11 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-01-2012, 12:30 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sworm View Post
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"?
Reply With Quote
  #7  
Old 06-01-2012, 03:02 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 06-01-2012, 03:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-01-2012, 03:30 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi lynne, i don't have the task "process e-mail queue" or i can not found it. here a screen:



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.
Reply With Quote
  #10  
Old 06-01-2012, 03:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
amin
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06476 seconds
  • Memory Usage 2,278KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete