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/ .'

Reply via email to