Large zip extraction - 10GB+
Hi,
I have a script that extracts a large zip file (10GB+) on the server in using PHP, it works sometimes and other times it doesn't.
The zip has around 40,000+ files in the root directory and while the extraction is happening as I see the process in WHM (top). the CPU usage goes high like 80+ or something but the memory usage is down to like 0.5 or something.
My question is that would adding more CPU (Cores) or RAM Necessary help in extracting the zip file faster?
The load on the server in most cases is mostly never more than 0.5 or something, server has 16 GB DDR4 Ramn and 8 cores (
Vendor GenuineIntel
Namem Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
Speed 1237.148 MHz
Cache 8192 KB
)
-
Hello, Is there a particular reason you have to use PHP to extract the zip file? PHP isn't really suited to extract files that large. Thank you. 0 -
Well... the script i bought does it. 0 -
Hello, Adding more CPU or RAM could help, but it's difficult to know for sure. It's generally a better idea to find an alternative method of extracting files of that size. Thank you. 0 -
Hi, We went ahead and utilized a Ajax extract solution. Thank you for your reply. 0
Please sign in to leave a comment.
Comments
4 comments