There are a number of scripts that run via wget from cron and other just from standard browser access. One or more of those scripts is crashing the MySQL database server. So far we haven't been able to figure out which by just looking at process logs because they don't show what args were included when the script was called.
Is there a way to get a snapshot of the process/request list along with args used on all scripts at that time when a database server crash is detected using PHP?
Running PHP 5.2.17, Apache 2.2.24, MySQL 5.1.70.