On Fri, April 16, 2010 9:07 am, Aleksey Tsalolikhin wrote:
> Whoa!  You've got 400 MB of swap used.  That will slow things down.
> What's using the memory?  (You can get a process listing by memory
> usage in top; or install "htop", it's a bit easier to navigate and
> prettier.)
> To sum: reduce memory usage or add RAM.

Aleksey, thanks

htop sorted by MEM% says:


  CPU[||                          3.9%]     Tasks: 196 total, 1 running
  Mem[|||||||||||||||||||||1073/2281MB]     Load average: 0.92 0.60 0.45
  Swp[|||||||               398/1983MB]     Uptime: 885 days(!), 04:13:36

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
14346 clamav    16   0  307M  274M  1376 S  0.0 12.0 33:34.01 clamd
14347 clamav    16   0  307M  274M  1376 S  0.0 12.0  0:00.96 clamd
20232 amavis    16   0 93580 79720  3248 S  0.0  3.4  0:14.29 amavisd
(ch7-avail)
20928 amavis    20   0 88200 74256  3256 S  0.0  3.2  0:14.17 amavisd
(ch3-avail)
11290 amavis    16   0 81756 68084  2756 S  0.0  2.9  0:05.96 amavisd
(master)
26064 root      16   0  100M 25096   860 S  0.0  1.1  0:46.86
/usr/sbin/saslauthd -m
26065 root      16   0  101M 25012   844 S  0.0  1.1  0:47.45
/usr/sbin/saslauthd -m
26068 root      17   0  100M 24868   844 S  0.0  1.1  0:47.25
/usr/sbin/saslauthd -m
26067 root      16   0  100M 24668   844 S  0.0  1.1  0:47.00
/usr/sbin/saslauthd -m
26066 root      16   0  100M 24508   844 S  0.0  1.0  0:46.89
/usr/sbin/saslauthd -m
  809 mysql     16   0  117M 22740  3272 S  0.0  1.0 20:58.79
/usr/sbin/mysqld --bas
  832 mysql     16   0  117M 22740  3272 S  0.0  1.0  0:00.00
/usr/sbin/mysqld --bas
(18 more 'mysqld lines)
...
11848 apache    15   0 40268 22732  4660 S  0.0  1.0  0:06.59 /usr/sbin/httpd
12839 apache    15   0 40336 22448  4336 S  0.0  1.0  0:06.82 /usr/sbin/httpd
(15 more 'httpd' lines)
...
15101 apache    15   0 38344 19440  3360 S  0.0  0.8  0:01.65 /usr/sbin
18672 root      16   0 27144 14232  7064 S  0.0  0.6  0:01.53 /usr/sbin/httpd
21402 cacti     17   0 20412 10156  3856 S  0.0  0.4  0:00.28 php

server-status says:

Current Time: Friday, 16-Apr-2010 10:35:26 EST
Restart Time: Friday, 16-Apr-2010 08:11:38 EST
Parent Server Generation: 1
Server uptime: 2 hours 23 minutes 48 seconds
Total accesses: 5083 - Total Traffic: 160.3 MB
CPU Usage: u61.6 s6.03 cu.02 cs0 - .784% CPU load
.589 requests/sec - 19.0 kB/second - 32.3 kB/request
9 requests currently being processed, 11 idle workers

__..RCR_._CC....CCC______......W_...............................
................................................................
................................................................
................................................................



-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to