PHP Crashing on iPlanet 6sp4 Enterprise, Solaris 8, PHP 4.3.0

From: Date: Wed, 29 Jan 2003 16:24:02 +0000
Subject: PHP Crashing on iPlanet 6sp4 Enterprise, Solaris 8, PHP 4.3.0
Groups: php.general 
Request: Send a blank email to php-general+get-133524@lists.php.net to get a copy of this message
I get this error after php executes a script a few times. This doesn't seem to reproduce under any certain conditions, typically within a few hits though. Warning: Unknown(/local/home/cxadmin/content/Sites/Site01/DocumentRoot/phpinfo.php): failed to create stream: Too many open files in Unknown on line 0 Warning: Unknown(): Failed opening '/local/home/cxadmin/content/Sites/Site01/DocumentRoot/phpinfo.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 MEASURES ALREADY TAKEN: recompile of the php module ('./configure' '--without-mysql' '--with-nsapi=/local/Netscape/iplanet/www6.0sp4' '--enable-track-vars' '--enable-libgcc' ) Upped the Hard File Descriptor to 7554 explicitly set include path, session.save path, and safe_mode ENVIRONMENT: We have this running with out a hitch on two other boxes, under the same environment setup, with the exception of there are two instances of iPlanet running on the box that keeps crashing. CODE: // Logic To Decide Which Image To Include $DESIGN; if ($SEL == 1) { $DESIGN="design_1.jpg"; } else if ($SEL == 2) { $DESIGN="design_2.jpg"; } else if ($SEL == 3) { $DESIGN="design_3.jpg"; } else if ($SEL == 4) { $DESIGN="design_4.jpg"; } else if ($SEL == 5 ) { $DESIGN="design_5.jpg"; } else { $DESIGN="design_6.jpg"; } //Email Headers $headers .= "From: ".$FNAME."<".$FEML.">\n"; $headers .= "X-Sender: <".$FEML.">\n"; $headers .= "X-Mailer: <".$FNAME.">\n"; $headers .= "Return-Path: <".$FEML.">\n"; $headers .= "Content-Type: text/html"; // Display Header Content $Message ="<TABLE WIDTH=548 Height=466 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor=#990000>\n"; $Message .="<tr colspan=3 valign=middle>\n"; ...Other $Message Code Ommitted to save space //Mail function (variables are passed from the from on the previous page) Globals are set to on mail($TEML, $TNAME.", You Have An AE-card From ".$FNAME, $Message, $headers); Anyone run into anything even remotely similar? All help will be appreciated. John Web Developer diltsj@ae.com There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. - Douglas Adams

« previous php.general (#133524) next »