I'm on FreeBSD, and have hence used ktrace. The processes get into a tight loop consisting of this:
49623 lftp CALL gettimeofday(0xbfbfed58,0) 49623 lftp RET gettimeofday 0 49623 lftp CALL gettimeofday(0xbfbfed58,0) 49623 lftp RET gettimeofday 0 49623 lftp CALL gettimeofday(0xbfbfed58,0) 49623 lftp RET gettimeofday 0 49623 lftp CALL gettimeofday(0xbfbfed58,0) Hope this helps, Grant On Fri, 11 Mar 2005, Alexander V. Lukyanov wrote: > On Thu, Mar 10, 2005 at 08:20:59AM +1100, Grant Bayley wrote: > > I currently use lftp (3.0.13, installed from FreeBSD ports) to mirror a > > bunch of HTTP-based material that's available in listings from particular > > sites. While lftp works like a charm for material in listings generated > > by Apache, for a few other different server types, I'll frequently log > > into my server (which attempts the mirroring from cron scripts) and find > > multiple hung processes that are days old. > > Could you please run strace -p on those hung processes to see what they are > doing? > > > /usr/local/bin/lftp -e 'o > > http://www.packetfactory.net/libnet/dist/deprecated/ && mirror -e -v && > > quit' > > It could be shorter: > /usr/local/bin/lftp -c 'mirror -ev > http://www.packetfactory.net/libnet/dist/deprecated/ .' >