Christophe1
Verified User
When trying to open a non-existing folder in php, the apache process uses about 90% of the cpu and the longer the process runs, the more memory it uses.
Such a process keeps running until closed manually or the server crashes. Memory limitations and timeouts that are set in php, doesn't seem to do anything.
It's a standard DA server with Apache 2.2.27, php 5.3.28 and suPHP 0.7.1.
Before updating to these versions of Apache and PHP, the same scripts were being ended after a while so the extra load was only temporarily and the server didn't crash.
Any suggestions? A known bug?
PS: I know it's a bad php script, but the point is that such bad scripts from customers can crash a server...
Such a process keeps running until closed manually or the server crashes. Memory limitations and timeouts that are set in php, doesn't seem to do anything.
It's a standard DA server with Apache 2.2.27, php 5.3.28 and suPHP 0.7.1.
Before updating to these versions of Apache and PHP, the same scripts were being ended after a while so the extra load was only temporarily and the server didn't crash.
Any suggestions? A known bug?
PS: I know it's a bad php script, but the point is that such bad scripts from customers can crash a server...