curl-users
Re: Curl consuming 100% CPU time
Date: Wed, 1 Nov 2000 08:25:55 +0100 (MET)
On Tue, 31 Oct 2000, Sumanda Basu wrote:
(This reply is Cc'ed to the curl mailing list, please direct further comments
and bugs questions to the list.)
> I am using curl for ftp downloading of some files from some remote servers.
> I am automating the job by scheduling it to execute through a Vignette
> template using TCL script for downloading multiple files.
I'm not familiar with what a "Vignette template" is.
> But often curl.exe creates its multiple instances and consumes 100% of
> CPU utilisation.
Curl doesn't create multiple instances. Curl is a single tool running in a
single task.
> Each instance of curl application consumes upto 50% of CPU time.
"Each instance" ? That's some program starting many curls, that's not a curl
behaviour.
What if you use a single curl running from the command line, does the same
effect occur then? What if you use the -v option, can you spot anything
particular that happens when the unusual CPU utilization happens?
> Any suggestion for automating ftp download of the files from a remote
> server in this regard.
Curl usually does this splededly.
-- Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2000-11-01