From owner-freebsd-questions@FreeBSD.ORG Sat Dec 4 11:51:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10ADB16A4CE for ; Sat, 4 Dec 2004 11:51:50 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BABC043D66 for ; Sat, 4 Dec 2004 11:51:49 +0000 (GMT) (envelope-from chsnyder@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so15001wri for ; Sat, 04 Dec 2004 03:51:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=PBMjaFa/Uz+9bsBUEqxFt/pJmIrIJcUE7TFwFpEgosmkrjuYl9kTfhtdFf9etbi7s/LcSpEk3TJAWQOyahVYwUGLwp+AvZp1wgWdw6elnzOkGqBWZS55rr1j/Nxgrzc++rkGe6FBPavc8twR/UuYKsG9Bb+6S+QZnYmYlUMEAq4= Received: by 10.54.26.59 with SMTP id 59mr296456wrz; Sat, 04 Dec 2004 03:51:47 -0800 (PST) Received: by 10.54.51.2 with HTTP; Sat, 4 Dec 2004 03:51:47 -0800 (PST) Message-ID: Date: Sat, 4 Dec 2004 06:51:47 -0500 From: csnyder To: "Peter C. Lai" In-Reply-To: <20041204094749.GA268@cowbert.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1164.213.112.198.152.1102141467.squirrel@mail.hackunite.net> <20041204094749.GA268@cowbert.net> cc: freebsd-questions@freebsd.org Subject: Re: Is my Apache server running as the root user or not? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: csnyder List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 11:51:50 -0000 On Sat, 4 Dec 2004 04:47:49 -0500, Peter C. Lai 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