Bug 24737

Summary: Socks5 clients die with leaving zombie processes on the server.
Product: Base System Reporter: nikolayg <nikolayg>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description nikolayg 2001-01-30 16:00:01 UTC
After starting the socks5 server in daemon mode and then you start a socks5 client say ICQ, a zombie process appears on the server. When you quit the application 2 more zombies appears. The same applies to MSN messenger. It starts without zombie but dies with leaving one.
When the quantity reaches 64 zombies no clients can connect to the socks5 server.
The socks5 server was compiled with --with-srvconffile and --with-srvpidfile. The version of the socks5 server is socks5 v1.0 release 11. The software was downloaded from www.socks.nec.com.
The kernel for FreeBSD was compiled without touching any options regarding the processes.

Fix: 

Not known yet.
How-To-Repeat: Just start socks5 server as socks5 -b 1080. Then start ICQ client. You'll see immediatly one zombie process. Quit ICQ and 2 more zombies appears.
Comment 1 iedowse freebsd_committer freebsd_triage 2002-08-12 21:00:06 UTC
State Changed
From-To: open->closed


The socks5 program is not part of the FreeBSD base system, and from 
your description, it sounds like FreeBSD is not at fault. Try using 
the socks5 port (/usr/ports/net/socks5) instead of compiling it 
manually. If the problem persists, maybe try filing a ports PR in 
case there are some additional FreeBSD-specific patches necessary.