Ad Widget

Collapse

Problem with too much average load while running zabbix_server 1.4.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • claytronic
    Member
    • Nov 2006
    • 52

    #16
    Originally posted by Alexei
    Here is the patch:

    Code:
    Index: src/zabbix_server/trapper/active.c
    ===================================================================
    --- src/zabbix_server/trapper/active.c    (revision 5199)
    +++ src/zabbix_server/trapper/active.c    (revision 5209)
    @@ -100,7 +100,6 @@
             if( zbx_tcp_send_raw(sock,s) != SUCCEED )
             {
                 zabbix_log( LOG_LEVEL_WARNING, "Error while sending list of active checks");
    -            zbx_tcp_close(sock);
                 return  FAIL;
             }
         }
    @@ -114,7 +113,6 @@
         if( zbx_tcp_send_raw(sock,s) != SUCCEED )
         {
             zabbix_log( LOG_LEVEL_WARNING, "Error while sending list of active checks");
    -        zbx_tcp_close(sock);
             return  FAIL;
         }
    I started getting high CPU usage messaged from our central Zabbix server node earlier this week. After I performed some other needed optimizations (Alternative PHP Cache and MySQL-innodb-heavy-4G.cnf) cpu load was was reduced but then I noticed zabbix_server processes exibiting the same behavior discussed in this thread. Recompiling my 1.4.4 Debian packages with this patch, has further reduced total CPU usages.

    Previous load average: 1.78, 2.32, 4.40
    Current load average: 0.48, 0.81, 1.08
    Last edited by claytronic; 20-03-2008, 20:30.

    Comment

    Working...