Re: sub-processes

Michael Grant <mgrant-q2t/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On Wed, Apr 22, 2009 at 12:25 PM, Olivier Le Cam
<[email protected]> wrote:
> Michael Grant wrote:
>
>> PHP_FCGI_CHILDREN certainly needs to be greater than 0, but is there
>> some way I can keep it from multiplying like this?
>
> See this great collection of informations:
> http://www.seaoffire.net/fcgi-faq.html
>
> Pay particular attention to this section: "A : The PHP Wrapper and What it
> Does".
>
> HTH

Yes, I've seen this excellent page.  I have followed it pretty closely
with only a few exceptions.  For instance, I am using security2_module
to do the chroot, not chrootssh and I'm using suexec to change users,
hence I have this:

    FastCgiWrapper /usr/local/sbin/suexec

I do not see the same behavior reported on this web page.  For example
under "E : Troubleshooting the PHP Wrapper", I do not see an fcgi-pm
process, I only see my wrapper php.fcgi process.  I don't even have
fcgi-pm on my system.  Their processes seem normal and reasonable, I
don't see that on my box.

As soon as I set PHP_FCGI_CHILDREN>0, the number of processes I get seems to be
MaxSpareServers x PHP_FCGI_CHILDREN+1.  This seems wrong.

Michael Grant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.