https://bz.apache.org/bugzilla/show_bug.cgi?id=66217
--- Comment #12 from Eric Covener <[email protected]> --- (In reply to Aleksandr from comment #10) > Sorry. Let me explain the problem deeper. Documentation says: > > ``` > This applies to processes forked from Apache httpd children servicing > requests, not the Apache httpd children themselves. This includes CGI > scripts and SSI exec commands, but not any processes forked from the Apache > httpd parent, such as piped logs. > ``` > > So what happens, is that mod_php spawns a child process, ImageMagic's > 'identify' cli proccess, which eats all the memory + all the swap. Is it > applicable to that case exactly? I wouldn't think so. mod_cgi[d] is explicitly instrumented to read this stuff and run it between fork and exec of the script. I don't know much about PHP but i wouldn't expect it to reach back into the webserver for this kind of config. Maybe you could wrap the calls to identify to go through a script with ulimit? Or run the whole service under a lower ulimit. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
