Long process times when using FCGId

3 posts / 0 new
Last post
#1 Tue, 06/21/2011 - 11:47
velvetpixel

Long process times when using FCGId

When I use FCGId vs mod_php for a virtual host I get reports from LFD about long process times for that user.

Is this normal?

Resource: Process Time Exceeded: 55871 > 7200 (seconds) Executable: /usr/bin/php-cgi Command Line: /usr/bin/php-cgi PID: 6128 Killed: No

Wed, 06/22/2011 - 22:19
andreychek

Howdy,

Well, fcgid processes do continue running after the browser disconnects... that's how it caches the PHP code it previously executed.

Also, fcgid runs those processes as the Virtual Server owner, and not the Apache user... that's considered a security benefit over mod_php, which runs the code as the Apache user.

However, the tool you're using there may be mistaking the processes running as the virtual server owner as a problem of some kind.

If you don't want those processes hanging around, but you'd like to have the security benefit of running code as the virtual server owner -- you could always switch it over to CGI mode.

-Eric

Thu, 06/23/2011 - 01:22
velvetpixel

Thanks Eric! :)

That helps me and I will probably just update CSf to ignore in csf.pignore.

Topic locked