View Single Post
Old 10th February 2012, 03:42
holykim holykim is offline
Join Date: Jan 2009
Posts: 56
Thanks: 17
Thanked 5 Times in 4 Posts
Default Infinite loop caused by a crappy code in PHP


Due to crappy code by one of my users, PHP entered an infinite loop generating an error, causing very high load on the server and gigantic log files.

Unfortunately the fail2ban gets taking 100% CPU too with the log files which increasing more and more.

I did set ignore_repeated_errors to On, as well as ignore_repeated_source in php.ini. I checked that the settings is effective in phpinfo() but it doesn't help.

Is there anyone can help me to be able to keep the server resources from this kind of crappy code?

I am running ISPConfig 3 on CentOS

Reply With Quote
Sponsored Links