LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-03-2008, 06:32 AM   #1
ittec
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
Apache 2.2.3 - unknown Apache process child


Hello guys

I noticed strange list of apache child process. Im working in a Centos 5 with httpd 2.2.3 prefork mode. Perhaps im wrong but it seems to me that the output of next command was strange

Code:
# ps -ylC httpd --sort:rss


Output:

Code:
   
     UID   PID  PPID  C PRI  NI   RSS    SZ WCHAN  TTY          TIME CMD
S    48  9632  9630  0  85   0  2688 12841 412685 ?        00:00:00 httpd
S    48  9633  9630  0  85   0  2688 12841 413191 ?        00:00:00 httpd
S    48  9634  9630  0  85   0  2688 12841 379361 ?        00:00:00 httpd
S    48  9635  9630  0  85   0  2688 12841 413793 ?        00:00:00 httpd
S    48  9636  9630  0  85   0  2688 12841 392447 ?        00:00:00 httpd
S    48  9637  9630  0  85   0  2688 12841 375559 ?        00:00:00 httpd
S    48  9638  9630  0  85   0  2688 12841 375853 ?        00:00:00 httpd
S    48  9639  9630  0  85   0  2688 12841 349131 ?        00:00:00 httpd
S     0  9630     1  0  78   0  5252 12841 -      ?        00:00:00 httpd
Look last process: UID 0 (root) RSS 5252! when the last is 2688. Im very confused. I think I haven't seen never this. Could someone confirm that output is totally correct? I tried to kill last process and apache continued this work normally. It seems as different apaches? Brlf, I don't understand.

Thanks!
 
Old 06-03-2008, 07:32 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
It's normal. The process with uid 0 is the initial apache process (you start apache as root in order to bind to port 80) and the rest are apache's child processes running with uid 48.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to kill a Child and all its subsequent child process in C shayer009 Programming 3 12-04-2007 01:40 AM
How can I get information about a specific Apache child? Zippy1970 Linux - Server 3 10-28-2007 07:00 AM
Apache child processes GavB Linux - Newbie 3 08-12-2007 05:32 PM
Apache 2 Child Processes Seg faulting! DavidHayes Linux - Software 1 04-20-2005 08:54 PM
Limiting child processes in Apache? Phaethar Linux - Software 2 11-02-2004 06:24 PM


All times are GMT -5. The time now is 08:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration