Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2003 18:14:41 +0200
From:      Alexander Haderer <alexander.haderer@charite.de>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: what process is eating my swap?
Message-ID:  <5.2.0.9.1.20030509181219.01a8c170@postamt1.charite.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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
------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.1.20030509181219.01a8c170>