Page 1 of 1

Email stays at "Not finished sending" (Even when finished)

PostPosted: Wed Aug 26, 2015 10:05 am
by Osensnolf
All of my emails show "Not finished sending" on the Statistics page. The emails are complete though. This happens if I send a test email to myself or to a list of 50k.

What would cause this to happen?

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Wed Aug 26, 2015 7:30 pm
by Osensnolf
Was able to fix the issue be clearing the stats_newsletter table in SQL.

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Fri Aug 28, 2015 8:55 am
by mmm
Osensnolf wrote:Was able to fix the issue be clearing the stats_newsletter table in SQL.


Thanks again!
:)

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Mon Aug 31, 2015 3:18 pm
by MaBoRaK
Osensnolf wrote:All of my emails show "Not finished sending" on the Statistics page. The emails are complete though. This happens if I send a test email to myself or to a list of 50k.

What would cause this to happen?


this error is related to "MySQL server has gone away" , that means Your Mysql server crashed or the query connection was killed before to register the Campaign as completed. Is the same history to the "Sent more emails than total".

The possible reason to have mysql killed connection is ( probably you have this values in: /etc/my.cnf ):

wait_timeout
innodb_lock_wait_timeout

The default values are: 300 ( seconds )

That means, if there is a transaction more than 300 seconds, the connection is killed and Interspire receive an error and progress is not updated in the system. So, next time Interspire needs to continue the sending from last saved point. Or if there is no save-point, the campaign will stuck as NOT FINISHED.

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Mon Aug 31, 2015 5:14 pm
by Osensnolf
That is great to know. Should I change the value from 300 to something else?

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Wed Sep 02, 2015 2:49 am
by MaBoRaK
Osensnolf wrote:That is great to know. Should I change the value from 300 to something else?



Yes, increase to 900 or 1200, more than this value will cause to have ZOMBIE connections using your MAX_CONNECTIONS.

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Wed Sep 02, 2015 10:56 am
by Osensnolf
Thank you very much. :-)

Re: Email stays at "Not finished sending" (Even when finishe

PostPosted: Thu Sep 03, 2015 5:31 am
by mmm
Should actually
innodb_log_file_size = ΒΌ x innodb_buffer_pool_size
and
max_heap_table_size = tmp_table_size
or what is best?
Any other tips re optimizing /etc/my.cnf?