From owner-freebsd-questions@FreeBSD.ORG Fri May 9 09:18:46 2003 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 63B4E37B401 for ; Fri, 9 May 2003 09:18:46 -0700 (PDT) Received: from hauptpostamt.charite.de (hauptpostamt.charite.de [193.175.66.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id F062643FBD for ; Fri, 9 May 2003 09:18:44 -0700 (PDT) (envelope-from alexander.haderer@charite.de) Received: from postamt1.charite.de (postamt1.charite.de [193.175.66.246]) by hauptpostamt.charite.de (Postfix) with ESMTP id 9738615C01F; Fri, 9 May 2003 18:18:42 +0200 (CEST) Received: from chaplin.charite.de (chaplin.str.charite.de [192.168.202.88]) by postamt1.charite.de (Postfix) with ESMTP id 61090633AD; Fri, 9 May 2003 18:18:42 +0200 (CEST) Message-Id: <5.2.0.9.1.20030509181219.01a8c170@postamt1.charite.de> X-Sender: afrika@postamt1.charite.de X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 09 May 2003 18:14:41 +0200 To: Stijn Hoop From: Alexander Haderer In-Reply-To: <20030509143215.GD7374@pcwin002.win.tue.nl> References: <5.2.0.9.1.20030509161609.019c6298@postamt1.charite.de> <20030509141200.GC7374@pcwin002.win.tue.nl> <5.2.0.9.1.20030509161609.019c6298@postamt1.charite.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new at charite.de cc: freebsd-questions@freebsd.org Subject: Re: what process is eating my swap? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 16:18:46 -0000 At 16:32 09.05.2003 +0200, Stijn Hoop wrote: >On Fri, May 09, 2003 at 04:18:17PM +0200, Alexander Haderer wrote: > > What does "top -o size" show? Look at column size. What is on top? How > many > > processes? > >Here's a random sample. Of course mount_mfs is using 256M, that's to be >expected. > >last pid: 39401; load averages: 0.15, 0.14, 0.09 up >1+03:32:39 16:31:15 >117 processes: 1 running, 116 sleeping >CPU states: 0.0% user, 0.0% nice, 1.2% system, 1.2% interrupt, 97.7% idle >Mem: 146M Active, 445M Inact, 124M Wired, 32M Cache, 86M Buf, 4984K Free >Swap: 1536M Total, 1536M Used, 4K Free, 99% Inuse > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 24 root 10 0 257M 16512K mfsidl 0:01 0.00% 0.00% mount_mfs > 262 mysql 2 0 32828K 16504K poll 48:17 1.17% 1.17% mysqld > 263 root 2 0 18356K 17644K select 0:03 0.00% 0.00% perl >38861 www 18 0 10952K 7336K lockf 0:01 0.00% 0.00% httpd >34040 www 2 0 10900K 7340K poll 0:08 0.00% 0.00% httpd >37664 www 18 0 10876K 7304K lockf 0:03 0.00% 0.00% httpd >38249 www 18 0 10860K 7296K lockf 0:02 0.00% 0.00% httpd >38203 www 2 0 10852K 7264K poll 0:02 0.00% 0.00% httpd >37490 www 2 0 10848K 7272K poll 0:05 0.00% 0.00% httpd >39005 www 18 0 10840K 7224K lockf 0:00 0.00% 0.00% httpd >38001 www 18 0 10836K 7256K lockf 0:02 0.00% 0.00% httpd >37942 www 18 0 10828K 7240K lockf 0:03 0.00% 0.00% httpd >38864 www 18 0 10812K 7220K lockf 0:01 0.00% 0.00% httpd >38862 www 18 0 10680K 7104K lockf 0:01 0.00% 0.00% httpd > >I see nothing wrong in the output so far. Well, in this case you have to much (107) memery consuming processes running. httpd is 10MB, for example. How many httpd processes are active? Alexander -- ------------------------------------------------------------------ Alexander Haderer Charite Campus Virchow-Klinikum Tel. +49 30 - 450 557 182 Strahlenklinik und Poliklinik Fax. +49 30 - 450 557 117 Sekr. Prof. Felix Email alexander.haderer@charite.de Augustenburger Platz 1 www http://www.charite.de/rv/str/ 13353 Berlin - Germany ------------------------------------------------------------------