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.
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.
Comment