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.
-
How big is this zip file? Are we talking about uploading and extracting files using the File Manager? Which Cloudron version are you on ? (7.5.0 has a new filemanager).
@girish
The Cloudron version is 7.5.0, which includes a new file manager.To the server, I sent the file packaged.
The zipped file takes about 75 MB. And after unzipping, the files are 46,000 with a size of 240 MB
-
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]
-
@girish
The Cloudron version is 7.5.0, which includes a new file manager.To the server, I sent the file packaged.
The zipped file takes about 75 MB. And after unzipping, the files are 46,000 with a size of 240 MB
@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 ?
-
@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.
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login