FastCgiServer configured but dynamic server started by request

Justo Alonso <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi!
    I'm trying to configure sympa with fastcgi in apache2. I read the
installation manual, and the archives of sympa list and fastcgi
maillist.

   I configure it to start 3 static process to serve the request, but
when a request arrive, the server start a new dynamic process (with
uid = 0 !!). Why??

  I intall mod_fastcgi from rpm, but I compile it too (last version
and snap version) with same result.

  My apache2 configuration is:

<IfModule mod_fastcgi.c>

        FastCgiIpcDir /var/lib/apache2/fastcgi
        FastCgiWrapper /usr/sbin/suexec2
        FastCgiServer "/srv/www/htdocs/sympa/wwsympa.fcgi" -processes
3 -user sympa -group sympa

        <Location "/wws">
                AllowOverride None
                Options +ExecCGI -Includes
                SetHandler fastcgi-script
                Order allow,deny
                Allow from all
        </Location>

        ScriptAlias /wws /srv/www/htdocs/sympa/wwsympa.fcgi
</IfModule>

The apache Log (with LogLevel = debug):

[Mon Jan 03 16:48:03 2005] [info] Init: Initializing OpenSSL library
[Mon Jan 03 16:48:03 2005] [info] Init: Seeding PRNG with 0 bytes of entropy
[Mon Jan 03 16:48:03 2005] [info] Init: Generating temporary RSA
private keys (512/1024 bits)
[Mon Jan 03 16:48:04 2005] [info] Init: Generating temporary DH
parameters (512/1024 bits)
[Mon Jan 03 16:48:04 2005] [warn] Init: Session Cache is not
configured [hint: SSLSessionCache]
[Mon Jan 03 16:48:04 2005] [info] Init: Initializing (virtual) servers for SSL
[Mon Jan 03 16:48:04 2005] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Library: OpenSSL/0.9.7d
[Mon Jan 03 16:48:04 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec2)
[Mon Jan 03 16:48:04 2005] [info] Init: Initializing OpenSSL library
[Mon Jan 03 16:48:04 2005] [info] Init: Seeding PRNG with 0 bytes of entropy
[Mon Jan 03 16:48:04 2005] [info] Init: Generating temporary RSA
private keys (512/1024 bits)
[Mon Jan 03 16:48:04 2005] [info] Init: Generating temporary DH
parameters (512/1024 bits)
[Mon Jan 03 16:48:04 2005] [info] Init: Initializing (virtual) servers for SSL
[Mon Jan 03 16:48:04 2005] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, Library: OpenSSL/0.9.7d
[Mon Jan 03 16:48:04 2005] [notice] FastCGI: wrapper mechanism enabled
(wrapper: /usr/sbin/suexec2)
[Mon Jan 03 16:48:04 2005] [notice] FastCGI: process manager
initialized (pid 19936)
[Mon Jan 03 16:48:04 2005] [warn] FastCGI: server
"/srv/www/htdocs/sympa/wwsympa.fcgi" (uid 110, gid 110) started (pid
19937)
[Mon Jan 03 16:48:04 2005] [notice] Apache/2.0.49 (Linux/SuSE)
configured -- resuming normal operations
[Mon Jan 03 16:48:04 2005] [info] Server built: Nov 10 2004 00:04:38
[Mon Jan 03 16:48:04 2005] [debug] prefork.c(955): AcceptMutex:
sysvsem (default: sysvsem)
[Mon Jan 03 16:48:05 2005] [warn] FastCGI: server
"/srv/www/htdocs/sympa/wwsympa.fcgi" (uid 110, gid 110) started (pid
19943)
[Mon Jan 03 16:48:06 2005] [warn] FastCGI: server
"/srv/www/htdocs/sympa/wwsympa.fcgi" (uid 110, gid 110) started (pid
19944)
[Mon Jan 03 16:48:44 2005] [warn] FastCGI: (dynamic) server
"/srv/www/htdocs/sympa/wwsympa.fcgi" (uid 0, gid 0) started (pid
19948)

The process launched by apache:

sympa    19937 19936  0 16:50 ?        00:00:01 /usr/bin/perl -U wwsympa.fcgi
sympa    19943 19936  0 16:50 ?        00:00:01 /usr/bin/perl -U wwsympa.fcgi
sympa    19944 19936  0 16:50 ?        00:00:01 /usr/bin/perl -U wwsympa.fcgi
wwwrun   19948 19936  0 16:50 ?        00:00:02 /usr/bin/perl -U
/srv/www/htdocs/sympa/wwsympa.fcgi

why the 3 first process (launched by the FastCgiServer directive) not
is the same than the last process (launched dynamic) ....

May be the process manager check by name and the static is
"wwsympa.fcgi" and the other is "/srv/www/htdocs/sympa/wwsympa.fcgi"
??

Please help me!! ...

thankx in advance and sorry for my english.

justo

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
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.