castor_troy Posted July 29, 2008 Share Posted July 29, 2008 I have a PHP script that creates a tar file of an entire directory. It works for most directories. However, when I tried running the script on a really large directory, It stopped working after tar file reached (1 958 010 880) in size. And apparently, it doesn't go to the next line which is supposed to gzip the tar file. Question: Is this a limitation of the system? Can it be overriden? Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 29, 2008 Share Posted July 29, 2008 Not being an expert here.. i but i would say its a resource issue, that the script runs out of resources and dies.. Quote Link to comment Share on other sites More sharing options...
castor_troy Posted July 29, 2008 Author Share Posted July 29, 2008 Not being an expert here.. i but i would say its a resource issue, that the script runs out of resources and dies.. any way to fix the script? btw, my script has set_time_limit(0); in the first line. Quote Link to comment Share on other sites More sharing options...
btherl Posted July 29, 2008 Share Posted July 29, 2008 Can you post the script? Or a smaller script that replicates the problem. Quote Link to comment Share on other sites More sharing options...
jaymc Posted July 29, 2008 Share Posted July 29, 2008 Make sure you are outputting all PHP errors It may be a memory issue Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.