[CentOS] Web pages time out after server rebuild
centos at linuxpowered.net
Wed Jan 21 17:32:01 UTC 2009
Rob Kampen wrote:
> How do I get some extra log info to track this down?
Have you tried to run 'show full processlist' on mysql while
the query is running? It should show all active queries, what
they are doing and how long they have been running for.
Also enable slow query logging and logging when not using
indexes, add to /etc/my.cnf and restart mysql:
log-slow-queries = /var/lib/mysql_logs/slowqueries.log
long_query_time = 3
More information about the CentOS