Hello all,
This is not strictly a DBMail question, but it is close. Lately I
noticed that any time the SQL server needs to be restarted for some
reason, DBMail starts having problems with inserting messages. Since the
error message was changed to 450 from 503, this is not a big issue, as
mail is not lost. Nevertheless I want to know if someone else had such
problems and what steps if any were taken to solve them.
The situation is as follows. Under Debian the mysql init script runs the
following upon the start of the daemon:
/usr/bin/mysqlcheck --defaults-file=/etc/mysql/debian.cnf
--all-databases --fast --silent
This process is pretty resource intensive and causes the following to
happen in DBMail from time to time:
Jul 20 09:29:23 Arzamas dbmail-lmtpd[2954]: Error:[sql]
dbmysql.c,db_query(+293): [Lock wait timeout exceeded; try restarting
transaction] [INSERT INTO dbmail_messageblks (is_header,
messageblk,blocksize, physmessage_id) VALUES (_omitted_)]
My question is - should I try to fix this at all? Is the mysqlcheck
process useful at all or should I disable it on startup? Or can I tune
some timeouts within dbmail?
Any input would be appreciated.
Thanks
Peter
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail