Index: [Article Count Order] [Thread]

Date:  Tue, 14 Aug 2007 18:31:21 -0400
From:  "Ethan V. Mateja" <support (at mark) packetforward.com>
Subject:  [coba-e:10582] High Memory Usage on server
To:  coba-e (at mark) bluequartz.org
Message-Id:  <46C22D39.4080305 (at mark) packetforward.com>
X-Mail-Count: 10582

Hi Blues,

I noticed some high memory usage on my BQ lately.  Typically near 93%.  
I sort of a noob with this stuff and was hoping someone could point me 
in the right direction.

I noticed a lot of Apache services running.  Not sure if that is the 
culprit.

Here is what ps aux shows:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  2188  620 ?        S    12:23   0:00 init [3]
root         2  0.0  0.0     0    0 ?        SN   12:23   0:00 [ksoftirqd/0]
root         3  0.0  0.0     0    0 ?        S<   12:23   0:00 [events/0]
root         4  0.0  0.0     0    0 ?        S<   12:23   0:00 [khelper]
root         5  0.0  0.0     0    0 ?        S<   12:23   0:00 [kacpid]
root        20  0.0  0.0     0    0 ?        S<   12:23   0:00 [kblockd/0]
root        21  0.0  0.0     0    0 ?        S    12:23   0:00 [khubd]
root        38  0.0  0.0     0    0 ?        S    12:23   0:00 [pdflush]
root        39  0.0  0.0     0    0 ?        S    12:23   0:00 [pdflush]
root        40  0.0  0.0     0    0 ?        S    12:23   0:00 [kswapd0]
root        41  0.0  0.0     0    0 ?        S<   12:23   0:00 [aio/0]
root       185  0.0  0.0     0    0 ?        S    12:23   0:00 [kseriod]
root       416  0.0  0.0     0    0 ?        S    12:23   0:00 [scsi_eh_0]
root       417  0.0  0.0     0    0 ?        S    12:23   0:00 [ahc_dv_0]
root       420  0.0  0.0     0    0 ?        S<   12:23   0:00 [exec-osm/0]
root       454  0.0  0.0     0    0 ?        S<   12:23   0:00 [block-osm/0]
root       474  0.0  0.0     0    0 ?        S    12:23   0:00 [kjournald]
root      1652  0.0  0.0  3124  428 ?        S<s  12:23   0:00 udevd
root      1765  0.0  0.0     0    0 ?        S<   12:23   0:00 [kauditd]
root      1814  0.0  0.0     0    0 ?        S    12:23   0:00 [kjournald]
root      1815  0.0  0.0     0    0 ?        S    12:23   0:00 [kjournald]
root      1816  0.0  0.0     0    0 ?        S    12:23   0:00 [kjournald]
root      1817  0.0  0.0     0    0 ?        S    12:23   0:00 [kjournald]
root      2491  0.0  0.0  2728  544 ?        Ss   12:24   0:00 syslogd -m 0
root      2495  0.0  0.0  1872  384 ?        Ss   12:24   0:00 klogd -x
root      2513  0.0  0.1  4036 1344 ?        Ss   12:24   0:00 
/usr/sausalito/sbin/cced
root      2706  0.0  0.0  3620  492 ?        Ss   12:24   0:00 
/usr/sbin/dovecot
root      2707  0.0  0.1  5332 1556 ?        S    12:24   0:00 dovecot-auth
root      2752  0.0  0.2  9268 2692 ?        Ss   12:24   0:00 sendmail: 
accepting connections
smmsp     2765  0.0  0.1  8660 1640 ?        Ss   12:24   0:00 sendmail: 
Queue runner@01:00:00 for /var/spool/clientmqueue
root      2862  0.0  0.1  5848 1136 ?        Ss   12:24   0:00 
/usr/sbin/sshd
root      2877  0.0  0.1  3140 1044 ?        Ss   12:24   0:00 xinetd 
-stayalive -pidfile /var/run/xinetd.pid
clamav    2918  0.0  0.0  6228  796 ?        Ss   12:24   0:00 
/usr/bin/freshclam -d -p /var/run/clamav/freshclam.pid
root      2931  0.0  0.1  6544 1456 ?        S    12:24   0:00 /bin/sh 
/usr/bin/mysqld_safe --datadir=/var/lib/mysql 
--pid-file=/var/lib/mysql/slv1.packetforward.com.pid
mysql     2952  0.0  1.4 118740 14564 ?      Sl   12:24   0:18 
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql 
--pid-file=/var/lib/mysql/slv1.packetforward.com
root      2973  0.0  0.6 21460 6560 ?        Ss   12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2983  0.0  0.7 24136 8092 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2984  0.0  0.7 23648 7560 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2985  0.0  0.6 22548 6388 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2986  0.0  0.8 25016 9040 ?        S    12:24   0:01 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2987  0.0  0.7 24136 7952 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2988  0.0  0.7 24188 7916 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2989  0.0  0.7 24136 7904 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    2990  0.0  0.7 23868 7740 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
root      2992  0.0  4.2 50688 43944 ?       Ss   12:24   0:06 
/usr/bin/spamd -d -c -m5 -H -r /var/run/spamd.pid
apache    3001  0.0  0.7 23896 7724 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
root      3002  0.0  0.0  2552  344 ?        Ss   12:24   0:00 gpm -m 
/dev/input/mice -t imps2
apache    3012  0.0  0.7 23420 7284 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    3013  0.0  0.7 23816 7712 ?        S    12:24   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
root      3017  0.0  1.7 33892 17864 ?       Ss   12:24   0:00 
/usr/sbin/httpd
root      3026  0.0  0.1  6280 1180 ?        Ss   12:24   0:00 crond
root      3035  0.0  0.3  8744 3648 ?        S    12:24   0:09 
/usr/bin/perl /usr/sbin/poprelayd -d
root      3045  0.0  0.0  1484  396 ?        Ss   12:24   0:00 
/home/nuonce/portsentry/portsentry -tcp
root      3048  0.0  0.0  1492  432 ?        Ss   12:24   0:00 
/home/nuonce/portsentry/portsentry -udp
dbus      3060  0.0  0.1  4008 1044 ?        Ss   12:24   0:00 
dbus-daemon-1 --system
root      3069  0.0  0.3  6976 3652 ?        Ss   12:24   0:02 hald
root      3079  0.0  1.1 32008 11636 ?       S    12:24   0:00 
/usr/sbin/httpd
root      3097  0.0  0.2 10352 2904 ?        S    12:24   0:00 python 
/usr/bin/denyhosts.py --daemon --config=/usr/share/denyhosts/denyhosts.cfg
apache    3105  0.0  1.4 34088 15292 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3106  0.0  1.4 34088 15276 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3107  0.0  1.4 34088 15280 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3117  0.0  1.4 34088 15272 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3118  0.0  1.4 34088 15256 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3119  0.0  1.4 34088 15280 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3120  0.0  1.4 34088 15264 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3121  0.0  1.4 34088 15288 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3153  0.0  1.4 34088 15288 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3238  0.0  1.4 34088 15280 ?       S    12:24   0:00 
/usr/sbin/httpd
apache    3239  0.0  1.4 34088 15272 ?       S    12:24   0:00 
/usr/sbin/httpd
root      3294  0.0  0.0  1608  364 ttyS0    Ss+  12:24   0:00 
/sbin/agetty -i -h -L 38400 ttyS0 vt100
root      3295  0.0  0.0  2076  388 tty1     Ss+  12:24   0:00 
/sbin/mingetty tty1
root      3296  0.0  0.0  3236  388 tty2     Ss+  12:24   0:00 
/sbin/mingetty tty2
root      3297  0.0  0.0  3172  388 tty3     Ss+  12:24   0:00 
/sbin/mingetty tty3
root      3298  0.0  0.0  3052  388 tty4     Ss+  12:24   0:00 
/sbin/mingetty tty4
root      3299  0.0  0.0  3132  388 tty5     Ss+  12:24   0:00 
/sbin/mingetty tty5
root      3616  0.0  0.0  1644  388 tty6     Ss+  12:24   0:00 
/sbin/mingetty tty6
root      3848  0.0  4.6 54648 47900 ?       S    12:25   0:16 spamd child
apache    3851  0.0  0.7 23908 7764 ?        S    12:26   0:00 
/usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.conf
apache    4167  0.0  1.4 34088 15280 ?       S    12:30   0:00 
/usr/sbin/httpd
root      4492  0.0  1.7 22936 18268 ?       Ss   13:01   0:00 
MailScanner: master waiting for children, sleeping
root      4493  0.0  5.8 64064 60096 ?       S    13:01   0:05 
MailScanner: waiting for messages
root      4506  0.0  5.8 64064 60088 ?       S    13:01   0:05 
MailScanner: waiting for messages
root      4511  0.0  5.8 64064 60088 ?       S    13:01   0:05 
MailScanner: waiting for messages
root      4518  0.0  5.8 64064 60088 ?       S    13:01   0:05 
MailScanner: waiting for messages
root      4523  0.0  5.8 64064 60088 ?       S    13:01   0:05 
MailScanner: waiting for messages
root      7026  0.0  4.0 50688 41820 ?       S    16:48   0:00 spamd child
dovecot   9158  0.0  0.1  5296 1232 ?        S    20:15   0:00 imap-login
dovecot   9599  0.0  0.1  4624 1232 ?        S    21:00   0:00 imap-login
dovecot   9778  0.0  0.1  4092 1220 ?        S    21:15   0:00 pop3-login
dovecot  10530  0.0  0.1  4696 1220 ?        S    22:17   0:00 pop3-login
dovecot  10614  0.0  0.1  5292 1228 ?        S    22:30   0:00 imap-login
dovecot  10766  0.0  0.1  4440 1220 ?        S    22:42   0:00 pop3-login
root     10767  0.4  0.2  9300 2600 ?        Ss   22:44   0:00 sshd: 
admin [priv]
admin    10771  0.2  0.1  9300 1896 ?        S    22:44   0:00 sshd: 
admin@pts/0
admin    10772  0.7  0.1  5432 1672 pts/0    Ss   22:44   0:00 -bash
admin    10798  0.0  0.0  4036 1020 pts/0    R+   22:44   0:00 ps aux

v/r

Ethan Mateja

<mailto:support (at mark) packetforward.com>