You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Philippe MARASSE <ph...@educ.cg86.fr> on 2005/03/10 22:26:56 UTC

[users@httpd] perchild mpm issue

    Folks,

    I'm testing the perchild mpm but I ran into some troubles like this 
one (from error_log) :

[Tue Mar 08 22:01:38 2005] [alert] getpwuid: couldn't determine user 
name from uid 500, you probably need to modify the User directive
[Tue Mar 08 22:01:39 2005] [alert] Child 9856 returned a Fatal 
error...\nApache is exiting!

    Of course, my user is recognized by my system :-)

[root@tabr philippe]# id philippe
uid=500(philippe) gid=500(philippe) 
groupes=500(philippe),100(users),503(admin),504(webdev)

My section about perchild mpm in httpd.conf is like :

<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  10000

AcceptMutex fcntl
ChildPerUserID philippe webdev 2
</IfModule>

...

<VirtualHost *:80>
    ServerAdmin philippe@tabr.dune.org
    DocumentRoot /var/www/webdev
    ServerName webdev.dune

    AssignUserID philippe webdev
</VirtualHost>

My running system is a Fedora Core 2 with httpd 2.0.53, php 5.0.3 & 
mod_auth_kerb 5.0-rc6, all compiled by myself from vanilla sources. 
Apache was compiled with these options :

./configure --datadir=/var/www --sysconfdir=/etc/httpd2 \
            --enable-so --enable-ssl=shared --enable-mods-shared=all \
            --with-mpm=perchild

BTW, I'm using openLDAP to manage the users on my server. The error 
occurs when I try to access my http://webdev.dune virtualhost, apache 
does not answer and stops immediately.

Any idea out here ?

Rgds.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] perchild mpm issue

Posted by Philippe MARASSE <ph...@educ.cg86.fr>.
Joshua Slive a écrit :

>On Thu, 10 Mar 2005 22:26:56 +0100, Philippe MARASSE
><ph...@educ.cg86.fr> wrote:
>  
>
>>    I'm testing the perchild mpm but ...
>>    
>>
>
>Why?
>  
>
because I'm an adventurer :-).

>Did you read the big warning at the top of the documentation?
>http://httpd.apache.org/docs-2.0/mod/perchild.html
>  
>
Yes, and this mpm may not go better if no one wants to test it, isn't it ?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] perchild mpm issue

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 10 Mar 2005 22:26:56 +0100, Philippe MARASSE
<ph...@educ.cg86.fr> wrote:
>     I'm testing the perchild mpm but ...

Why?

Did you read the big warning at the top of the documentation?
http://httpd.apache.org/docs-2.0/mod/perchild.html

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org