If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Send it to me direct. i@cloudlinux.com
yeBTW:
when they crashed it -- was it apache process that became really big/ate up all the RAM? If yes, are you using mod_security with output filtering?
Hey Igor, yes it was the Apache process that ate all the ram and swap. I am using Atomics (paid) rulesets for cpanel which i *think* do include output filtering
The issue is related to a bug in mod_security output filter. The way it works -- it collects all the output (from script), and then checks it against a number of regexps to see if output doesnt leak any sensitive info, like credit card numbers.
It is all good, until you try to output infinite amount of info (as in case of infinite loop that outputs something on each iteration). To store all that output, you would need infinite amount of RAM, and that is why your httpd processes balloon in size.
We had somewhere a script that kills big httpd processes, but this is still bad for performance (as big httpd process evicts caches). Right solution would be to disable (or fix) mod_security output filters.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment