Apache children having children??

Apache children having children??

Post by Ken Willia » Tue, 07 Oct 1997 04:00:00



Hi-

I'm running apache 1.2.0 and it's having some strange behavior.  Look at
these process ID numbers and parent process ID numbers:

[forum]:/usr/local/src/apache_1.2.0# ps -ef |grep apache
http 10911 12967  0.0 15:32:59 ??  0:00.04 src/httpd -f
                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
root 12967     1  0.0 15:32:59 ??  0:00.05 src/httpd -f
                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
http 13095 12967  0.0 15:33:48 ??  0:00.00 src/httpd -f
                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
root 21676 12967  0.0 15:32:59 ??  0:00.00 src/httpd -f
                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
http 29541 21676  0.0 15:32:59 ??  0:00.10 src/httpd -f
                                    /usr/local/src/apache_1.2.0/conf/httpd.conf

The way our server used to work (under 1.2b7), there was one parent server
which ran as root, and the rest of the servers were its direct children
and ran as http.  Now the parent-child structure seems to be more
complicated.

Additionally, when I kill the main server some of the children seem to
stick around now.  This is not so good!

Anyone else seeing this behavior?  Is it fixed in a later version?

-Ken Williams
 The Math Forum

 
 
 

Apache children having children??

Post by Marc Slemk » Tue, 07 Oct 1997 04:00:00


Are you using any external modules like mod_fastcgi or anything
that doesn't come with the base distribution?

The behavior below does not look like it should, however I do not believe the base Apache code is doing it.


>Hi-
>I'm running apache 1.2.0 and it's having some strange behavior.  Look at
>these process ID numbers and parent process ID numbers:
>[forum]:/usr/local/src/apache_1.2.0# ps -ef |grep apache
>http 10911 12967  0.0 15:32:59 ??  0:00.04 src/httpd -f
>                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
>root 12967     1  0.0 15:32:59 ??  0:00.05 src/httpd -f
>                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
>http 13095 12967  0.0 15:33:48 ??  0:00.00 src/httpd -f
>                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
>root 21676 12967  0.0 15:32:59 ??  0:00.00 src/httpd -f
>                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
>http 29541 21676  0.0 15:32:59 ??  0:00.10 src/httpd -f
>                                    /usr/local/src/apache_1.2.0/conf/httpd.conf
>The way our server used to work (under 1.2b7), there was one parent server
>which ran as root, and the rest of the servers were its direct children
>and ran as http.  Now the parent-child structure seems to be more
>complicated.
>Additionally, when I kill the main server some of the children seem to
>stick around now.  This is not so good!
>Anyone else seeing this behavior?  Is it fixed in a later version?
>-Ken Williams
> The Math Forum



 
 
 

1. Getting a child and child's child process-id

 Why not just have the parent fork twice ??? Saves a lot of trouble ...
--


#  Have you read your Book In Basic Life Education today ? You should !!  #
#  Any views I express are not necessarily those of Brighton Polytechnic  #
###################### "surivorter erutangis a ma I" ######################

2. Multiple Menu's: Help

3. Help to configure dual net cards on sparc 20

4. child's child redirection

5. Cisco's IGRP and Solaris

6. child process, child program

7. Kernel too big message

8. How to create memory in ptraced child process w/o child source code

9. kill child and its all grad child processes?

10. obtaining child PID in a child subshell

11. times call: user, system, child user, child system

12. smail failed to reap child process: No child processes