|
From: John S. <sp...@up...> - 2010-07-15 16:53:33
|
Hi, From time to time, I find a proftpd process hung and spinning, i.e. just looping this system call over and over: read(14, 0x4115585, 818) = -1 EAGAIN (Resource temporarily unavailable) Looking at the processes open files, I see that fd 14 (and 15) is the server's socket to the client: proftpd 16152 ftp 14u IPv4 491663853 TCP origin.www.upenn.edu:60186->129.21.68.41:4486 (ESTABLISHED) proftpd 16152 ftp 15u IPv4 491663853 TCP origin.www.upenn.edu:60186->129.21.68.41:4486 (ESTABLISHED) I think the client connection is long since gone by the time I notice these problems. I don't have debugging info, but the extended log holds this for that process: Jul 14 19:48:32 129.21.68.41 nobody ftp(16152) "CWD ." - - Jul 14 19:48:32 129.21.68.41 xxxx ftp(16152) "PASS (hidden)" 232 - Jul 14 19:48:32 129.21.68.41 xxxx ftp(16152) "USER xxxx" - - Jul 14 19:48:32 129.21.68.41 xxxx ftp(16152) "FEAT" 500 - Jul 14 19:48:32 129.21.68.41 xxxx ftp(16152) "PWD" 257 - Jul 14 19:48:32 129.21.68.41 xxxx ftp(16152) "CWD /some/real/path/that/exists/news images/" 250 - Jul 14 19:48:33 129.21.68.41 xxxx ftp(16152) "PWD" 257 - Jul 14 19:48:34 129.21.68.41 xxxx ftp(16152) "LIST" 226 262 Any ideas as to the cause of this problem? Or additional steps I could take the next time it happens for better debugging info? |