cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
RE: Multithreading Problems (CentOS 5.1)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Jun 2008 13:34:21 +0200 (CEST)
On Fri, 20 Jun 2008, Nick George wrote:
>> Using c-ares? What libcurl version? Which Linux kernel?
More modern kernels are faster. More modern libcurl releases are better.
> I've looked a bit further into the issue. If I comment out the
Most probably, yes. It would be interested to know which function that is. Do
> I've tried the same code on Ubuntu 8.04 (kernel 2.6.24-16-generic i686) with
I've seen similar things happen when the wrong driver was loaded for the
I'm not saying that's what you see, only that "waiting for a futex" is such a
> I ended up giving up on the multithreaded approach. I was having other
Those aren't "threads", but just individual transfers.
> This time, the call to select() is pausing for many seconds at a time. I
I wouldn't advice anyone to use select() with more than perhaps 50 file
BTW, what protocol(s) are you using? And what's the nature of the URLs do you
-- / daniel.haxx.seReceived on 2008-06-20
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info