Thank you for the quick answer ....
I did run "top" and the other two commands and the results are attached. The monitoring system that I use is IPMonitor from Solarwinds .... I had it in place for a while but I jsut configures the SNMP in teh Linux Server. The memory is not fixed at 3.6GB ... like right now I have 3974.53MB used and 17.33 MB free (uhhh) ... reported but the Dell MIB.
Adding more memory will not be a problem - but I think that a Linux server will consume less than 4GB for what it does. I have an 8GB server that is running full blown SQL and it does it well - allocated 4Gb for that.
Appreciate your help and here are the results.
Thank you
13:38:55 up 21:02, 1 user, load average: 1.29, 1.30, 1.27
86 processes: 84 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 9.9% 2.4% 4.1% 0.0% 0.3% 42.6% 40.3%
cpu00 17.2% 0.0% 2.4% 0.0% 0.6% 3.6% 76.2%
cpu01 11.4% 9.8% 4.6% 0.0% 0.0% 10.2% 64.0%
cpu02 7.9% 0.0% 3.5% 0.0% 0.0% 77.8% 10.5%
cpu03 3.4% 0.2% 6.0% 0.0% 1.0% 78.8% 10.6%
Mem: 4087660k av, 4063548k used, 24112k free, 0k shrd, 76260k buff
2009428k actv, 1443860k in_d, 79964k in_c
Swap: 2040244k av, 0k used, 2040244k free 3699464k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
24049 listener 35 10 75384 73M 1444 R N 2.8 1.8 0:00 1 convert
24037 listener 34 10 10472 10M 3452 S N 1.3 0.2 0:00 0 img-eng-idx.pl
3916 root 15 0 9656 9656 1540 S 0.0 0.2 0:04 3 cupsd
15457 apache 15 0 9388 9388 6696 S 0.0 0.2 0:00 1 httpd
11021 apache 17 0 9384 9384 6696 S 0.0 0.2 0:00 2 httpd
20345 apache 15 0 9384 9384 6696 S 0.0 0.2 0:00 2 httpd
20342 apache 15 0 9380 9380 6696 S 0.0 0.2 0:00 0 httpd
20344 apache 15 0 9380 9380 6696 S 0.0 0.2 0:00 3 httpd
20350 apache 15 0 9380 9380 6696 S 0.0 0.2 0:00 2 httpd
20348 apache 15 0 9376 9376 6696 S 0.0 0.2 0:00 0 httpd
17309 apache 15 0 9372 9372 6696 S 0.0 0.2 0:00 0 httpd
20349 apache 15 0 9372 9372 6696 S 0.0 0.2 0:00 1 httpd
20351 apache 15 0 9368 9368 6696 S 0.0 0.2 0:00 3 httpd
4087 root 15 0 9208 9208 6596 S 0.0 0.2 0:01 0 httpd
15766 root 16 0 9156 9156 8044 D 0.6 0.2 1:36 2 clBackup
15758 root 15 0 7004 7004 5928 S 0.0 0.1 0:00 1 clBackup
15760 root 15 0 7004 7004 5928 S 0.0 0.1 0:00 0 clBackup
15761 root 15 0 7004 7004 5928 S 0.0 0.1 0:00 0 clBackup
5730 root 15 0 6824 6824 5456 S 0.0 0.1 0:01 0 EvMgrC
5731 root 15 0 6824 6824 5456 S 0.0 0.1 0:00 3 EvMgrC
5733 root 15 0 6824 6824 5456 S 0.0 0.1 0:00 1 EvMgrC
15771 root 15 0 5664 5664 5072 S 0.4 0.1 0:38 2 nwp
24039 postgres 19 0 5120 5120 4092 S 0.0 0.1 0:00 1 postmaster
5721 root 15 0 4844 4840 3736 S 0.0 0.1 0:00 1 cvd
5722 root 15 0 4844 4840 3736 S 0.0 0.1 0:00 0 cvd
5724 root 15 0 4844 4840 3736 S 0.0 0.1 0:00 0 cvd
5725 root 15 0 4844 4840 3736 S 0.0 0.1 0:01 2 cvd
5727 root 15 0 4844 4840 3736 S 0.0 0.1 0:00 0 cvd
5729 root 16 0 4844 4840 3736 S 0.0 0.1 0:00 2 cvd
24046 postgres 15 0 4592 4592 3576 S 0.0 0.1 0:00 1 postmaster
27375 root 15 0 4000 4000 2388 S 0.0 0.0 0:08 2 snmpd
15767 root 15 0 3760 3760 3212 S 0.0 0.0 0:15 3 seq
15768 root 15 0 3716 3716 3140 S 0.0 0.0 0:00 0 nwp
15769 root 15 0 3716 3716 3140 S 0.0 0.0 0:00 0 nwp
15770 root 15 0 3716 3716 3140 S 0.0 0.0 0:00 3 nwp
4122 root 15 0 3196 3192 2404 S 0.0 0.0 0:00 0 winbindd
3977 ntp 15 0 2572 2572 2196 S 0.0 0.0 0:01 3 ntpd
4066 root 15 0 2564 2564 1896 S 0.0 0.0 0:01 2 sendmail
[root@imaging log]# ps auxwww | sort -n -k 5
root 10 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/3]
root 11 0.1 0.0 0 0 ? SW Jun18 1:24 [kswapd]
root 12 0.0 0.0 0 0 ? SW Jun18 0:30 [kscand]
root 13 0.0 0.0 0 0 ? SW Jun18 0:00 [bdflush]
root 14 0.0 0.0 0 0 ? SW Jun18 0:18 [kupdated]
root 15 0.0 0.0 0 0 ? SW Jun18 0:00 [mdrecoveryd]
root 2 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/0]
root 2031 0.0 0.0 0 0 ? SW Jun18 0:00 [usb-storage-0]
root 2032 0.0 0.0 0 0 ? SW Jun18 0:00 [scsi_eh_2]
root 22 0.0 0.0 0 0 ? SW Jun18 0:00 [scsi_eh_0]
root 25 0.0 0.0 0 0 ? SW Jun18 0:38 [kjournald]
root 3 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/1]
root 4 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/2]
root 442 0.0 0.0 0 0 ? SW Jun18 0:00 [kjournald]
root 5 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/3]
root 6 0.0 0.0 0 0 ? SW Jun18 0:04 [keventd]
root 7 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/0]
root 8 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/1]
root 86 0.0 0.0 0 0 ? SW Jun18 0:00 [khubd]
root 9 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/2]
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 5751 0.0 0.0 1516 428 tty5 S Jun18 0:00 /sbin/mingetty tty5
root 1 0.0 0.0 1520 496 ? S Jun18 0:06 init
root 5747 0.0 0.0 1520 432 tty1 S Jun18 0:00 /sbin/mingetty tty1
root 5748 0.0 0.0 1520 432 tty2 S Jun18 0:00 /sbin/mingetty tty2
root 5749 0.0 0.0 1520 432 tty3 S Jun18 0:00 /sbin/mingetty tty3
root 3803 0.0 0.0 1524 464 ? S Jun18 0:00 klogd -x
root 3814 0.0 0.0 1524 456 ? S Jun18 0:03 irqbalance
root 5750 0.0 0.0 1524 432 tty4 S Jun18 0:00 /sbin/mingetty tty4
root 5752 0.0 0.0 1524 432 tty6 S Jun18 0:00 /sbin/mingetty tty6
root 3825 0.0 0.0 1576 412 ? S Jun18 0:00 mdadm --monitor --scan -f
root 3799 0.0 0.0 1596 584 ? S Jun18 0:00 syslogd -m 0
root 24358 0.0 0.0 1788 492 ? S 13:39 0:00 sleep 10s
root 3996 0.0 0.0 1796 512 ? S Jun18 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 3958 0.0 0.0 2152 900 ? S Jun18 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
ntp 3977 0.0 0.0 2576 2572 ? SL Jun18 0:01 ntpd -U ntp -p /var/run/ntpd.pid -g
root 24367 0.0 0.0 2748 780 pts/0 R 13:39 0:00 ps auxwww
root 3942 0.0 0.0 3660 1556 ? S Jun18 0:00 /usr/sbin/sshd
root 5741 0.0 0.0 5316 1092 ? S Jun18 0:00 /bin/bash /usr/bin/img-listloop
root 31175 0.0 0.0 5332 1412 pts/0 S 10:22 0:00 -bash
root 4097 0.0 0.0 5540 1016 ? S Jun18 0:00 crond
smmsp 4075 0.0 0.0 5992 2276 ? S Jun18 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 4066 0.0 0.0 6108 2564 ? S Jun18 0:01 sendmail: accepting connections
root 31163 0.0 0.0 7032 2192 ? S 10:21 0:00 sshd: root@pts/0
root 4112 0.0 0.0 8756 2112 ? S Jun18 0:02 nmbd -D
postgres 4042 0.0 0.0 9400 1896 ? S Jun18 0:01 postgres: stats collector process
root 4123 0.0 0.0 9552 1996 ? S Jun18 0:00 winbindd
root 4122 0.0 0.0 10064 3192 ? S Jun18 0:00 winbindd
postgres 4041 0.0 0.0 10256 2136 ? S Jun18 0:00 postgres: stats buffer process
root 15767 0.5 0.0 10364 3760 ? S 12:55 0:15 /opt/galaxy/Base/seq 12 15
root 15768 0.0 0.0 10884 3716 ? S 12:55 0:00 /opt/galaxy/Base/nwp 13 16
root 15769 0.0 0.0 10884 3716 ? S 12:55 0:00 /opt/galaxy/Base/nwp 13 16
root 15770 0.0 0.0 10884 3716 ? S 12:55 0:00 /opt/galaxy/Base/nwp 13 16
root 15771 1.4 0.1 10884 5664 ? S 12:55 0:39 /opt/galaxy/Base/nwp 13 16
root 27375 0.0 0.0 10924 4000 ? S 09:19 0:09 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a
root 4107 0.0 0.0 10940 2544 ? S Jun18 0:00 smbd -D
root 4111 0.0 0.0 10972 2508 ? S Jun18 0:00 smbd -D
postgres 4039 0.0 0.0 14320 2100 ? S Jun18 0:03 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
root 5721 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5722 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5724 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5725 0.0 0.1 14892 4840 ? S Jun18 0:01 /opt/galaxy/Base/cvd
root 5727 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5729 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 3916 0.0 0.2 16216 9656 ? S Jun18 0:04 cupsd
root 15758 0.0 0.1 17032 7004 ? S 12:55 0:00 /opt/galaxy/iDataAgent/clBackup -j 364 -a 2:129 -t 4 -i 3 -numstreams 1 -parent 1 -ab 1 -r 1245413835 -c 3240845 -maxcolnum 3 -numcol 3
root 15760 0.0 0.1 17032 7004 ? S 12:55 0:00 /opt/galaxy/iDataAgent/clBackup -j 364 -a 2:129 -t 4 -i 3 -numstreams 1 -parent 1 -ab 1 -r 1245413835 -c 3240845 -maxcolnum 3 -numcol 3
root 15761 0.0 0.1 17032 7004 ? S 12:55 0:00 /opt/galaxy/iDataAgent/clBackup -j 364 -a 2:129 -t 4 -i 3 -numstreams 1 -parent 1 -ab 1 -r 1245413835 -c 3240845 -maxcolnum 3 -numcol 3
root 5730 0.0 0.1 18064 6824 ? S Jun18 0:01 /opt/galaxy/Base/EvMgrC
root 5731 0.0 0.1 18064 6824 ? S Jun18 0:00 /opt/galaxy/Base/EvMgrC
root 5733 0.0 0.1 18064 6824 ? S Jun18 0:00 /opt/galaxy/Base/EvMgrC
root 15766 3.6 0.2 18636 9156 ? D 12:55 1:37 /opt/galaxy/iDataAgent/clBackup -child 15758 -j 364 -fdRead 12 -fdWrite 15 -a 2:129
root 4087 0.0 0.2 21084 9208 ? S Jun18 0:01 /usr/sbin/httpd
apache 11021 0.0 0.2 21216 9384 ? S 12:19 0:00 /usr/sbin/httpd
apache 15457 0.0 0.2 21216 9388 ? S 12:54 0:00 /usr/sbin/httpd
apache 17309 0.0 0.2 21216 9372 ? S 13:04 0:00 /usr/sbin/httpd
apache 20342 0.0 0.2 21216 9384 ? S 13:24 0:00 /usr/sbin/httpd
apache 20344 0.0 0.2 21216 9380 ? S 13:24 0:00 /usr/sbin/httpd
apache 20345 0.0 0.2 21216 9384 ? S 13:24 0:00 /usr/sbin/httpd
apache 20348 0.0 0.2 21216 9376 ? S 13:24 0:00 /usr/sbin/httpd
apache 20349 0.0 0.2 21216 9372 ? S 13:24 0:00 /usr/sbin/httpd
apache 20350 0.0 0.2 21216 9380 ? S 13:24 0:00 /usr/sbin/httpd
apache 20351 0.0 0.2 21216 9368 ? S 13:24 0:00 /usr/sbin/httpd
root 24368 0.0 0.0 38508 656 pts/0 S 13:39 0:00 sort -n -k 5
[root@imaging log]# ps auxwww | sort -n -k 6
root 10 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/3]
root 11 0.1 0.0 0 0 ? SW Jun18 1:24 [kswapd]
root 12 0.0 0.0 0 0 ? SW Jun18 0:30 [kscand]
root 13 0.0 0.0 0 0 ? SW Jun18 0:00 [bdflush]
root 14 0.0 0.0 0 0 ? SW Jun18 0:18 [kupdated]
root 15 0.0 0.0 0 0 ? SW Jun18 0:00 [mdrecoveryd]
root 2 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/0]
root 2031 0.0 0.0 0 0 ? SW Jun18 0:00 [usb-storage-0]
root 2032 0.0 0.0 0 0 ? SW Jun18 0:00 [scsi_eh_2]
root 22 0.0 0.0 0 0 ? SW Jun18 0:00 [scsi_eh_0]
root 25 0.0 0.0 0 0 ? SW Jun18 0:38 [kjournald]
root 3 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/1]
root 4 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/2]
root 442 0.0 0.0 0 0 ? SW Jun18 0:00 [kjournald]
root 5 0.0 0.0 0 0 ? SW Jun18 0:00 [migration/3]
root 6 0.0 0.0 0 0 ? SW Jun18 0:04 [keventd]
root 7 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/0]
root 8 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/1]
root 86 0.0 0.0 0 0 ? SW Jun18 0:00 [khubd]
root 9 0.0 0.0 0 0 ? SWN Jun18 0:00 [ksoftirqd/2]
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 3825 0.0 0.0 1576 412 ? S Jun18 0:00 mdadm --monitor --scan -f
root 5751 0.0 0.0 1516 428 tty5 S Jun18 0:00 /sbin/mingetty tty5
root 5747 0.0 0.0 1520 432 tty1 S Jun18 0:00 /sbin/mingetty tty1
root 5748 0.0 0.0 1520 432 tty2 S Jun18 0:00 /sbin/mingetty tty2
root 5749 0.0 0.0 1520 432 tty3 S Jun18 0:00 /sbin/mingetty tty3
root 5750 0.0 0.0 1524 432 tty4 S Jun18 0:00 /sbin/mingetty tty4
root 5752 0.0 0.0 1524 432 tty6 S Jun18 0:00 /sbin/mingetty tty6
root 3814 0.0 0.0 1524 456 ? S Jun18 0:03 irqbalance
root 3803 0.0 0.0 1524 464 ? S Jun18 0:00 klogd -x
root 1 0.0 0.0 1520 496 ? S Jun18 0:06 init
root 24612 0.0 0.0 1800 496 ? S 13:40 0:00 sleep 10s
root 3996 0.0 0.0 1796 512 ? S Jun18 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 3799 0.0 0.0 1596 584 ? S Jun18 0:00 syslogd -m 0
root 24614 0.0 0.0 38508 660 pts/0 S 13:40 0:00 sort -n -k 6
root 24613 0.0 0.0 2864 820 pts/0 R 13:40 0:00 ps auxwww
root 3958 0.0 0.0 2152 900 ? S Jun18 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 4097 0.0 0.0 5540 1016 ? S Jun18 0:00 crond
root 5741 0.0 0.0 5316 1092 ? S Jun18 0:00 /bin/bash /usr/bin/img-listloop
root 31175 0.0 0.0 5332 1412 pts/0 S 10:22 0:00 -bash
root 3942 0.0 0.0 3660 1556 ? S Jun18 0:00 /usr/sbin/sshd
postgres 4042 0.0 0.0 9400 1896 ? S Jun18 0:01 postgres: stats collector process
root 4123 0.0 0.0 9552 1996 ? S Jun18 0:00 winbindd
postgres 4039 0.0 0.0 14320 2100 ? S Jun18 0:03 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
root 4112 0.0 0.0 8756 2112 ? S Jun18 0:02 nmbd -D
postgres 4041 0.0 0.0 10256 2136 ? S Jun18 0:00 postgres: stats buffer process
root 31163 0.0 0.0 7032 2192 ? S 10:21 0:00 sshd: root@pts/0
smmsp 4075 0.0 0.0 5992 2276 ? S Jun18 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 4111 0.0 0.0 10972 2508 ? S Jun18 0:00 smbd -D
root 4107 0.0 0.0 10940 2544 ? S Jun18 0:00 smbd -D
root 4066 0.0 0.0 6108 2564 ? S Jun18 0:01 sendmail: accepting connections
ntp 3977 0.0 0.0 2576 2572 ? SL Jun18 0:01 ntpd -U ntp -p /var/run/ntpd.pid -g
postgres 24601 0.0 0.0 14452 2740 ? D 13:40 0:00 postgres: checkpoint subprocess
root 4122 0.0 0.0 10064 3192 ? S Jun18 0:00 winbindd
root 15768 0.0 0.0 10884 3716 ? S 12:55 0:00 /opt/galaxy/Base/nwp 13 16
root 15769 0.0 0.0 10884 3716 ? S 12:55 0:00 /opt/galaxy/Base/nwp 13 16
root 15770 0.0 0.0 10884 3716 ? S 12:55 0:00 /opt/galaxy/Base/nwp 13 16
root 15767 0.5 0.0 10364 3760 ? S 12:55 0:15 /opt/galaxy/Base/seq 12 15
postgres 24606 0.5 0.0 15008 3912 ? S 13:40 0:00 postgres: listener images [local] idle
postgres 24611 1.0 0.0 15008 3912 ? S 13:40 0:00 postgres: listener images [local] idle
root 27375 0.0 0.0 10924 4000 ? S 09:19 0:09 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a
postgres 24605 0.5 0.1 15008 4204 ? S 13:40 0:00 postgres: listener images [local] idle in transaction
postgres 24437 0.0 0.1 15008 4292 ? S 13:40 0:00 postgres: postgres images 192.168.3.163 idle
root 5721 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5722 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5724 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5725 0.0 0.1 14892 4840 ? S Jun18 0:01 /opt/galaxy/Base/cvd
root 5727 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 5729 0.0 0.1 14892 4840 ? S Jun18 0:00 /opt/galaxy/Base/cvd
root 15771 1.4 0.1 10884 5664 ? S 12:55 0:39 /opt/galaxy/Base/nwp 13 16
listener 24608 13.0 0.1 11960 5684 ? SN 13:40 0:00 /usr/bin/perl /usr/bin/img-queue-rules.pl
postgres 24610 4.0 0.1 15420 5756 ? D 13:40 0:00 postgres: listener images [local] INSERT
root 5730 0.0 0.1 18064 6824 ? S Jun18 0:01 /opt/galaxy/Base/EvMgrC
root 5731 0.0 0.1 18064 6824 ? S Jun18 0:00 /opt/galaxy/Base/EvMgrC
root 5733 0.0 0.1 18064 6824 ? S Jun18 0:00 /opt/galaxy/Base/EvMgrC
root 15758 0.0 0.1 17032 7004 ? S 12:55 0:00 /opt/galaxy/iDataAgent/clBackup -j 364 -a 2:129 -t 4 -i 3 -numstreams 1 -parent 1 -ab 1 -r 1245413835 -c 3240845 -maxcolnum 3 -numcol 3
root 15760 0.0 0.1 17032 7004 ? S 12:55 0:00 /opt/galaxy/iDataAgent/clBackup -j 364 -a 2:129 -t 4 -i 3 -numstreams 1 -parent 1 -ab 1 -r 1245413835 -c 3240845 -maxcolnum 3 -numcol 3
root 15761 0.0 0.1 17032 7004 ? S 12:55 0:00 /opt/galaxy/iDataAgent/clBackup -j 364 -a 2:129 -t 4 -i 3 -numstreams 1 -parent 1 -ab 1 -r 1245413835 -c 3240845 -maxcolnum 3 -numcol 3
root 15766 3.6 0.2 18636 9156 ? D 12:55 1:39 /opt/galaxy/iDataAgent/clBackup -child 15758 -j 364 -fdRead 12 -fdWrite 15 -a 2:129
root 4087 0.0 0.2 21084 9208 ? S Jun18 0:01 /usr/sbin/httpd
apache 20351 0.0 0.2 21216 9368 ? S 13:24 0:00 /usr/sbin/httpd
apache 17309 0.0 0.2 21216 9372 ? S 13:04 0:00 /usr/sbin/httpd
apache 20349 0.0 0.2 21216 9372 ? S 13:24 0:00 /usr/sbin/httpd
apache 20348 0.0 0.2 21216 9376 ? S 13:24 0:00 /usr/sbin/httpd
apache 20344 0.0 0.2 21216 9380 ? S 13:24 0:00 /usr/sbin/httpd
apache 20350 0.0 0.2 21216 9380 ? S 13:24 0:00 /usr/sbin/httpd
apache 11021 0.0 0.2 21216 9384 ? S 12:19 0:00 /usr/sbin/httpd
apache 20342 0.0 0.2 21216 9384 ? S 13:24 0:00 /usr/sbin/httpd
apache 20345 0.0 0.2 21216 9384 ? S 13:24 0:00 /usr/sbin/httpd
listener 24603 8.0 0.2 18308 9384 ? DN 13:40 0:00 /usr/bin/perl /usr/bin/img-eng-idx.pl
apache 15457 0.0 0.2 21216 9388 ? S 12:54 0:00 /usr/sbin/httpd
root 3916 0.0 0.2 16216 9656 ? S Jun18 0:04 cupsd
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242:





by: cminearPosted on 2009-06-19 at 11:53:10ID: 24668976
Assuming you installed the CentOS-supplied RPMs for PostgreSQL, you are thus running PostgreSQL 8.1.11. Off-hand, I'd be a little surprised that PostgreSQL would take up 3.6GB of RAM with a default postgresql.conf configuration. Still, let's confirm what could be taking up that space.
First, I'd run 'top' on the CentOS system to double-check that it's report for memory usage seems to correspond to what the monitoring system reports. (You don't say what the monitoring system is.)
Next run, run both of these commands:
ps auxwww | sort -n -k 5
ps auxwww | sort -n -k 6
The one with '5' will sort the output from 'ps' based on the amount reported for VSZ; the one with '6' will do the same but use the 'RSS' column. 'VSZ' is the virtual size of the process; 'RSS' is the resident size of the process. Both values are in KiB (effectively KB). Either of these commands should tell you what processes are using the memory. (They both should have roughly the same ordering of processes.) Unless you have qualms about sharing the information, send along the last 10 or so lines from one of those above commands.
See if each process seems to be reasonably sized (10's of MBs or less). If one or more processes are ~50MB or more, these _may_ be your problem processes, but they could be normal. Also, count how many of the 10MB+ processes there are. Maybe there are a few too many postmaster processes running (or something else?)
Of course, the other side of this is maybe this is perfectly normal. If the 3.6GB usage is not increasing and you are not getting a lot of swapping going on, this could be just fine. Reacting drastically to just one data point is not usually the best way to operate. If this configuration seems to be stable, you could just add a 2GB memory module for $100 or so to give you a little extra head room.