cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Files Open...?

From: Thomas Hurst <tom.hurst_at_clara.net>
Date: Fri, 14 Dec 2001 23:57:32 +0000

* Jonathan Hilgeman (JHilgeman_at_ecx.com) wrote:

> I am using PHP and cURL to connect to a gateway, retrieve a page,
> and repeat the whole process about 1500 times. PHP is version 4.0.3
> and cURL is 7.4.1. Now, after a while, I begin getting cURL errors
> saying that cURL can't open a temporary file and that there are too
> many files open on the system.

Sounds like a fd leak, although nothing's obvious in the php ChangeLog.
Sure you're freeing all your resources in the script?

Try upgrading to the latest curl/php,

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
Received on 2001-12-15