Hello,

some time ago, I switched from mod_fastcgi to mod_fcgid and wondered
why the IdleTimeout config option didn't seem to do anything.  I set it
to something like 15 seconds, but the PHP process spawned by mod_fcgid
before wouldn't exit.

Yesterday, having read through fcgid_pm_main.c and is_kill_allowed()
in fcgid_spawn_ctl.c, I noticed that I hadn't set
DefaultMinClassProcessCount, and that this was why my PHP processes
wouldn't exit (in my testing I wasn't likely to cause more than three
processes to spawn).

Maybe you want a note to the documentation that IdleTimeout and
ProcessLifeTime only have any effect if DefaultMinClassProcessCount
allows them to do so.

Regards,
Milan Holzäpfel

--

Attachment: pgpVlOfL2G1II.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to