CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Recommended mailer settings
Pages: [1] 2

Author Topic: Recommended mailer settings  (Read 1998 times)

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Recommended mailer settings
February 08, 2013, 04:35:11 pm
CiviCRM 4.1.5
Drupal 7.14

We are having problems with getting the cron job to start scheduled jobs. There is another issue open in the main CiviMail forum about this. When I set up the Mailer Settings, I used the values Shane suggested when there is a cron job running every minute. Now, because we have to process the mailings manually, should I change these settings? See attached.

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Recommended mailer settings
February 08, 2013, 04:45:03 pm

neither the cron command or the wget method are working?
did you check your logs for errors?
are you using the mailing/queue URL to execute mailings manually?

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 08, 2013, 05:01:54 pm
I have tried curl, wget and cli from the cron job. No luck. The mailing/queue URL works from the browser but haven't been able to get it to work with wget.

I don't have access to the cron log (yet)

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 08, 2013, 05:02:42 pm
It is taking a very long time for these jobs to run too. I'm hoping tweaking some of the setting might help

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 08, 2013, 05:12:17 pm
I do have access to the scheduler logs, which I have attached in my original post in the main thread.

I can see that the cron job is running but that the state never changes from scheduled to running. It will only change to running when I kick it off manually

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Recommended mailer settings
February 08, 2013, 08:45:48 pm
I am not able to reproduce any of the behavior you are describing in uur reference installation.

manual execution, cron and cli all work fine.

 have you tried reproducing this in your test environment?

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 09, 2013, 03:51:01 am
I have another AWS instance to work with now. I can also test with my plain vanilla installation on our Ubuntu 10.04 server running Apache but I suspect it could be something going on with the AWS environment.

In the meantime, a mailing I kicked off manually at 7:30 AM this morning is still running 11 hours later with the settings you recommended (attachment shows these).

With our current limitation, is there any way we can tweak our settings to get better throughput? When the jobs complete, the results are good. I haven't seen any 100% bounce situations like we had with version 1.9.  ;D

Do your logs show anything unusual?

Could you also provide a sample cron setup with either curl or wget? I'll compare to mine to see if there is something obviously wrong.

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Recommended mailer settings
February 09, 2013, 05:17:51 am
all of our systems are functioning normally.

if you are executing the mailing manually,  then 5 crons will not be running,  only one will be running.

please test on your AWS instance using cron and let us know if it works.

here are wget instructions:

http://wiki.civicrm.org/confluence/display/CRMDOC41/CiviMail+Installation#CiviMailInstallation-Usingwget

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Recommended mailer settings
February 09, 2013, 07:06:02 am
"if you are executing the mailing manually,  then 5 crons will not be running,  only one will be running."

I should clarify:

if you are executing the mailing manually,  then 5 processes will not be running,  only one process will be running.

sry for any confusion

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 09, 2013, 06:24:01 pm
Yes. I understand that but, until we can get this figured out, are there any settings I can make that will increase throughput with one process running?

What we are noticing is that if we manually kick off the mailing processor, any mailings in "scheduled " status that are down in the queue take forever to run but they eventually complete. The ones more recently in the queue get processed quickly.

I have not changed the setting so that there is no multi-threading. What would the consequences of this be?

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Recommended mailer settings
February 09, 2013, 11:07:00 pm
Hi Dennis,

the only way to increase throughput is to get your systems setup to execute more than one process simultaneously.

Have you been able to reproduce these problems in your test environment?

-Shane

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 09, 2013, 11:45:20 pm
I will start on this tomorrow

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: Recommended mailer settings
February 12, 2013, 01:39:35 pm
I see a high volume of mail going through the system right now.  :)

does this mean that this was fixed?

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 12, 2013, 06:42:30 pm
No. We are still kicking off the processor manually. Nothing has changed and I have been delayed in getting another environment set up to try to replicate.

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Recommended mailer settings
February 13, 2013, 04:53:27 am
We have a resource to work on this now. Will post results.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using CiviSMTP (Moderator: shane) »
  • Recommended mailer settings

This forum was archived on 2017-11-26.