Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 11841 invoked from network); 3 Dec 2004 21:58:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 21:58:22 -0000 Received: (qmail 97369 invoked by uid 500); 3 Dec 2004 21:58:15 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 97321 invoked by uid 500); 3 Dec 2004 21:58:14 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 97304 invoked by uid 99); 3 Dec 2004 21:58:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of kclair@gmail.com designates 216.239.56.243 as permitted sender) Received: from mproxy.gmail.com (HELO mproxy.gmail.com) (216.239.56.243) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 13:58:12 -0800 Received: by mproxy.gmail.com with SMTP id q44so38410cwc for ; Fri, 03 Dec 2004 13:58:10 -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:mime-version:content-type:content-transfer-encoding; b=qA8zGrUDMlRyUsHWEUXvCwI7aO1Xo36Nmb2oANelmPSdj0vJlmkn4JB8gYWtEl9UZBaTHmKP1O4qqaEZxYRxoyj2VvTo6DKhevqevbyqHLjFdfTmzGhx/Gxr+U5UAQKQR0Cim4nH7ToBsQ/Jwi19/hm3PW+cVF+j2BOThWgpZ8g= Received: by 10.11.116.22 with SMTP id o22mr628588cwc; Fri, 03 Dec 2004 13:58:09 -0800 (PST) Received: by 10.11.94.29 with HTTP; Fri, 3 Dec 2004 13:58:09 -0800 (PST) Message-ID: Date: Fri, 3 Dec 2004 16:58:09 -0500 From: Kristina Clair Reply-To: Kristina Clair To: dev@httpd.apache.org Subject: MPM and AcceptMutex questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm not sure if this is really the right list for this, but I got no response from the "users" list, so I'm wondering if some of the developers might be able to shed some light. Sorry if it's inappropriate to mail this list with these questions. I've been reading a bit about Apache2 performance tuning. I'm particularly interested in reducing the memory usage as much as possible. I'm running apache2 on redhat 7.3 servers with very heavy http traffic. I'm wondering if it might be wise for me to try to use the worker MPM rather than the default prefork. Does anyone have any real-world experience with this? Our users are allowed to run any cgi scripts they want -- could this cause a potential problem with worker? Also, I recently encountered a problem with the mutex device - I'm using the default AcceptMutex setting, which is sysvsem, but it is leaving semaphores around when httpd is restarted. It seems like the two main recommendations for fixing this are to either increase the max number of semaphores in the kernel or use AcceptMutex fcntl instead. Again, has anyone had any experience with this? It's probably also important to note that the files that apache serves are nfs - does this give me a disadvantage if I try to use fcntl? And if I increase the max semaphores in the kernel - isn't it just a matter of time before they all get used up too? Thanks! Kristina -- Kristina Clair Datarealm Internet Services www.serve.com