Bug 7832

Summary: [ftpd] When login the ftpd server, there are many zombie processes
Product: Busybox Reporter: reddy_quan
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: txt log

Description reddy_quan 2015-01-26 09:32:22 UTC
Created attachment 5822 [details]
txt log

Busybox Version: busybox-1.23.0
Hi,
This is busybox-1.23.0 build on Ubuntu 12.04.4 LTS, I test it on win7 by login from explorer, it is ok, but I noticed that there are many zombie processes come out.

Here is a log:
root@machine:/home/reddy/test/busybox-1.23.0# ps aux|grep busybox
root       990  0.0  0.0  60060  1900 pts/2    S    17:16   0:00 sudo ./busybox tcpsvd -E 0.0.0.0 21 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root       991  0.0  0.0   8196   444 pts/2    S    17:16   0:00 ./busybox tcpsvd -E 0.0.0.0 21 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root       996  0.0  0.0   8200   852 pts/2    S    17:17   0:00 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root      1002  0.0  0.0   8200   892 pts/2    S    17:17   0:00 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root      1003  0.0  0.0      0     0 pts/2    Z    17:17   0:00 [busybox] <defunct>
root      1004  0.0  0.0      0     0 pts/2    Z    17:17   0:00 [busybox] <defunct>
root      1005  0.0  0.0      0     0 pts/2    Z    17:17   0:00 [busybox] <defunct>
root      1006  0.0  0.0      0     0 pts/2    Z    17:17   0:00 [busybox] <defunct>
root      1010  0.0  0.0      0     0 pts/2    Z    17:18   0:00 [busybox] <defunct>
root      1011  0.0  0.0      0     0 pts/2    Z    17:18   0:00 [busybox] <defunct>
root      1012  0.0  0.0      0     0 pts/2    Z    17:18   0:00 [busybox] <defunct>
root      1013  0.0  0.0      0     0 pts/2    Z    17:18   0:00 [busybox] <defunct>
root      1016  0.0  0.0  13596   936 pts/2    S+   17:18   0:00 grep --color=auto busybox
root@machine:/home/reddy/test/busybox-1.23.0# ps aux|grep busybox
root       990  0.0  0.0  60060  1900 pts/2    S    17:16   0:00 sudo ./busybox tcpsvd -E 0.0.0.0 21 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root       991  0.0  0.0   8196   444 pts/2    S    17:16   0:00 ./busybox tcpsvd -E 0.0.0.0 21 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root       996  0.0  0.0   8200   852 pts/2    S    17:17   0:00 ./busybox ftpd -w -t60000 -T600000 -vv /home/reddy
root      1018  0.0  0.0  13596   940 pts/2    S+   17:18   0:00 grep --color=auto busybox
root@machine:/home/reddy/test/busybox-1.23.0#

These zombies won't disappear before I logout the ftp server. I believe this is a bug.
Comment 1 Denys Vlasenko 2015-01-26 22:22:00 UTC
Fixed in git. Thanks!