On Thu, Jul 06, 2006 at 12:58:02PM +0200, Michael Ablassmeier wrote: > merge 377038 374758 > thanks > > hi Robert, > > On Thu, Jul 06, 2006 at 11:57:00AM +0200, Robert Millan [ackstorm] wrote: > > After stopping zabbix, there's a race condition with the old process > > terminating > > its children, which still are binding ports, and new process starting that > > attempt to claim the same port. > > yes, thats a problem in zabbix-agent and zabbix-server. Both agent and > server do not close their open file descriptors on termination, which > leaves the sockets in the TIME_WAIT state until the kernel gets rid of > them (usually after 60 seconds).
Ah yes, much better. Although I'd use fuser instead. grepping through netstat output is not as much reliable. while fuser 25/tcp > /dev/null 2>&1 ; do true ; done -- Robert Millan ACK STORM, S.L. - http://www.ackstorm.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

