Bug 7832 - [ftpd] When login the ftpd server, there are many zombie processes
Summary: [ftpd] When login the ftpd server, there are many zombie processes
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 09:32 UTC by reddy_quan
Modified: 2015-01-27 10:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
txt log (1.96 KB, text/plain)
2015-01-26 09:32 UTC, reddy_quan
Details

Note You need to log in before you can comment on or make changes to this bug.
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!