[Sqlrelay-discussion] Forked listener removes unix socket file (patch available)
Brought to you by:
mused
From: Renat S. <sr...@st...> - 2011-11-10 15:40:13
|
Hello David, We've discovered weird problem in sqlrelay. In some circumstances forked listener removes unix socket file. It happens in alarm handler, when forked listener recieves SIGALRM and calls staticlistener's destructor. You've already put some protection for pidfile, shared memory and semaphores, but not for "unixport". As a result listener stops getting new connections by the local socket, though continues to accept connection by tcp. Please look at the patch attached. -- Renat Sabitov e-mail: sr...@st... Stack Soft jid: sr...@ja... |