Date: Sun, 7 Nov 1999 21:36:10 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: big-sky@altavista.net Cc: Allen Cleveland <allenc@mindsieve.com>, freebsd-questions@FreeBSD.ORG Subject: Re: running processes Message-ID: <19991107213610.A365@strontium.scientia.demon.co.uk> In-Reply-To: <000201bf292f$0caf9ae0$0201010a@cmr.net> References: <3.0.5.32.19991107024625.00821100@mindsieve.com> <000201bf292f$0caf9ae0$0201010a@cmr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Einreinhof wrote: > Thanks, that worked... now I just wonder why I see 10 instances of apache > running? That's normal for Apache. It forks children before it needs them to reduce overhead when serving requests (or something like that). You should notice that they're all children of one master process: ben@scientia:~$ ps jaxww | awk 'NR==1 || /httpd/' USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND root 301 1 301 e4fc40 0 Ss ?? 1:06.75 /usr/local/sbin/httpd www 69404 301 301 e4fc40 0 I ?? 0:00.09 /usr/local/sbin/httpd www 69405 301 301 e4fc40 0 I ?? 0:00.09 /usr/local/sbin/httpd www 72312 301 301 e4fc40 0 I ?? 0:00.10 /usr/local/sbin/httpd www 72313 301 301 e4fc40 0 I ?? 0:00.13 /usr/local/sbin/httpd Note the PID and PPID columns in particular, and that only one process (pid 301 here) is a session leader. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991107213610.A365>