|
From: TJ S. <tj...@ca...> - 2010-07-15 17:42:59
|
> >From time to time, I find a proftpd process hung and spinning, i.e. > >just looping this system call over and over: What version of proftpd are you running? Does this happen for FTPS connections, or for plain FTP connections? > 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. No. If the client was actually gone, then read(2) wouldn't return an error, it would return zero to indicate the EOF. TJ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A man said to the Universe: "Sir, I exist!" "However," replied the Universe, "the fact has not created in me a sense of obligation." -Stephen Crane ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |