Massive Memory Usage

Discussion in 'General' started by Telco, Dec 27, 2007.

  1. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    I am having a problem with memory. I am having to reboot the server every night. There seems to be a memory leak. I don't know where it is yet. The system can just sit there without use and after about 6 hours the usage has gone from 20% to 90%. Then when in a call it will max out causing audio issues. Any one else having high memory usage?
     
  2. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Hello Telco.

    What version of elastix got? and you can run command top in one console and send me .
     
  3. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    I am running the latest version of Elastix. 0.9.2 although this has been happening ever since I started with elastix version 0.8.4

    I don't understand what you mean when you say 'run command top in one console'
     
  4. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    ok. In you server elastix write top. For see the process with more % cpu.
     
  5. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    top - 11:02:38 up 23:37, 1 user, load average: 0.06, 0.05, 0.01
    Tasks: 110 total, 1 running, 109 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 515664k total, 453032k used, 62632k free, 29032k buffers
    Swap: 779144k total, 68k used, 779076k free, 216604k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    7325 root 15 0 2180 1020 800 R 0.7 0.2 0:00.81 top
    1 root 15 0 2052 644 556 S 0.0 0.1 0:00.66 init
    2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
    4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
    6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
    7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
    10 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kblockd/0
    11 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
    79 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0
    82 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
    84 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
    144 root 15 0 0 0 0 S 0.0 0.0 0:00.01 pdflush
    145 root 15 0 0 0 0 S 0.0 0.0 0:01.14 pdflush
    146 root 10 -5 0 0 0 S 0.0 0.0 0:00.63 kswapd0
    147 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
    302 root 16 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
    319 root 10 -5 0 0 0 S 0.0 0.0 0:03.80 kjournald
    346 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kauditd
    380 root 21 -4 2140 592 388 S 0.0 0.1 0:00.29 udevd
    1029 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kmpathd/0
    1035 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kmirrord
    1054 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
    1538 root 14 -3 12068 644 484 S 0.0 0.1 0:00.62 auditd
    1540 root 12 -3 10104 3872 2272 S 0.0 0.8 0:01.09 python
    1558 root 18 0 1716 596 500 S 0.0 0.1 0:00.79 syslogd
    1561 root 15 0 1668 404 336 S 0.0 0.1 0:00.01 klogd
    1597 rpc 19 0 1804 568 468 S 0.0 0.1 0:00.00 portmap
    1622 rpcuser 24 0 1816 728 632 S 0.0 0.1 0:00.02 rpc.statd
    1666 root 15 0 5412 568 272 S 0.0 0.1 0:00.00 rpc.idmapd
    1693 dbus 17 0 2728 732 584 S 0.0 0.1 0:00.00 dbus-daemon
    1734 root 18 0 1660 544 460 S 0.0 0.1 0:00.00 acpid
    1782 root 18 0 6160 1032 668 S 0.0 0.2 0:00.24 sshd
    1798 root 24 0 2696 864 692 S 0.0 0.2 0:00.00 xinetd
    1816 ntp 15 0 4332 4332 3324 S 0.0 0.8 0:00.07 ntpd
    1833 root 25 0 5068 500 236 S 0.0 0.1 0:00.00 vsftpd
    1900 root 25 0 4512 1284 1124 S 0.0 0.2 0:00.02 mysqld_safe
    1936 mysql 18 0 137m 29m 4056 S 0.0 5.8 0:58.99 mysqld
    2087 cyrus 15 0 13016 2760 1672 S 0.0 0.5 0:00.22 cyrus-master
    2108 cyrus 15 0 29896 484 164 S 0.0 0.1 0:00.00 idled
    2114 cyrus 18 0 31388 2156 1732 S 0.0 0.4 0:00.01 imapd
    2115 cyrus 18 0 31384 2160 1740 S 0.0 0.4 0:00.01 imapd
     
  6. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    top - 11:02:38 up 23:37, 1 user, load average: 0.06, 0.05, 0.01
    Tasks: 110 total, 1 running, 109 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 515664k total, 453032k used, 62632k free, 29032k buffers
    Swap: 779144k total, 68k used, 779076k free, 216604k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    7325 root 15 0 2180 1020 800 R 0.7 0.2 0:00.81 top
    1 root 15 0 2052 644 556 S 0.0 0.1 0:00.66 init
    2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
    4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
    6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
    7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
    10 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kblockd/0
    11 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
    79 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0
    82 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
    84 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
    144 root 15 0 0 0 0 S 0.0 0.0 0:00.01 pdflush
    145 root 15 0 0 0 0 S 0.0 0.0 0:01.14 pdflush
    146 root 10 -5 0 0 0 S 0.0 0.0 0:00.63 kswapd0
    147 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
    302 root 16 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
    319 root 10 -5 0 0 0 S 0.0 0.0 0:03.80 kjournald
    346 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kauditd
    380 root 21 -4 2140 592 388 S 0.0 0.1 0:00.29 udevd
    1029 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kmpathd/0
    1035 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kmirrord
    1054 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
    1538 root 14 -3 12068 644 484 S 0.0 0.1 0:00.62 auditd
    1540 root 12 -3 10104 3872 2272 S 0.0 0.8 0:01.09 python
    1558 root 18 0 1716 596 500 S 0.0 0.1 0:00.79 syslogd
    1561 root 15 0 1668 404 336 S 0.0 0.1 0:00.01 klogd
    1597 rpc 19 0 1804 568 468 S 0.0 0.1 0:00.00 portmap
    1622 rpcuser 24 0 1816 728 632 S 0.0 0.1 0:00.02 rpc.statd
    1666 root 15 0 5412 568 272 S 0.0 0.1 0:00.00 rpc.idmapd
    1693 dbus 17 0 2728 732 584 S 0.0 0.1 0:00.00 dbus-daemon
    1734 root 18 0 1660 544 460 S 0.0 0.1 0:00.00 acpid
    1782 root 18 0 6160 1032 668 S 0.0 0.2 0:00.24 sshd
    1798 root 24 0 2696 864 692 S 0.0 0.2 0:00.00 xinetd
    1816 ntp 15 0 4332 4332 3324 S 0.0 0.8 0:00.07 ntpd
    1833 root 25 0 5068 500 236 S 0.0 0.1 0:00.00 vsftpd
    1900 root 25 0 4512 1284 1124 S 0.0 0.2 0:00.02 mysqld_safe
    1936 mysql 18 0 137m 29m 4056 S 0.0 5.8 0:58.99 mysqld
    2087 cyrus 15 0 13016 2760 1672 S 0.0 0.5 0:00.22 cyrus-master
    2108 cyrus 15 0 29896 484 164 S 0.0 0.1 0:00.00 idled
    2114 cyrus 18 0 31388 2156 1732 S 0.0 0.4 0:00.01 imapd
    2115 cyrus 18 0 31384 2160 1740 S 0.0 0.4 0:00.01 imapd
     
  7. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    System Resources
    CPU Info: GenuineIntel Pentium III (Coppermine)
    Uptime: 23 hour(s), 47 minute(s)
    CPU usage: 1.20% used of 794.77 MHz
    Memory usage: 82.14% used of 503.58 Mb
    Swap usage: 0.01% used of 760.88 Mb
     

Share This Page