Socks5 proxy "Dante" leaves many child processes stuck in FIN_WAIT2 / CLOSE_WAIT state

Posted by Asad R. on Server Fault See other posts from Server Fault or by Asad R.
Published on 2010-06-13T09:52:28Z Indexed on 2010/06/13 9:53 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

I'm running dante v1.2.1 as a SOCKS proxy server. The proxy works fine but at the end of the day there are around 40-50 or more child processes of sockd running even though there are no active connections.

lsof shows that the child processes all have sockets in the CLOSE_WAIT and FIN_WAIT2 state. These child processes stay in this state unless I manually killall/restart the daemon.

I'm running Gentoo Linux on a 2.6.24-23-xen kernel. I recently upgraded from dante v1.1.19-r4 which was giving me the exact same problem.

Is this a configuration issue with Dante, my system, or is it a coding issue in the dante code?

© Server Fault or respective owner

Related posts about linux

Related posts about linux-server