PHP script exiting before it is finished
Posted on 2008-11-05
I have written a script for our website that imports listings into our database. The script does quite a bit of manipulating, importing listings, as well as pulling off and converting images from other sites (we have permission for all that).
However, my script always gets to around the 150 listing mark (no the same, sometimes 130's or more than 160) or in that range. I dont think it is a time limit on the script as I have set it quite high, and I also have another script written by someone else that runs alot longer but never quits prematurely.
Is there anything else other than time that could cause this premature exit, considering the code is good (when I restart the script it carries off from where it left off and goes for another 150 or so listings). Is it handling too much data? Is ther any way around this, i.e. clearing cache or letting it sleep for a while?