PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30310 user 25 0 7200 5132 2428 R 99.7 0.5 78:19.62 lftp
With lftp-3.3.3rc1, lftp seems to be chewing up all my CPU!
BTW, box has 1GB of ram and 2GB of swap and CPU = 3.4GHZ, not a HW
problem, this recently cropped up in 3.3.3rc1.
I straced the process, I get this:
gettimeofday({1129639118, 789698}, NULL) = 0
fcntl64(0, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(0, 0xbf80aceb, 1) = -1 EAGAIN (Resource temporarily
unavailable)
fcntl64(0, F_SETFL, O_RDWR) = 0
read(7, 0x8311d0f, 4686) = -1 EAGAIN (Resource temporarily
unavailable)
read(4, 0x8286090, 5) = -1 EAGAIN (Resource temporarily
unavailable)
gettimeofday({1129639118, 790100}, NULL) = 0
fcntl64(0, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(0, 0xbf80aceb, 1) = -1 EAGAIN (Resource temporarily
unavailable)