I have a zip file which contains around 1058 tgz files. In PHP, I extract the tgz files from the zip file one by one and process and then decompress the tgz file and process the content. The decompression works fine till 1016th tgz file. From 1017th tgz files I am getting "unable to create temporary file" error.
I am usisng PharData->decompress() method to decompress the tgz file in which line I am getting this error from 1017th file.
I have tried with another zip file which has 1158 files. In this case also, only 1016 files were processed (i.e., decompress and other functionalities worked fine). From 1017th file the decompress method throws the above error.