LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CentOS 3.4 [ RHEL 3 ] Wont let go the memory (https://www.linuxquestions.org/questions/linux-software-2/centos-3-4-%5B-rhel-3-%5D-wont-let-go-the-memory-292595/)

maxboost 02-20-2005 10:36 AM

CentOS 3.4 [ RHEL 3 ] Wont let go the memory
 
Im runing a webhost on this server and im having problems where linux sucks up all the memory then locks up apache and pop3. I have to ssh and reboot when this happens

Past three days:
Code:

Mem:  1019392k av,  430288k used,  589104k free,      0k shrd,  52328k buff
@ 12 midnight

Mem:  1019392k av,  585580k used,  433812k free,      0k shrd,  91672k buff
@ 11.34am

Mem:  1019392k av, 1005120k used,  14272k free,      0k shrd,  96548k buff
@ 819am


Code:

88 processes: 85 sleeping, 2 running, 1 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
          total    0.2%    0.0%    0.0%  0.0%    0.0%    0.0%  99.7%
Mem:  1019392k av, 1009476k used,    9916k free,      0k shrd,  96572k buff
                    317508k actv,  423600k in_d,  20956k in_c
Swap: 1044216k av,      0k used, 1044216k free                  717376k cached

  PID USER    PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM  TIME CPU COMMAND
    1 root      15  0  512  512  452 S    0.0  0.0  0:03  0 init
    2 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 keventd
    3 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 kapmd
    4 root      34  19    0    0    0 SWN  0.0  0.0  0:00  0 ksoftirqd/0
    7 root      25  0    0    0    0 SW    0.0  0.0  0:00  0 bdflush
    5 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 kswapd
    6 root      15  0    0    0    0 SW    0.0  0.0  0:12  0 kscand
    8 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 kupdated
    9 root      25  0    0    0    0 SW    0.0  0.0  0:00  0 mdrecoveryd
  16 root      25  0    0    0    0 SW    0.0  0.0  0:00  0 scsi_eh_0
  19 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 kjournald
  78 root      25  0    0    0    0 SW    0.0  0.0  0:00  0 khubd
  421 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 kjournald
 2020 root      15  0    0    0    0 SW    0.0  0.0  0:00  0 eth0
 2249 root      15  0  572  572  492 S    0.0  0.0  0:00  0 syslogd
 2253 root      15  0  472  472  408 S    0.0  0.0  0:00  0 klogd
 2281 rpc      20  0  568  568  492 S    0.0  0.0  0:00  0 portmap
 2301 rpcuser  25  0  724  724  644 S    0.0  0.0  0:00  0 rpc.statd
 2313 root      15  0  404  404  344 S    0.0  0.0  0:00  0 mdadm
 2330 root      RT  0  616  616  484 S    0.0  0.0  0:09  0 auditd
 2385 root      24  0  520  520  464 S    0.0  0.0  0:00  0 apmd
 2452 root      15  0  1560 1560  1316 S    0.0  0.1  0:00  0 sshd
 2468 root      24  0  900  900  780 S    0.0  0.0  0:00  0 xinetd
 2482 ntp      15  0  2572 2572  2204 S    0.0  0.2  0:00  0 ntpd
 2500 root      15  0  924  924  832 S    0.0  0.0  0:00  0 da-popb4smtp
 2510 nobody    15  0  1836 1836  1524 S    0.0  0.1  0:00  0 directadmin
 2525 mail      15  0  1816 1816  1492 S    0.0  0.1  0:00  0 exim
 2536 root      15  0  460  460  404 S    0.0  0.0  0:01  0 gpm
 2564 ftp      15  0  1280 1280  884 S    0.0  0.1  0:00  0 proftpd
 2575 root      15  0  568  568  492 S    0.0  0.0  0:00  0 vm-pop3d
 2605 root      16  0  624  624  544 S    0.0  0.0  0:00  0 crond
 2659 xfs      15  0  3208 3208  924 S    0.0  0.3  0:00  0 xfs
 2669 daemon    15  0  576  576  500 S    0.0  0.0  0:00  0 atd
 2681 root      23  0  416  416  364 S    0.0  0.0  0:00  0 mingetty
 2682 root      23  0  420  420  364 S    0.0  0.0  0:00  0 mingetty
 2683 root      23  0  420  420  364 S    0.0  0.0  0:00  0 mingetty
 2684 root      23  0  420  420  364 S    0.0  0.0  0:00  0 mingetty
 2685 root      23  0  420  420  364 S    0.0  0.0  0:00  0 mingetty
 2686 root      23  0  420  420  364 S    0.0  0.0  0:00  0 mingetty
 2687 root      15  0  3144 3144  2500 S    0.0  0.3  0:00  0 gdm-binary
 2745 root      15  0  3440 3440  2732 S    0.0  0.3  0:00  0 gdm-binary
 2746 root      15  0  137M 8400  2228 S    0.0  0.8  0:02  0 X
 2767 named    25  0  2840 2840  2104 S    0.0  0.2  0:00  0 named
 2768 named    15  0  2840 2840  2104 S    0.0  0.2  0:00  0 named
 2769 named    15  0  2840 2840  2104 S    0.0  0.2  0:00  0 named
 2771 named    15  0  2840 2840  2104 S    0.0  0.2  0:00  0 named
 2831 gdm      15  0 20684  20M  7316 S    0.0  2.0  0:00  0 gdmgreeter
 5479 root      15  0  568  568  492 S    0.0  0.0  0:00  0 vm-pop3d
 5480 root      15  0  568  568  492 S    0.0  0.0  0:00  0 vm-pop3d
 5483 root      16  0  568  568  492 S    0.0  0.0  0:00  0 vm-pop3d
 5484 root      15  0  568  568  492 S    0.0  0.0  0:00  0 vm-pop3d

can anyone help ?


All times are GMT -5. The time now is 06:36 PM.