Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2004 06:51:47 -0500
From:      csnyder <chsnyder@gmail.com>
To:        "Peter C. Lai" <sirmoo@cowbert.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is my Apache server running as the root user or not?
Message-ID:  <b76252690412040351228c4b8@mail.gmail.com>
In-Reply-To: <20041204094749.GA268@cowbert.net>
References:  <1164.213.112.198.152.1102141467.squirrel@mail.hackunite.net> <20041204094749.GA268@cowbert.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 Dec 2004 04:47:49 -0500, Peter C. Lai <sirmoo@cowbert.net> wrote:
> This isn't on-topic for the list, but I'll answer it anyway. The Apache
> parent runs as root so that it can attach to port 80. 
> [...]
> 
> On Sat, Dec 04, 2004 at 07:24:27AM +0100, Jesper Wallin wrote:
> > [...]
> > If I got a lot of users connecting to my server on port 80, will
> > thier requests ever be answered by the root fork or the www:www forks?
> >[...]

If this is really a nagging question, enable the mod_status in
httpd.conf, then watch http://yourserver/server-status while you pound
the server with apache/bin/ab -- you'll see exactly which PIDs are
answering queries.

--
Chris Snyder
http://chxo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b76252690412040351228c4b8>