note 9961 added to CURL, Client URL Library Functions

From: Date: Mon, 04 Dec 2000 14:09:42 +0000
Subject: note 9961 added to CURL, Client URL Library Functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-8375@lists.php.net to get a copy of this message
I am running curl (curl 7.4.2 (i686-pc-linux-gnu) libcurl 7.4.2) on a linux machine (Linux linux924.dn.net 2.2.13 #1 SMP Tue Oct 26 11:53:39 EDT 1999 i686 unknown) with PHP-4.0.3pl1. I have PHP compiled as an Apache module, and it is used, essentially, to request the contents of a URL from another server, build that into the page and serve it. I had been using PHP's readfile() up until I found out about cURL's ability to handle timeouts and such. However, I have only been running cURL in this method for less than 12 hours now, and already my file allocations are hovering at maximum levels. Can anyone shed some light on why this is so? As such: # cat file-nr 65536 543 65536 ...seems strange to me, and causes errors all throughout my server and sites. I increased the number of file handles from 32768 to 65536, and it seemed to eat all of these up, too. http://www.php.net/manual/ref.curl.php

« previous php.notes (#8375) next »