Re: Problem with readfile, fsockopen, intermittent with apache

From: Date: Mon, 26 May 2003 01:42:35 +0000
Subject: Re: Problem with readfile, fsockopen, intermittent with apache
Groups: php.general 
Request: Send a blank email to php-general+get-148944@lists.php.net to get a copy of this message
Running version 4.3.1 of PHP on RedHat Linux 7.3 and Apache 1.3.27 This is a shared server with many users running so I don't have direct control over all the code. Although, is there a way to see what socket descriptors apache is using at a current time? Perhaps what process or script they are attached to, then I could find out what are the problem scripts. Your suggestion seems very plausible and would explain it working for a short time after a restart. -Steven > Do you close the socket you're opening? If PHP is running as Apache module, > opened sockets may be left open if you don't close them (which opsys or > Apache version would do this?) so Apache or PHP is running out of socket > descriptors, probably. > > Just guessing.

« previous php.general (#148944) next »