Slow extraction in LAMP application
-
Hello,
I am very curios.
Is there any other way to extract the file quickly? I am currently in the process of creating a site and there was an update to the application.It took over 2 hours to extract and I don't know if it extracted or not because there was no progress bar.
Why am I asking about this? Because in the future, I want to be prepared for "quick updates" e.g. due to application security.
I am still missing a function in the file manager that is to select all files with "ctrl+a".
-
I encountered this once.
Extracting a .zip file in LAMP.
Got bored, stopped it, deleted folder, tried again, and it "zipped through".
I think more of a file system issue on the specific VPS, rather than the LAMP app.
Not seen issue again since. -
Changing the format helped! Thanks! Extracting to a new folder goes immediately. Interesting that a zip file does such problems.
But for that another problem After extracting the folder I wanted to move all files to the destination folder. I selected all the files but it only saves one file In my opinion, it's time-consuming to manually move all the files.
So a change of plan. I made the right folder on my computer to extract directly. After ripping the server, I enabled direct extract and well.... stands still.
-
Make sure you're using an efficient compression format for your update package. Formats like ZIP or tar.gz are commonly used for distributing files. If your update package is in a format that's known to be slow, consider switching to a more efficient one. [web]
-
@matix131997 said in Slow extraction in LAMP application:
files are 46,000 with a size of 240 MB
A large number of small files : likely adds to filesystem slowness ?
-
I am back after a small test.
@timconsidine Yes it is a large number of small files.
After checking with different formats. Only started to work as it should with ".tar" format. It works like lightning with a new folder or in the current folder where the application is located.
With this format, the extraction takes in a second and is ready.And I use a server from Hetzner - CX41 (Intel, 160GB Disk and 16GB RAM).
EDIT:
I would still add that I had resources allocated during the test: 4GB ram and 75% CPU. I still checked with the standard one, i.e. 256MB ram and 50% CPU - with ".tar" format it extracts just as fast.
-
-