-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huge amount of zombie processes cause system hang #32
Comments
Yeah, that doesn't look good :-/ I'm running uftpd as an inetd service myself, so I haven't seen this unfortunately. I'll try to get some time to look at it during the weekend. |
Hi again, for quite some time now I've tried replicating your bug report. I'm running a server with:
and a client that repeatedly uploads a file every five seconds, without shutting down the connection:
Unfortunately I've had no luck so far as to replicating your problem. Is there anything else you could tell me about your case? E.g.:
|
Hi, thank you for looking into this. This is a tricky one, and I am afraid I do not have a lot of additional information. |
OK, since this seems to be non-trivial, I'll unfortunately have to put it on the back burner. I have a few embedded ARM targets which I can test this on, but I'm not sure when I'll have time to try and reproduce this specific case. Sorry! :-/ First order of business though is to port uftpd to myLinux, which is my testing ground for most of my projects. That'll probably happen during the upcoming weekend. |
That's unfortunate. If you have a way of reliably reproducing this it world be very appreciated. |
A colleague of mine has been looked into this and has made this change:
This seems to fix the "zombie-problem". BR |
@ArthurDents wow, that's amazing, nice catch! I'm left wondering if |
Hi
I have discovered an issues with the uftpd which causes a huge amount of zombie processes, and eventually I loose contact with the target and a hard reset (power on/off) is required.
My test setup:
I have an ftp client that opens up an ftp connection to uftpd, and each 5 sec the client upload a number of log files (the log files are constantly being updated on the target). I do not disconnect between the transfers, i.e. the ftp connection is open during the session.
This can run fine for a days/a week, but sometimes there is a build up of zombie process, and each time my ftp client tries to upload files I get more zombie process.
E.g.:
From console there are ftp error messages:
Eventually there are around 11000-12000 zombie processes, and I loose contact with the unit. E.g. trying to run a simple ls command:
I haven't figured out what's trigger this. Maybe a network issue since it happen on two units at the same time, but this has not been verified.
Any idea what causing this?
I am using version 2.13.
Configuration:
uftpd -n -l err -o ftp=9013,tftp=0 /mnt/ramdisk
BR
AD
The text was updated successfully, but these errors were encountered: