[CentOS] High CPU usage by lftp
JohnS
jses27 at gmail.com
Tue May 12 05:57:02 UTC 2009
On Tue, 2009-05-12 at 04:48 +0000, Rajagopal Swaminathan wrote:
> JohnS <jses27 at ...> writes:
>
> >
> > What does uname -a say? Post It.
> uname -a
> Linux localhost.localdomain 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT
> 2009 i686 i686 i386 GNU/Linux
>
>
> > Post the complete lftp command also your using.
> >
>
>
>
> lftp -u 'username' ftp://ftpsite.com -d -e "set xfer:log true; set ftp:ssl-allow
> false;mirror -vc --log=/home/dnld/logs/lftp.log --parallel=10 /sourcedir/
> /home/dnld/Dnld;exit"
>
> For obvious reasons, I have had to hide exact details
>
> Is there a method to log the filenames that are downloaded?
Hmm prolly so, I believe for sure wget can do that and also
pull files from a server based on a filelist.
> Regards
>
> Rajagopal
---
Try this:
"lftp -e 'open ftp://ftpsite.com/pub/centos/5/updates && \
mirror -c --delete x86_64 && exit' "
Where do you get all those other options because there is no Man Page
and lftp --help shows very little. Anyway that is what I use to mirror
CentOS 5 4 and 2.1 with and no problems with high CPU usage.
JohnStanley
More information about the CentOS
mailing list