curl-users
RE: CPU usage and hangups (fwd)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Mar 2002 13:46:48 +0100 (MET)
Date: Mon, 25 Mar 2002 13:46:48 +0100 (MET)
I'm forwarding your reply to the mailing list.
-- 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'`ol ---------- Forwarded message ---------- Date: Mon, 25 Mar 2002 13:41:53 +0100 From: "Mckinney, Ryan AG2" <mckinneyr_at_nemoc.navy.mil> To: 'Daniel Stenberg' <daniel_at_haxx.se> Subject: RE: CPU usage and hangups Daniel, I am using cURL 7.9.4 with libcurl 7.9.4 (OpenSSL 0.9.6c). The machine is a LINUX with Red Hat 6.2. Has dual processors (don't know the speed but its not slow). Here is an example of the way I am using cURL. curl -O -s -u XXXX:XXXX https://natowx.sembach.af.mil/somegifimage.gif. I run a bunch of them under /bin/sh shell on a cronjob. would that be a problem? "Again, what command lines do you use? curl has no default options that make it disconnect after a certain period of idleness, it'll try forever until the TCP connection is disconnected." so is there a way to have cURL disconnect after grabbing the products I want? For some input, cURL is the only program we have found that I could get products from a https connection. We tried a windows program and like windows crashed like you wouldn't belive. Sorry for not posting theis to the curl-users mailing list. and thanks for the quick respones. but the way, we are y'all located at? Ryan N McKinney -----Original Message----- From: Daniel Stenberg [mailto:daniel_at_haxx.se] Sent: Monday, March 25, 2002 1:22 PM To: Mckinney, Ryan AG2 Cc: Curl Mailinglist Subject: Re: CPU usage and hangups On Mon, 25 Mar 2002, Mckinney, Ryan AG2 wrote: [ This reply is CC'ed to the curl-users mailing list, please post follow-ups there. ] > First of all your program is great. Thanks! > Second, when ever I use cURL, my CPU usage goes to about 95-98%. why does > it need to use about all of my computer's power? It shouldn't need that (unless you have a truly slow computer with fast network access ;-)). What curl version on what operating system is this? What do you do to make this happen? > And also cURL gets hung up a lot. Sometimes when i use the "top" command, I > find a bunch of cURL processes that have been running for a while doing > nothing. Again, what command lines do you use? curl has no default options that make it disconnect after a certain period of idleness, it'll try forever until the TCP connection is disconnected. -- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-03-25