Forum Moderators: phranque

Message Too Old, No Replies

Apache Error- holts script

         

freddo99

8:45 pm on Sep 1, 2004 (gmt 0)

10+ Year Member



Can anyone help me with the following error message.

[Wed Sep 01 07:50:09 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting.

I have a script running which gets halted each time this happens.

Any clues as to what causes the error and how it can be avoided much appreciated

RonPK

9:58 am on Sep 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



4294967295 is the highest value that can be stored in a 32-bit integer. So I guess your script is running into some kind of limit.

Does the script contain a large loop? Maybe even an infinite loop?

Which script language / version? Which OS? Which Apache version?

freddo99

7:57 pm on Sep 2, 2004 (gmt 0)

10+ Year Member



Thanks for that Ron - yes there are a couple of loops one inside the other i=240, j=36 Each loop of j takes about 10 seconds and each loop of i about 6 minutes.

I am running a weather station and want the script to run for 24 hrs then the html page is refreshed and the script restarts.

Apache is running on XP so I can't use a cron job.

RonPK

8:35 pm on Sep 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I recall certain versions of PHP having problems with long loops; that's why I asked about script language and version...

Maybe the Windows Task Scheduler can be useful instead of cron?

freddo99

8:49 pm on Sep 2, 2004 (gmt 0)

10+ Year Member



Hi again Ron
Script is PHP 5 and server is Apache 2 and OS is XP Pro