Re: [PHP] [X-POST] PHP script to make sure MySQL is up?

2007-03-01 Thread Richard Lynch
On Thu, March 1, 2007 1:37 pm, Brian Dunning wrote: > I host at Rackspace, and one thing that their monitoring service does > NOT catch is a problem when too many connections hit MySQL, and for > some reason it remains hung up until the service is manually > restarted. In the meantime, this is happ

Re: [X-POST] PHP script to make sure MySQL is up?

2007-03-01 Thread Kévin Labécot
Le 1 mars 07 à 20:46, Chris McKeever a écrit : On 3/1/07, Brian Dunning <[EMAIL PROTECTED]> wrote: Is there such a thing as a PHP script that I can put on a cron job to run every minute and make a test query, and upon failure, restart the service and maybe send an email to Rackspace support?

[X-POST] PHP script to make sure MySQL is up?

2007-03-01 Thread Chris McKeever
On 3/1/07, Brian Dunning <[EMAIL PROTECTED]> wrote: Is there such a thing as a PHP script that I can put on a cron job to run every minute and make a test query, and upon failure, restart the service and maybe send an email to Rackspace support? I don't know how you'd check that the query was re

[X-POST] PHP script to make sure MySQL is up?

2007-03-01 Thread Brian Dunning
I host at Rackspace, and one thing that their monitoring service does NOT catch is a problem when too many connections hit MySQL, and for some reason it remains hung up until the service is manually restarted. In the meantime, this is happening to us once or twice a month. It gets hammered