Ad Widget

Collapse

[Bugfix, critical] server trapper not checked zbx_tcp_accept result

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shmuma
    Member
    • Nov 2007
    • 49

    #1

    [Bugfix, critical] server trapper not checked zbx_tcp_accept result

    Hello,

    trapper in child_trapper_main routine calls zbx_tcp_accept, but won't check for it's return code. If this route failed, we blindly call process_trapper_child and finally close main socket we listen on with zbx_tcp_unaccept. Sometimes (quite often, in our case) this lead to hang of this trapper process, eating 100% of CPU in loop and do nothing usefull.
    Attached Files
    Last edited by Shmuma; 09-05-2008, 00:20.
  • Sasha
    Zabbix developer
    • Sep 2007
    • 60

    #2
    Thank you!
    Your path is integrated in revision 5735.
    ZABBIX Developer
    Riga, Latvia

    Comment

    Working...