Amavis and MySQL

Sandbox via amavis-users amavis-users at amavis.org
Thu Jan 23 08:25:34 CET 2014


Hi,


I found this notices in my mail.log:

Jan 19 06:25:21 mailsrv01 amavis[12282]: (12282-08) NOTICE: reconnecting in
response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server
has gone away at (eval 100) line 166, <GEN32> line 694.
Jan 20 06:25:04 mailsrv01 amavis[12287]: (12287-10) NOTICE: reconnecting in
response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server
has gone away at (eval 100) line 166, <GEN32> line 1084.
Jan 20 06:25:08 mailsrv01 amavis[12302]: (12302-09) NOTICE: reconnecting in
response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server
has gone away at (eval 100) line 166, <GEN32> line 1565.
Jan 20 06:25:13 mailsrv01 amavis[12300]: (12300-14) NOTICE: reconnecting in
response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server
has gone away at (eval 100) line 166, <GEN32> line 1748.

I already modifyed my amavis config (user-50.conf) and added the suggested
$max_servers = 1; and $max_requests = 1; lines.
( http://www.iredmail.org/forum/topic2536 … ailed.html )
Which didn't help.

Currently my /etc/mysql/my.cnf max_connections=300

At the moment this server isn't do much, but it will serv 2000-3000
mails/day, what is your suggestion for this amount of mails?


MySQL 5.5.34
Ubuntu 12.04.3 LTS



Thanks, Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20140123/ca3b86b5/attachment.html>


More information about the amavis-users mailing list