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 (Moderator: Piotr Szotkowski) »
  • Need help to configure multi-threading
Pages: [1]

Author Topic: Need help to configure multi-threading  (Read 503 times)

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Need help to configure multi-threading
May 08, 2014, 09:16:15 am
I have the following setup:

+ a mailing list of around 80000 contacts
+ mail server setup seems to be able to handle 200 emails per minute (tested with s single job / queue)
+ cron job fires every 15 mins

How should I configure the mailer parameters to best handle this case?

Mailer Batch Limit = ?
Mailer Throttle Time = ?
Mailer Job Size = ?


--
Nick (aka nant from CB Team)

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Re: Need help to configure multi-threading
May 09, 2014, 07:12:07 am
Follow-up info on some testing I have done.

I have configured as follows:

Mailer Batch Limit = 5000
Mailer Throttle Time = 200000
Mailer Job Size = 10000

and sent a mailing to 28242

When the mailer reported that mailing was done it also reported that:

Successful Deliveries   31499 (111.53%)

So I am really confused on why this happened and what the parameters actually mean.

It would be easier to just have a parameter that simply states how many parallel threads should be opened and how many mailings each thread should handle.
--
Nick (aka nant from CB Team)

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Re: Need help to configure multi-threading
May 10, 2014, 02:07:43 am
More input more confusion ...

ok I am trying to determine exactly what these parameters mean because I am confused.

Is there anything special that needs to be done to enable multi-threading?

The Mailer Job Size parameter appears to be related (from its description).

I assume that if I set this value to something other than zero I will enable multi-threading?

But it looks like Civicrm does a comparison between the value that is entered in this field (Mailer Job Size) and the value of the Mailer Batch Limit parameter and it does not allow me to same the set if the Mailer Batch Limit value is greater than the value entered in the Mailer Job Size field.

It states: A job size smaller than the batch limit will negate the effect of the batch limit.

So I am confused!

How exactly are these two parameters defined and what is a valid combination in order to enable multi-threading?


--
Nick (aka nant from CB Team)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Need help to configure multi-threading

This forum was archived on 2017-11-26.