Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 4221 invoked from network); 14 Jan 2005 15:47:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jan 2005 15:47:18 -0000 Received: (qmail 17919 invoked by uid 500); 14 Jan 2005 15:47:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 17905 invoked by uid 500); 14 Jan 2005 15:47:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 17890 invoked by uid 99); 14 Jan 2005 15:47:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp2.netglobalis.cl (HELO smtp2.netglobalis.cl) (200.14.80.92) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 14 Jan 2005 07:47:01 -0800 Received: from cpath.psinet.cl ([200.14.80.251]:62538) by smtp2.netglobalis.cl with esmtp (Exim 4.43 #1 (mailNG/UNIX)) id 1CpTf7-0003E9-OA for ; Fri, 14 Jan 2005 12:46:57 -0300 Received: from [200.29.14.68] (200.29.14.68) by cpath.psinet.cl (5.1.056) id 40DFFDAD004F6338 for users@httpd.apache.org; Fri, 14 Jan 2005 12:46:57 -0300 Message-ID: <41E7E9BC.1010009@Ivn.cl> Date: Fri, 14 Jan 2005 12:48:12 -0300 From: "Ivan Barrera A." Reply-To: Bruce@Ivn.cl Organization: Ivn Systems/Software User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <41E7E4AB.6000709@ispi.net> In-Reply-To: <41E7E4AB.6000709@ispi.net> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: Re: [users@httpd] Weird Apache Memory Leak or something X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry, but i just need to ask.. where do i get "truss" ? Preston Podaril wrote: > We have been having some weird issues with Apache for several months > now. I have been trying to dig out the reason for it with truss and > lsof, but I have been unable to catch anything abnormal. > > We are running Solaris 8. We upgraded to Apache (mod_ssl) 1.3.33 and > PHP 4.3.10 a week and a half ago. Before that we were running Apache > (mod_ssl) 1.3.29 and PHP 4.3.4. In both scenarios this problem is > occurring. > > Our problem is that the libhttpd.ep processes appear to be leaking > memory for some reason. They also will go to sleep indefinitely (as > seen in a truss). The processes that are problematic will grow up to > 80M in RES size, checking out a truss on them, doesn't seem to show > anything abnormal, nothing that would denote its size getting so large. > When we get a lot of these processes between 50M and 80M the machines > RAM and swap will get filled up, and then it will become fairly > unusable. I have left a truss go overnight on one of these processes > that is "dead" and this is all it would show, over and over again in > thet output of the truss. > > sigsuspend(0xFFBDDE68) (sleeping...) > signotifywait() (sleeping...) > lwp_sema_wait(0xFDF0DE30) (sleeping...) > signotifywait() = 16 > lwp_sigredirect(0, SIGUSR1, 0x00000000) = 0 > sigsuspend(0xFFBDDE68) (sleeping...) > signotifywait() (sleeping...) > lwp_sema_wait(0xFDF0DE30) (sleeping...) > signotifywait() = 16 > lwp_sigredirect(0, SIGUSR1, 0x00000000) = 0 > > It has proven really hard to determine what is causing the problem here. > MaxClients are set at 70 and 90 for the two different sized > machines in the cluster. I have messed with the MaxRequestsPerChild and > MaxKeepAliveRequests with no avail, both are set at 1000 currently. > > Does anyone have any ideas on what might be causing this? or any other > testing utilities I can use to help track down the problem? I believe > it to be something with php or something php is using, although I have > nothing to show me that yet. > > Thanks for any ideas! --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org