Server memory fully consumed in 10 hours and it stop responding

Discussion in 'Site & Server Administration' started by kmap, Sep 26, 2008.

  1. #1
    Server memory fully consumed in 10 hours and it stop responding

    Server FEDORA 7 i686 on standard

    Upgraded Ram from 1 gb to 2 gb

    After upgradation of ram i am facing this problem

    Earlier i donot need to reboot server daily

    Now it needs booting daily

    Any suggestion thanks in advance

    Regards

    Alex
     
    kmap, Sep 26, 2008 IP
  2. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to provide more details about the problem. You haven't given us much to work with.

    How did you determine that it was a memory problem?

    Additional information such as the output for the following commands would be helpful:
    free -m
    ps auwxx

    If you actually think it might be faulty RAM, you should download the tool "memtester" and run it.
     
    jliu, Sep 26, 2008 IP
  3. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #3
    free -m

    total used free shared buffers cached
    Mem: 2018 593 1424 0 36 341
    -/+ buffers/cache: 216 1802
    Swap: 2047 0 2047

    ps auwxx

    root 2 0.0 0.0 0 0 ? S< 08:40 0:00 [kthreadd]
    root 3 0.0 0.0 0 0 ? S< 08:40 0:00 [migration/0]
    root 4 0.0 0.0 0 0 ? S< 08:40 0:00 [ksoftirqd/0]
    root 5 0.0 0.0 0 0 ? S< 08:40 0:00 [watchdog/0]
    root 6 0.0 0.0 0 0 ? S< 08:40 0:00 [migration/1]
    root 7 0.0 0.0 0 0 ? S< 08:40 0:00 [ksoftirqd/1]
    root 8 0.0 0.0 0 0 ? S< 08:40 0:00 [watchdog/1]
    root 9 0.0 0.0 0 0 ? S< 08:40 0:00 [events/0]
    root 10 0.0 0.0 0 0 ? S< 08:40 0:00 [events/1]
    root 11 0.0 0.0 0 0 ? S< 08:40 0:00 [khelper]
    root 62 0.0 0.0 0 0 ? S< 08:40 0:00 [kblockd/0]
    root 63 0.0 0.0 0 0 ? S< 08:40 0:00 [kblockd/1]
    root 66 0.0 0.0 0 0 ? S< 08:40 0:00 [kacpid]
    root 67 0.0 0.0 0 0 ? S< 08:40 0:00 [kacpi_notify]
    root 151 0.0 0.0 0 0 ? S< 08:40 0:00 [cqueue/0]
    root 152 0.0 0.0 0 0 ? S< 08:40 0:00 [cqueue/1]
    root 154 0.0 0.0 0 0 ? S< 08:40 0:00 [ksuspend_usbd]
    root 160 0.0 0.0 0 0 ? S< 08:40 0:00 [khubd]
    root 163 0.0 0.0 0 0 ? S< 08:40 0:00 [kseriod]
    root 201 0.0 0.0 0 0 ? S 08:40 0:00 [pdflush]
    root 202 0.0 0.0 0 0 ? S 08:40 0:00 [pdflush]
    root 203 0.0 0.0 0 0 ? S< 08:40 0:00 [kswapd0]
    root 254 0.0 0.0 0 0 ? S< 08:40 0:00 [aio/0]
    root 255 0.0 0.0 0 0 ? S< 08:40 0:00 [aio/1]
    root 343 0.0 0.0 0 0 ? S< 08:40 0:00 [khvcd]
    root 408 0.0 0.0 0 0 ? S< 08:40 0:00 [kpsmoused]
    root 442 0.0 0.0 0 0 ? S< 08:40 0:00 [ata/0]
    root 443 0.0 0.0 0 0 ? S< 08:40 0:00 [ata/1]
    root 444 0.0 0.0 0 0 ? S< 08:40 0:00 [ata_aux]
    root 448 0.0 0.0 0 0 ? S< 08:40 0:00 [scsi_eh_0]
    root 449 0.0 0.0 0 0 ? S< 08:40 0:00 [scsi_eh_1]
    root 464 0.0 0.0 0 0 ? S< 08:40 0:00 [kjournald]
    root 491 0.0 0.0 0 0 ? S< 08:40 0:00 [kauditd]
    root 528 0.0 0.0 2384 644 ? S<s 08:40 0:00 /sbin/udevd -d
    root 1069 0.0 0.0 0 0 ? S< 08:40 0:00 [kmpathd/0]
    root 1070 0.0 0.0 0 0 ? S< 08:40 0:00 [kmpathd/1]
    root 1096 0.0 0.0 0 0 ? S< 08:41 0:00 [kjournald]
    root 1338 0.0 0.0 0 0 ? S< 08:41 0:00 [loop0]
    root 1339 0.0 0.0 0 0 ? S< 08:41 0:00 [kjournald]
    root 1799 0.0 0.0 1800 596 ? Ss 08:41 0:00 syslogd -m 0
    root 1802 0.0 0.0 1740 396 ? Ss 08:41 0:00 klogd -x
    named 1866 0.0 0.5 56268 11956 ? Ssl 08:41 0:00 /usr/sbin/named -u named -t /var/named/chroot
    rpc 1896 0.0 0.0 2232 600 ? Ss 08:41 0:00 rpcbind
    root 1903 0.0 0.0 1724 316 ? S 08:41 0:00 /usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -facility=ma
    root 1904 0.0 0.0 2048 620 ? S 08:41 0:00 /usr/libexec/courier-authlib/authdaemond
    root 1939 0.0 0.0 2048 184 ? S 08:41 0:00 /usr/libexec/courier-authlib/authdaemond
    root 1940 0.0 0.0 2048 376 ? S 08:41 0:00 /usr/libexec/courier-authlib/authdaemond
    root 1941 0.0 0.0 2048 376 ? S 08:41 0:00 /usr/libexec/courier-authlib/authdaemond
    root 1942 0.0 0.0 2048 376 ? S 08:41 0:00 /usr/libexec/courier-authlib/authdaemond
    root 1943 0.0 0.0 2048 372 ? S 08:41 0:00 /usr/libexec/courier-authlib/authdaemond
    dbus 1946 0.0 0.0 2824 796 ? Ss 08:41 0:00 dbus-daemon --system
    root 1993 0.0 0.0 12800 1272 ? Ss 08:41 0:00 pcscd
    root 2026 0.0 0.0 1984 444 ? Ss 08:41 0:00 /usr/bin/hidd --server
    root 2057 0.0 0.0 6156 1136 ? Ssl 08:41 0:00 automount
    root 2083 0.0 0.0 5396 988 ? Ss 08:41 0:00 /usr/sbin/sshd
    root 2107 0.0 0.0 4684 1236 ? S 08:41 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/v
    mysql 2159 18.5 0.9 124304 20320 ? Sl 08:41 6:51 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql
    root 2194 0.0 0.1 7792 3476 ? S 08:41 0:00 chkservd
    root 2205 0.0 0.0 1724 240 ? S 08:41 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd
    root 2206 0.0 0.0 1836 532 ? S 08:41 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -
    root 2212 0.0 0.0 1724 240 ? S 08:41 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start -name=im
    root 2213 0.0 0.0 1836 528 ? S 08:41 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -
    root 2219 0.0 0.0 1724 324 ? S 08:41 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d
    root 2220 0.0 0.0 1836 556 ? S 08:41 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -
    root 2225 0.0 0.0 1724 244 ? S 08:41 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d-ssl.pid -start -name=po
    root 2226 0.0 0.0 1836 528 ? S 08:41 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=50 -
    mailnull 2254 0.0 0.0 10064 960 ? Ss 08:41 0:00 /usr/sbin/exim -bd -q60m
    mailnull 2257 0.0 0.0 10060 900 ? Ss 08:41 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    root 2378 0.1 1.3 31480 28696 ? Ss 08:41 0:02 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.
    root 2387 0.0 0.4 21780 8940 ? Ss 08:41 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    root 2406 0.0 0.0 6892 1184 ? Ss 08:41 0:00 pure-ftpd (SERVER)
    root 2408 0.0 0.0 6620 788 ? S 08:41 0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
    root 2426 0.0 0.0 7452 1816 ? Ssl 08:41 0:00 console-kit-daemon
    root 2503 0.0 0.2 18464 6048 ? S 08:41 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    root 2504 0.0 0.0 5340 1112 ? Ss 08:41 0:00 crond
    root 2596 0.0 0.3 11836 6540 ? Ss 08:41 0:00 tailwatchd
    root 2672 0.0 0.3 17500 7776 ? S 08:41 0:00 cpsrvd - waiting for connections
    root 2681 0.0 1.3 31480 27464 ? S 08:41 0:00 spamd child
    root 2682 0.0 1.3 31480 27444 ? S 08:41 0:00 spamd child
    root 2690 0.0 0.3 15924 8024 ? S 08:41 0:00 cpdavd - accepting connections on 2077 and 2078
    root 2697 0.0 0.3 14244 7308 ? SN 08:41 0:00 cpanellogd - sleeping for logs
    root 2733 0.0 0.0 2056 676 ? Ss 08:41 0:00 /sbin/dhcdbd --system
    root 2748 0.0 0.5 22536 11232 ? SN 08:41 0:00 /usr/bin/python /usr/sbin/yum-updatesd
    68 2763 0.0 0.1 4664 2736 ? Ss 08:41 0:00 hald
    root 2764 0.0 0.0 3084 984 ? S 08:41 0:00 hald-runner
    68 2775 0.0 0.0 2072 792 ? S 08:41 0:00 hald-addon-keyboard: listening on /dev/input/event2
    68 2776 0.0 0.0 2072 788 ? S 08:41 0:00 hald-addon-keyboard: listening on /dev/input/event3
    68 2786 0.0 0.0 2072 792 ? S 08:41 0:00 hald-addon-acpi: listening on acpi kernel interface /proc/acpi/even
    root 2814 0.0 0.0 1748 416 ? Ss 08:41 0:00 /usr/sbin/portsentry -tcp
    root 3433 0.0 0.0 3204 556 ? S 08:41 0:00 /usr/sbin/smartd -q never
    root 3436 0.0 0.0 1724 436 tty1 Ss+ 08:41 0:00 /sbin/mingetty tty1
    root 3437 0.0 0.0 1724 436 tty2 Ss+ 08:41 0:00 /sbin/mingetty tty2
    root 3438 0.0 0.0 1724 436 tty3 Ss+ 08:41 0:00 /sbin/mingetty tty3
    root 3439 0.0 0.0 1724 440 tty4 Ss+ 08:41 0:00 /sbin/mingetty tty4
    root 3440 0.0 0.0 1724 440 tty5 Ss+ 08:41 0:00 /sbin/mingetty tty5
    root 3441 0.0 0.0 1724 436 tty6 Ss+ 08:41 0:00 /sbin/mingetty tty6
    root 3725 0.0 0.0 0 0 ? Z 08:45 0:00 [authProg] <defunct>
    root 3910 0.0 0.1 8272 2428 ? Ss 08:47 0:00 sshd: ebook1 [priv]
    ebook1 3915 0.0 0.0 8432 1456 ? S 08:47 0:00 sshd: ebook1@pts/0
    ebook1 3916 0.0 0.0 4684 1496 pts/0 Ss 08:47 0:00 -bash
    root 3948 0.0 0.0 4944 1220 pts/0 S 08:47 0:00 su
    root 3950 0.0 0.0 4816 1540 pts/0 S 08:47 0:00 bash
    root 4803 0.0 0.0 0 0 ? Z 09:00 0:00 [authProg] <defunct>
    nobody 5523 0.4 0.6 25308 12748 ? S 09:12 0:01 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5546 0.3 0.7 28460 15672 ? S 09:12 0:01 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5555 0.0 0.7 28092 14588 ? S 09:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5557 0.0 0.5 23516 10436 ? S 09:12 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5727 3.6 0.6 25320 12840 ? S 09:14 0:07 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5752 0.0 0.7 28144 14692 ? S 09:14 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5794 0.0 0.4 22996 9912 ? S 09:15 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5816 0.1 0.4 23240 10236 ? S 09:15 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5818 1.6 0.5 23044 10564 ? S 09:15 0:02 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5819 0.1 0.4 23620 10280 ? S 09:15 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5821 1.1 0.6 25308 12748 ? S 09:15 0:01 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5823 0.1 0.5 23584 10580 ? S 09:15 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    root 5842 0.0 0.1 7388 3816 ? S 09:16 0:00 /etc/authlib/authProg
    root 5846 0.0 0.1 7388 3816 ? S 09:16 0:00 /etc/authlib/authProg
    nobody 5861 1.5 0.6 25260 12548 ? S 09:16 0:01 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5863 0.1 0.4 23288 10296 ? S 09:16 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5865 1.0 0.5 23560 10948 ? S 09:16 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5866 1.2 0.5 23048 10432 ? S 09:16 0:01 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5867 8.1 0.6 25820 13252 ? S 09:16 0:07 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5868 0.0 0.3 21780 7984 ? S 09:16 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5904 0.0 0.3 21780 7988 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5905 0.0 0.3 21780 7992 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5906 0.0 0.3 21780 7980 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5908 0.1 0.4 22952 9840 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5910 0.0 0.3 21780 7980 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5912 0.0 0.3 21780 7984 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5913 0.1 0.4 22992 9868 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5914 0.1 0.4 23228 10048 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5915 0.0 0.3 21780 7980 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5948 0.0 0.3 21780 7516 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5949 0.2 0.5 23952 10448 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5950 0.4 0.4 22992 9868 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5952 0.0 0.3 21780 7368 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5953 0.0 0.3 21780 7376 ? S 09:17 0:00 /usr/local/apache/bin/httpd -k start -DSSL
    nobody 5954 0.0 0.0 0 0 ? Z 09:17 0:00 [httpd] <defunct>
    root 5960 0.0 0.0 4508 940 pts/0 R+ 09:18 0:00 ps auwxx
     
    kmap, Sep 26, 2008 IP
  4. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    use top to see which process eating your memory much
    or check dmesg or /var/log/messages to see if there is memory failure :)
     
    nimhost, Sep 26, 2008 IP