Re: Debugging PHP Script

From: Date: Thu, 27 Jul 2000 17:36:44 +0000
Subject: Re: Debugging PHP Script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8608@lists.php.net to get a copy of this message
It could be something like the process is running out of file descriptors. If the job is not completing in the 3 minutes and gets run again then the system or process could out of fd's or resources. Could try adding more by: echo 4096 > /proc/sys/file-max Other than that, I don't think I have enough info. Sorry! David. ps I agree with John Sherm, Montian Dew is packed with Caffy-goodness! ----- Original Message ----- From: Chris Cameron <chris@UpNIX.com> To: <php-general@lists.php.net> Sent: Thursday, July 27, 2000 6:15 PM Subject: [PHP] Debugging PHP Script > I have an enormus amount of code that makes use of mysql, and creates > and deletes files. It's a shell script that is run every 3 minutes by a > crontab. The problem I'm having is that unpredictibly (and very far > apart) it'll give an error (for 30 seconds stragit) "Invalid file > handling resource". But because it happens at unpredicted times, and > usually several hours apart I cannot figure out what's wrong with the > thing. The system isn't busy, nothing's using it's files, etc.. Checking > logs by crontab shows it doesn't happen at specific time intervals. > > So my question would be, is there something that'll help me debug my > script? I'm flat out of ideas, and I'm running out of Dr. Pepper (soon > I'll be useless). > > Any help would be greatly appreciated, > Thanks, > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#8608) next »