[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Gradual Increase in memory usage



Hello,

I am not sure if this is a problem with the kernel or due to the nature of
the programs I am running....
>From a fresh boot, memory usage averages around the 170 MB  and as time
passes it gradually increases to grab nearly all the available RAM (500MB)

I was wondering if a recompilation of the kernel would help in resolving the
memory problem.....Any suggestion or advice?

[root mail root]# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) processor
stepping        : 2
cpu MHz         : 995.566
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1985.74

[root mail root]# free
             total       used       free     shared    buffers     cached
Mem:        506536     463176      43360          0      79864     151344
-/+ buffers/cache:     231968     274568
Swap:       522104          0     522104

[root mail root]# uname -r
2.4.22-1.2149.nptl (Athlon kernel)

[root mail root]# ps -aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  2560  508 ?        S    12:09   0:04 init [3]
root         2  0.0  0.0     0    0 ?        SW   12:09   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SW   12:09   0:00 [kapmd]
root         4  0.0  0.0     0    0 ?        SWN  12:09   0:00 [ksoftirqd/0]
root         6  0.0  0.0     0    0 ?        SW   12:09   0:00 [bdflush]
root         5  0.0  0.0     0    0 ?        SW   12:09   0:00 [kswapd]
root         7  0.0  0.0     0    0 ?        SW   12:09   0:00 [kupdated]
root         8  0.0  0.0     0    0 ?        SW   12:09   0:00 [mdrecoveryd]
root        12  0.0  0.0     0    0 ?        SW   12:09   0:01 [kjournald]
root        67  0.0  0.0     0    0 ?        SW   12:09   0:00 [khubd]
root      1779  0.0  0.0     0    0 ?        SW   12:10   0:00 [kjournald]
root      1780  0.0  0.0     0    0 ?        SW   12:10   0:00 [kjournald]
root      2493  0.0  0.1  1780  580 ?        S    12:10   0:01 syslogd -m 0
root      2497  0.0  0.2  3248 1336 ?        S    12:10   0:00 klogd -c 1 -2
rpc       2515  0.0  0.1  3044  564 ?        S    12:10   0:00 portmap
root      2566  0.0  0.3  4308 1528 ?        S    12:10   0:00
/usr/sbin/sshd
root      2587  0.0  0.9 10388 4696 ?        S    12:10   0:01 ddclient -
sleeping for 170 seconds
root      2597  0.0  0.2  3628 1324 ?        S    12:10   0:00
/usr/sbin/dhcpd eth1
root      2609  0.0  0.2  6036 1164 ?        S    12:10   0:00 /bin/sh
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
mysql     2633  0.0  1.0 30424 5372 ?        S    12:10   0:00
/usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/us
root      2653  0.0  2.3 13068 12144 ?       S    12:10   0:00
/usr/sbin/sophie -D
root      2662  0.0  1.9 11664 9744 ?        S    12:10   0:00
/usr/sbin/trophie -D
amavis    2672  0.0  5.5 33980 28040 ?       S    12:10   0:01 amavisd
(master)
root      2679  0.0  0.8  9500 4464 ?        S    12:10   0:02 /usr/bin/perl
-w /usr/local/bin/mailgraph.pl -l /var/log/mail
root      2729  0.0  0.3  6984 1608 ?        S    12:10   0:01
/usr/libexec/postfix/master
postfix   2759  0.0  0.3  7000 1680 ?        S    12:10   0:00 qmgr -l -t
fifo -u
root      2983  0.0  1.8 22920 9268 ?        S    12:11   0:00
/usr/sbin/httpd
nobody    2992  0.0  0.2  2416 1188 ?        S    12:11   0:00 proftpd:
(accepting connections)
root      3001  0.0  0.1  2280  624 ?        S    12:11   0:00 crond
root      3014  0.0  0.3  6900 1692 ?        S    12:11   0:00 squid -D
squid     3016  0.0  1.5 12260 7860 ?        S    12:11   0:06 (squid) -D
squid     3018  0.0  0.0  2464  292 ?        S    12:11   0:00 (unlinkd)
apache    3027  0.0  2.7 26748 13748 ?       S    12:11   0:00
/usr/sbin/httpd
apache    3028  0.0  2.7 27112 14096 ?       S    12:11   0:01
/usr/sbin/httpd
apache    3029  0.0  2.7 26820 13836 ?       S    12:11   0:01
/usr/sbin/httpd
apache    3030  0.0  2.8 27436 14432 ?       S    12:11   0:01
/usr/sbin/httpd
apache    3031  0.0  2.8 27572 14572 ?       S    12:11   0:01
/usr/sbin/httpd
apache    3032  0.0  2.7 27016 13976 ?       S    12:11   0:01
/usr/sbin/httpd
apache    3033  0.0  2.6 26392 13444 ?       S    12:11   0:00
/usr/sbin/httpd
apache    3036  0.0  2.6 26760 13672 ?       S    12:11   0:00
/usr/sbin/httpd
root      3037  0.0  0.5 12212 2732 ?        S    12:11   0:00 smbd -D
root      3041  0.0  0.4 10064 2392 ?        S    12:11   0:00 nmbd -D
nobody    3051  0.0  0.1  1552  524 ?        S    12:11   0:00
/usr/sbin/alertd -d
root      3077  0.9  8.1 45004 41344 ?       S    12:11   6:17 snort -D -c
/etc/snort.conf
suva      3117  0.0  0.2  3104 1296 ?        S    12:11   0:00
/usr/local/suva/bin/suvad
root      3128  0.0  0.8  9396 4092 ?        S    12:11   0:01 syswatch
root      3139  0.0  0.6  8964 3356 ?        S    12:11   0:00 webconfig -f
/var/webconfig/conf/httpd.conf
500       3140  0.0  0.9 10048 4828 ?        S    12:11   0:00 webconfig -f
/var/webconfig/conf/httpd.conf
root      3147  0.0  0.9  7196 4716 ?        S    12:11   0:00 /usr/bin/perl
/usr/libexec/webmin/miniserv.pl /etc/webmin/min
root      3152  0.0  0.0  2812  436 tty2     S    12:11   0:00
/sbin/mingetty tty2
root      3153  0.0  0.0  2300  436 tty3     S    12:11   0:00
/sbin/mingetty tty3
root      5368  0.0  0.1  3636  992 ?        S    12:40   0:00 /bin/bash
/sbin/adsl-connect /etc/sysconfig/network-scripts/i
root      5600  0.0  0.1  2900  848 ?        S    12:41   0:00
/usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid
root      5601  1.4  0.0  2356  492 ?        R    12:41   9:24
/usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth0 -T 8
named     8423  0.0  0.5 36800 2936 ?        S    13:44   0:02
/usr/sbin/named -u named
peters   14492  0.3  1.5 52184 7720 ?        S    16:36   1:18 python
/tmp/BitTorrent-3.3/btlaunchmany.py torrents/active/
500      14562  0.0  1.0 10240 5216 ?        S    16:39   0:00 webconfig -f
/var/webconfig/conf/httpd.conf
root     17444  0.0  0.2  2804 1016 ?        S    17:48   0:00 login -- root
amavis   25978  0.0  5.7 34776 28956 ?       S    22:15   0:01 amavisd
(25978-06-3)
root     27148  0.0  0.2  6208 1412 tty1     S    22:50   0:00 -bash
root     27753  0.0  0.2  4356 1140 ?        S    22:59   0:00
/usr/sbin/dovecot
root     27757  0.0  0.2  5068 1344 ?        S    22:59   0:00 dovecot-auth
dovecot  27761  0.0  0.2  5128 1496 ?        S    22:59   0:00 pop3-login
dovecot  27762  0.0  0.2  5408 1496 ?        S    22:59   0:00 pop3-login
root     27765  0.6  0.2  6072 1252 tty1     S    22:59   0:03 top
amavis   27919  0.0  5.6 34384 28564 ?       S    23:00   0:00 amavisd
(child)
postfix  27927  0.0  0.3  6456 1580 ?        S    23:00   0:00 pickup -l -t
fifo -u
dovecot  27928  0.0  0.2  4664 1500 ?        S    23:00   0:00 imap-login
dovecot  27929  0.0  0.2  5356 1500 ?        S    23:00   0:00 imap-login
postfix  27939  0.0  0.3  6364 1564 ?        S    23:01   0:00 proxymap -t
unix -u
postfix  27941  0.0  0.3  6572 1916 ?        S    23:01   0:00
trivial-rewrite -n rewrite -t unix -u
amavis   27944  0.0  2.4 13188 12164 ?       S    23:01   0:00
/usr/sbin/sophie -D
amavis   27945  0.0  1.9 11668 9772 ?        S    23:01   0:00
/usr/sbin/trophie -D
peters   27959  0.0  0.1  2036  744 ?        S    23:02   0:00 imap
dovecot  27960  0.0  0.2  5732 1500 ?        S    23:02   0:00 imap-login
amavis   27968  0.0  2.3 13068 12152 ?       S    23:03   0:00
/usr/sbin/sophie -D
amavis   27969  0.0  1.9 11668 9768 ?        S    23:03   0:00
/usr/sbin/trophie -D
root     27974  0.0  0.4  7516 2084 ?        S    23:04   0:00 sshd:
root pts/1
root     27976  0.0  0.2  6196 1392 pts/1    S    23:04   0:00 -bash
postfix  28170  0.0  0.4  7116 2232 ?        S    23:06   0:00 smtpd -n smtp
-t inet -u
postfix  28171  0.0  0.3  7064 2012 ?        S    23:06   0:00 cleanup -z -t
unix -u
postfix  28172  0.0  0.3  6972 1668 ?        S    23:06   0:00 lmtp -n
smtp-amavis -t unix -u -o smtp_data_done_timeout 1200
postfix  28174  0.0  0.4  6760 2052 ?        S    23:06   0:00 smtpd -n
127.0.0.1:10025 -t inet -u -o content_filter  -o loc
postfix  28175  0.0  0.3  6796 1944 ?        S    23:06   0:00 local -t unix
dovecot  28197  0.0  0.2  4344 1496 ?        S    23:07   0:00 pop3-login
root     28208  0.0  0.1  3464  764 pts/1    R    23:09   0:00 ps -aux



Peter Santiago         peters psinergybbs com
My website:            www.psinergybbs.com
My spamtrap address:   r34987y psinergybbs com

!****************************************!
!   Do what you will with this tagline,  !
!     just don't bother me about it!     !
!****************************************!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]