Is my Apache server running as the root user or not?

csnyder chsnyder at gmail.com
Sat Dec 4 03:51:50 PST 2004


On Sat, 4 Dec 2004 04:47:49 -0500, Peter C. Lai <sirmoo at 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


More information about the freebsd-questions mailing list