cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl cannot reconnect after some time

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 12 Jun 2009 23:38:18 +0200 (CEST)

On Thu, 11 Jun 2009, Erik Torres Serrano wrote:

> After this time, libcurl simply lost the connection to the server and can't
> reconnect again, regardless of the time you wait. Even more, when I use the
> server name instead of the server IP to connect the server, after this time
> libcurl can't resolve the address for the server. I haven't found anything
> suspect neither in the syslog nor in the Apache logs. Does anybody can give
> me a hint?

I suggest using strace or similar to see what exactly that fails. It sounds
like a possible socket/file descriptor leak to me.

-- 
  / daniel.haxx.se
Received on 2009-06-12