Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23596 invoked from network); 21 Oct 2005 21:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 21:21:53 -0000 Received: (qmail 30034 invoked by uid 500); 21 Oct 2005 21:21:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 29699 invoked by uid 500); 21 Oct 2005 21:21:34 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 29612 invoked by uid 99); 21 Oct 2005 21:21:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 14:21:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [194.154.192.108] (HELO mailsvr.pt.lu) (194.154.192.108) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 14:20:05 -0700 Received: from [192.168.1.7] (pppoe54-99-luxdsl-226.pt.lu [83.99.54.226]) by mailsvr.pt.lu with ESMTP id j9LLJg1Q000957 for ; Fri, 21 Oct 2005 23:19:42 +0200 Date: Fri, 21 Oct 2005 23:20:00 +0200 From: "David Tonhofer, m-plify S.A." To: users@httpd.apache.org Message-ID: <93A620B12669B0F912626F24@[192.168.1.7]> In-Reply-To: <43593067.3070400@perkel.com> References: <43591502.3030202@perkel.com> <43593067.3070400@perkel.com> X-Mailer: Mulberry/3.1.5 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Serious Memory Leak Problem X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --On Friday, October 21, 2005 11:16 AM -0700 Marc Perkel wrote: > > > David Tonhofer, m-plify S.A. wrote: > >> I really don't know what the problem could be but let's >> start a discussion: >> >> 1) How many children are there? >> 2) What is the sum of the processes RSS size? >> 3) What is the sum of the processes VSIZE size? >> > Thanks for your perl script. Here's the results: > > 1029308 minor faults so far > 227 major faults so far > 1532 user time jiffies burnt so far > 25812 kernel time jiffies burnt so far > 55062589440 bytes of allocated virtual memory > 9328185344 bytes of resident memory allocated > 294 children active right now > > Excuse my ignorance but what does the mean? > > Thanks in advance Well, "minor faults"/"major faults" are about paging (if I remember correctly, a minor fault means "page has to be read from disk, scratching a page in memory" and major fault means "page has to be read from disk, but before that an existing page has to be written") The jiffies express how many CPU has been used on the program, they used to be 1/100 of second units, not sure whether that still holds. What is interesting here is: > 55'062'589'440 bytes of allocated virtual memory > 9'328'185'344 bytes of resident memory allocated The first number is just the sum of the processes' virtual memory size - they indicate that they want 55 GByte in toto, but this being just 'virtual', it's not a problem. The second number is the sum of the processes' effective memory size - 9 GByte of RAM... more than you actually have? (scratches head) That shouldn't be possible, except if some RAM is counted twice. Damn. Here are my number (light charge on an dual XEON on RH ES4, only static serves, some PHP though but mostly Tomcat running the show): 87862 minor faults so far 9291 major faults so far 869 user time jiffies burnt so far 379 kernel time jiffies burnt so far 1271640064 bytes of allocated virtual memory 50085888 bytes of resident memory allocated 10 children active right now Acid test: ~ 5 MByte resident memory per child for me ~31 MByte resident memory per child for you This does not sound too unreasonable if there is a lot of Perl going on. We need more numbers... --------------------------------------------------------------------- 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