Re: Which PHP-script crashes my server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi, you should check your php script for infinite loops, this is a
common problem in this cases.

Patrik Jansson wrote:
> Hi,
> You could enable server-status in Apache configuration then you should
> be able to wget server status
> each minute (30 seconds?) by a cron-job. When the server is going down,
> check that particular file. You
> might want the cron-job to store each result in a new file so the cron
> job doesn't overwrite the file when the
> server is up again. Just an idea...
> 
> -Patrik
> 
> Philipp Schwarz skrev:
>> Hi guys,
>>
>> I have a problem with my webserver. It is a server for me and some web
>> projekts of my friends. And there is one PHP script which kills the
>> whole server, but I do not know which one it is. When the server is
>> going down one apache process uses 99% CPU and memory. In this case I
>> can only reboot the server.
>>
>> I would look up the file in the apache logs, but the script is started
>> some minutes before the server goes down and there are some hundred
>> requests per minute.
>>
>> Can anyone help me?
>>
>> Thank you!
>>
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFh//4GPhC6XW20oARAibSAJ9bNH+g8Uwi63gR0TQRNbiGFLo+hgCaAtrF
rJtxVY9pZliO2zPY18WlJJ8=
=mHxG
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux