Ad Widget

Collapse

zabbix_server memory leak

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jharr
    Junior Member
    • Jun 2006
    • 4

    #1

    zabbix_server memory leak

    zabbix_server has a memory leak somewhere. Interestingly, it only happened to one process, the one which did most of the processing.

    Code:
    # ps auxwf | grep -E '^USER|zabbix'
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root     30631  0.0  0.0   2696   536 pts/0    S+   19:53   0:00                  \_ grep -E ^USER|zabbix
    zabbix    6806  0.0  0.0  14552  1100 ?        S    Aug16   0:00 /home/zabbix/bin/zabbix_server
    zabbix    6820  0.0  0.0  14552  1036 ?        S    Aug16   0:00  \_ /home/zabbix/bin/zabbix_server
    zabbix    6822  0.0  0.0  14552   808 ?        S    Aug16   0:00  \_ /home/zabbix/bin/zabbix_server
    zabbix    6824  0.0  0.0  14660  1140 ?        S    Aug16  10:27  \_ /home/zabbix/bin/zabbix_server
    zabbix    6826  0.0  0.1  18196  4812 ?        S    Aug16   0:28  \_ /home/zabbix/bin/zabbix_server
    zabbix    6828  0.3 66.1 3899856 2674600 ?     S    Aug16  93:30  \_ /home/zabbix/bin/zabbix_server
    zabbix    6829  0.0  0.0  14628  1040 ?        S    Aug16   0:20  \_ /home/zabbix/bin/zabbix_server
    zabbix    6832  0.0  0.0  14628  1040 ?        S    Aug16   0:21  \_ /home/zabbix/bin/zabbix_server
    zabbix    6834  0.0  0.0  14628   924 ?        S    Aug16   0:21  \_ /home/zabbix/bin/zabbix_server
    zabbix    6836  0.0  0.0  14628   924 ?        S    Aug16   0:21  \_ /home/zabbix/bin/zabbix_server
    zabbix    6838  0.0  0.0  14628   924 ?        S    Aug16   0:20  \_ /home/zabbix/bin/zabbix_server
    zabbix    6813  0.0  0.0   8764   780 ?        SN   Aug16   0:06 /home/zabbix/bin/zabbix_agentd
    zabbix    6814  0.0  0.0   8780   636 ?        SN   Aug16   0:23  \_ /home/zabbix/bin/zabbix_agentd
    zabbix    6815  0.0  0.0   8780   636 ?        SN   Aug16   0:23  \_ /home/zabbix/bin/zabbix_agentd
    zabbix    6816  0.0  0.0   8780   636 ?        SN   Aug16   0:23  \_ /home/zabbix/bin/zabbix_agentd
    zabbix    6817  0.0  0.0   8780   636 ?        SN   Aug16   0:23  \_ /home/zabbix/bin/zabbix_agentd
    zabbix    6818  0.0  0.0   8828   584 ?        SN   Aug16   0:00  \_ /home/zabbix/bin/zabbix_agentd
    A simple restart fixed it. I didn't think to run an `lsof` before I killed it to see if there was any useful information there. I will if this happens again.

    I'm compiling from source on an ubuntu 5.10 x86_64 box. My configure command looks like this:
    ./configure --enable-server --enable-agent --prefix=/home/zabbix/

    Let me know if you need any more information.

    Thanks,
    James
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    This is interesting! We have several test systems running for months on Ubuntu 64bit and I see absolutely no evidence of a memory leak. Actually we
    even did several tests regarding possible memory leaks before release of 1.1.

    May I ask you to monitor memory usage of ZABBIX server? On server startup you may also see PIDs and names of the processes. I would appreciate if you could say what was the process.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...