Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumPosting very slow (Hangs) when emailing is turned on?Posting very slow (Hangs) when emailing is turned on?
Previous
 
Next
New Post
3/2/2012 8:37 AM
 

I've been running DNN for many many moons.  It seems that only over the last year as our forums have grown (number of posts)  and we've upgraded DNN into version 5.x.x that posting has gotten so slow or hangs only when email is on.

If I turn emailing off, or if I remove the SMTP server from Host settings it speeds up.  So it obviously has something to do with the sending of mails when posting.

Has anyone else had these issues and is there a solution to this?  It really is causing huge issues with our site(s).


Best Regards, Dave VanderWekke
 
New Post
3/3/2012 12:44 AM
 

Dave

This delay usually happens when SMTP settings are wrong and application can't connect to the mail server. This is why delay happens. Can you go to the Host/Host Settings and to click "Test" at the "SMTP Server Settings"?

Sergey

 
New Post
3/3/2012 1:00 AM
 

Anytime a site is active and has a lot of posts happening (especially if people subscribe to forums/threads very often), it is a good idea to use the Email Queue that is available in the module (that is what we do here). This is installed along w/ the module but must have a Scheduled task enabled by a Super User in order for it to be enabled in the module. When the queue is on, not only is the sending of the email moved to a scheduled task that runs in a separate thread but it also populates a send to list from this task as well. This offloading of the email population and send makes the posting process much faster. 


Chris Paterra



Get direct answers to your questions in the Community Exchange.
 
New Post
3/3/2012 8:08 AM
 
Sergey Velichko wrote:

Dave

This delay usually happens when SMTP settings are wrong and application can't connect to the mail server. This is why delay happens. Can you go to the Host/Host Settings and to click "Test" at the "SMTP Server Settings"?

Sergey

Settings are definitely correct because all 200 members are getting their emails.


Best Regards, Dave VanderWekke
 
New Post
3/3/2012 8:11 AM
 
Chris Paterra wrote:

Anytime a site is active and has a lot of posts happening (especially if people subscribe to forums/threads very often), it is a good idea to use the Email Queue that is available in the module (that is what we do here). This is installed along w/ the module but must have a Scheduled task enabled by a Super User in order for it to be enabled in the module. When the queue is on, not only is the sending of the email moved to a scheduled task that runs in a separate thread but it also populates a send to list from this task as well. This offloading of the email population and send makes the posting process much faster. 

I did think this was the case and had turned on the scheduler for this a while back and what I found when this was turned on was the site would actually freeze (non responsive) or would kill the worker process at some point.  Are there specific scheduler settings that would work best?


Best Regards, Dave VanderWekke
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumPosting very slow (Hangs) when emailing is turned on?Posting very slow (Hangs) when emailing is turned on?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Copyright 2014 by DNN Corp | Terms of Use | Privacy | Design by Parker Moore Design