Contributors mailing list archives

contributors@odoo-community.org

how to improve the speed of massmailing?

by "robert@redo2oo.ch" <robert@redo2oo.ch> - 12/04/2017 08:04:44
Hi there,


I am in the process of sending some 60k of emails for an NGO campaign.

Now the mailing is very slow. somethin like 100 mails per h.


Is there a way to improve that rate?

Watching the log I see, that roughly every 2 seconds a mail is sendt. but then 
after every  10-15 mails the following buch of lines is issued.

So it is not only the output of the mail sending process that is low, but it is 
interrupted  when modules are reloaded.

it looks, as if the odoo instance is "partially" relaoded every 20 secs or so.


thanks for any pointers to fix this

robert


2017-04-12 07:43:55,153 200 INFO energiewende odoo.addons.mail.models.mail_mail: 
Mail with ID 30073 and Message-Id 
u'<1491982988.349194049835205.307964668504969-openerp-reply_to@d2112d6d89a8>' 
successfully sent
2017-04-12 07:43:55,163 200 INFO energiewende odoo.models.unlink: User #1 
deleted mail.mail records with IDs: [30073]
2017-04-12 07:43:55,172 200 INFO energiewende odoo.models.unlink: User #1 
deleted mail.message records with IDs: [30092]
2017-04-12 07:43:57,340 1 ERROR energiewende odoo.service.server: WorkerCron 
(200) timeout after 120s
2017-04-12 07:43:57,340 1 ERROR energiewende odoo.service.server: WorkerCron 
(201) timeout after 120s
2017-04-12 07:43:57,348 1 ERROR energiewende odoo.service.server: WorkerCron 
(201) timeout after 120s
2017-04-12 07:43:57,349 1 ERROR energiewende odoo.service.server: WorkerCron 
(201) timeout after 120s
2017-04-12 07:43:57,350 202 INFO energiewende odoo.service.server: Worker 
WorkerCron (202) alive
2017-04-12 07:43:57,351 1 ERROR energiewende odoo.service.server: WorkerCron 
(201) timeout after 120s
2017-04-12 07:43:57,396 203 INFO energiewende odoo.service.server: Worker 
WorkerCron (203) alive
2017-04-12 07:44:59,505 202 INFO energiewende odoo.modules.registry: Reloading 
the model registry after database signaling.
2017-04-12 07:44:59,520 202 INFO energiewende odoo.modules.loading: loading 1 
modules...
2017-04-12 07:44:59,538 202 INFO energiewende odoo.modules.loading: 1 modules 
loaded in 0.02s, 0 queries
2017-04-12 07:44:59,552 202 INFO energiewende odoo.modules.loading: loading 29 
modules...
2017-04-12 07:44:59,574 202 INFO energiewende odoo.modules.loading: 29 modules 
loaded in 0.02s, 0 queries
2017-04-12 07:44:59,622 202 INFO energiewende odoo.modules.loading: Modules loaded.
2017-04-12 07:45:00,528 203 INFO energiewende odoo.modules.registry: Reloading 
the model registry after database signaling.
2017-04-12 07:45:00,535 203 INFO energiewende odoo.modules.loading: loading 1 
modules...
2017-04-12 07:45:00,549 203 INFO energiewende odoo.modules.loading: 1 modules 
loaded in 0.01s, 0 queries
2017-04-12 07:45:00,563 203 INFO energiewende odoo.modules.loading: loading 29 
modules...
2017-04-12 07:45:00,584 203 INFO energiewende odoo.modules.loading: 29 modules 
loaded in 0.02s, 0 queries
2017-04-12 07:45:00,629 203 INFO energiewende odoo.modules.loading: Modules loaded.
2017-04-12 07:45:20,963 202 INFO energiewende odoo.addons.mail.models.mail_mail: 
Mail with ID 30556 and Message-Id 
u'<1491983109.859316110610962.899970318548296-openerp-reply_to@d2112d6d89a8>' 
successfully sent
2017-04-12 07:45:20,985 202 INFO energiewende odoo.models.unlink: User #1 
deleted mail.mail records with IDs: [30556]
2017-04-12 07:45:20,994 202 INFO energiewende odoo.models.unlink: User #1 
deleted mail.message records with IDs: [30575]
2017-04-12 07:45:23,236 202 INFO energiewende odoo.addons.mail.models.mail_mail: 
Mail with ID 30557 and Message-Id 
u'<1491983109.881402969360352.121855355373992-openerp-reply_to@d2112d6d89a8>' 
successfully sent
2017-04-12 07:45:23,246 202 INFO energiewende odoo.models.unlink: User #1 
deleted mail.mail records with IDs: [30557]
2017-04-12 07:45:23,252 202 INFO energiewende odoo.models.unlink: User #1 
deleted mail.message records with IDs: [30576]
2017-04-12 07:45:25,485 202 INFO energiewende odoo.addons.mail.models.mail_mail: 
Mail with ID 30558 and Message-Id 
u'<1491983109.895025968551636.838549060094171-openerp-reply_to@d2112d6d89a8>' 
successfully sent