Hello, Id first like to say that my script used to work fine in php4 without many process hangs (maby 1 per month). But after updating to php5 iv noticed after a few hours I end up with 5 or 6 php.exe's stuck in my process list using up memory.
Ok so heres what the script does so you get a general idea of what might be the problem. The script looks into a database for ips and then makes a connection to them to see if there online via connection and port. Well my database grows larger and larger every day I have about 49 ips listed in the database. Now basicly I run a cron that runs the php script directly to php.exe every 6 mins. So assuming somthing goes wrong like it has been, php does not time out and it just stays there in the process list untill I go into DOS and run the kill -f command. This happends mainly after 5 hours or so. If I leave it there for a few days without running the kill command I have like 6 or 7+ php.exes in the process.
My server is running windows 2000, php5 and a nnCron program.
So my question is has anyone had issues like this before and how did you solve them? Much thanks to anyone that can solve this major issue for me.