Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Extremely slow sending campaign emails :(

  1. #1
    supperman2k is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    13

    Unhappy Extremely slow sending campaign emails :(

    Hi,

    I am getting some weird behavior on my server when I am sending emails via a campaign.

    in 200 seconds it will only send 5 emails, and the server times out, in some templates.php.

    Also, when I check the server utilization, the CPU is at 99% for the entire time.

    I am sending the emails out via our SMTP server which is located on another server. I dont believe this is a problem because I tested with the localhost mail server and it to was slow.

    I am running Sugar 5.1.0a, and prior to this we were running 5.0 and there were no problems.

    Any help would be appreciated, thanks.

  2. #2
    supperman2k is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    13

    Default Re: Extremely slow sending campaign emails :(

    11111111
    Fatal error: Maximum execution time of 200 seconds exceeded in ./modules/EmailTemplates/EmailTemplate.php on line 300

    it only sent 5 emails in that time?

    do you think it might be a problem with the template that is being sent?

  3. #3
    shareaholic is offline Member
    Join Date
    May 2008
    Posts
    7

    Default Re: Extremely slow sending campaign emails :(

    I am experiencing similar issues
    Have figured out that the problem is with specific email template:
    # 11/28/08 12:02:42 [2136][1][FATAL] Error retrieving template for the email campaign. template_id = 5dcaa82a-63ea-ae76-b1de-48171e4031f9
    # 11/28/08 12:02:42 [2136][1][FATAL] Error verifying templates for the campaign, exiting
    Unfortunately I have no clue what to fix in that template to make it work appropriately. With "as is" template Sugar sends campaign at ~ 1 email/min rate

  4. #4
    InfoJPG is offline Junior Member
    Join Date
    May 2009
    Posts
    1

    Default Re: Extremely slow sending campaign emails :(

    I have this problem over three month. Today, I have found the solution.
    I have delete all entry (with PHPMyAdmin) in table: email_templates, email_marketing, campaigns_audit, campaign_log, campaigns.
    You lost all campaigns, but now, all new campaigns send emails very fast.

    Sorry for my english.
    I'm a french canadian

  5. #5
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Extremely slow sending campaign emails :(

    If someone gets this again, or still has it, please set your log level to 'info' (in Admin->System Settings) and post your sugarcrmlog file after a campaign send. I am interested in the query times during the send.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  6. #6
    mrbarletta is offline Junior Member
    Join Date
    Jun 2009
    Posts
    6

    Smile Re: Extremely slow sending campaign emails :(

    Hi Kenneth,

    I am having the very same situation here... sugarcrm log is attached. CPU goes over 90% when campaign is running.

    Let me know if there is something I can do about it and thanks!

    CRM Version 5.2.0 (Build 5380)
    Attached Files Attached Files

  7. #7
    fdevink is offline Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Unhappy Re: Extremely slow sending campaign emails :(

    Hello everyone,

    We are trying now for one week to send our campaign. We have about 3000 mails to send. We have made tests with a sample of 8 mails, to check if everything is going smoothly. However, it takes 12 min to send 8 mails (mail of 30ko), 1min30/mail. The tests are made by planifing the campaign.

    It seems that the problem comes not from the SMTP server, as the server process (APACHE on a WINDOWS 2003 SBS server) is running about 1 min for every mail it is sending.

    We have done nearly the same campaign 2 months ago, without any problem. The only thing that has changed is the version of Sugar used. We are no using the version 5.2.0k (from the version 5.2.0a).

    Has someone any idea to resolve this problem?

    Thank you in advance.

    P.S: Dear Kbrill, to answer to your post, please find enclosed the log file, hope it gives a reason why it is so slow. What seems to be strange is that the requests are executing very quick, but every time in the log, between the last sentence of a mail and the first sentence of the next mail, nothing happens during 30 seconds.
    Attached Files Attached Files
    Last edited by fdevink; 2010-01-11 at 12:27 PM. Reason: additionnal information

  8. #8
    jossanvi is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    12

    Arrow Re: Extremely slow sending campaign emails :(

    We had de very same issue!..

    We just deleted all targets and all campaigns + all email templates and voila ! its working blazing speed now.

    I suggest you do first delete email templates, then targets and finally campaigns ... we did this first via the web and then directly in the database to make sure nothing was wrong as in fact its something with an email template and a target list.

    Hopes that helps.

    cheers

  9. #9
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Thumbs down Re: Extremely slow sending campaign emails :(

    Quote Originally Posted by jossanvi View Post
    We had de very same issue!..

    We just deleted all targets and all campaigns + all email templates and voila ! its working blazing speed now.

    I suggest you do first delete email templates, then targets and finally campaigns ... we did this first via the web and then directly in the database to make sure nothing was wrong as in fact its something with an email template and a target list.

    Hopes that helps.

    cheers
    This is a shitty solution. Loosing all the marketing data makes SugarCRM at worthless as a dead rat.



    We are using SugarCRM 5.5.0 CE and we are having this problem. In 8 hours it's manage to trickle out 232 emails out of 16000. No, it's not my service provider. They permit 400 emails an hour. We are only doing 100!

    Why hasn't this been fixed?

    It amazes me that SugarCRM wants me to pay for their product when it DOES NOT WORK as advertised.

  10. #10
    Imaginemm is offline Member
    Join Date
    Sep 2008
    Posts
    7

    Default Re: Extremely slow sending campaign emails :(

    Quote Originally Posted by supperman2k View Post
    Hi,

    I am getting some weird behavior on my server when I am sending emails via a campaign.

    in 200 seconds it will only send 5 emails, and the server times out, in some templates.php.

    Also, when I check the server utilization, the CPU is at 99% for the entire time.

    I am sending the emails out via our SMTP server which is located on another server. I dont believe this is a problem because I tested with the localhost mail server and it to was slow.

    I am running Sugar 5.1.0a, and prior to this we were running 5.0 and there were no problems.

    Any help would be appreciated, thanks.
    Just a thought, have you tried tweaking your php.ini file to increase script execution time and have you got all the required php extensions that sugar needs to run properly?

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Replies: 6
    Last Post: 2008-10-09, 09:13 PM
  3. Working with campaings
    By lopes80andre in forum Marketing/Campaign Management
    Replies: 2
    Last Post: 2008-05-16, 07:43 AM
  4. SugarSuite 4.0 - New Campaign management
    By manoj in forum Feature Requests
    Replies: 2
    Last Post: 2007-11-23, 10:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •