cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: lib panic when multi-threading

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 13 Nov 2011 08:25:16 -0800

On Sun, Nov 13, 2011 at 11:37:43PM +0800, Woods wrote:
> I am using about 200 threads to request 100,000 different HTTP as well
> as HTTPS urls at a various request rates.
> I notices, when the request rate increases to over 100 requests per
> seconds, my application becomes easy to crash after 20,000 requests.
> However, the dumped crashing information is like :

Since you seem to be using SSL in a multi-threaded program, the standard
question to ask is whether you've followed all the requirements listed at
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
and read the man page for curl_global_init carefully?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-13