10 May 2010 13:32
[error] mysql_query returned (1)
Greetings, I have several errors from the module mod_log_sql. And sometimes, i have a big error which fridge all the requests on Apache. With "LogLevel warn" : [13:22:58] root <at> ****:~$ tail -f /var/log/httpd/error.log [Mon May 10 13:23:06 2010] [error] mysql_query returned (1) [Mon May 10 13:23:06 2010] [notice] db reconnect successful [Mon May 10 13:23:07 2010] [error] mysql_query returned (1) [Mon May 10 13:23:07 2010] [notice] db reconnect successful [Mon May 10 13:23:07 2010] [error] mysql_query returned (1) [Mon May 10 13:23:07 2010] [notice] db reconnect successful [Mon May 10 13:23:07 2010] [error] mysql_query returned (1) [Mon May 10 13:23:07 2010] [notice] db reconnect successful ........ (etc) and sometimes : Mon May 10 12:12:47 2010] [error] mod_log_sql_mysql: database connection error: mysql error: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 Mon May 10 12:12:47 2010] [error] reconnect failed, unable to reach database. SQL logging stopped until child regains a db connection. Mon May 10 12:12:47 2010] [error] log entries are being preserved in /usr/local/httpd/logs/mod_log_sql-preserve And with "LogLevel debug" : [Mon May 10 13:18:17 2010] [debug] mod_log_sql.c(1045): mod_log_sql:(Continue reading)
RSS Feed