Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. Slow extraction in LAMP application

Slow extraction in LAMP application

Scheduled Pinned Locked Moved Solved LAMP
lampextractslow extract
8 Posts 4 Posters 2.8k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • matix131997M Offline
    matix131997M Offline
    matix131997
    wrote on last edited by
    #1

    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".

    1 Reply Last reply
    0
    • timconsidineT Online
      timconsidineT Online
      timconsidine
      App Dev
      wrote on last edited by
      #2

      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.

      Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

      1 Reply Last reply
      0
      • matix131997M Offline
        matix131997M Offline
        matix131997
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          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).

          matix131997M 1 Reply Last reply
          0
          • girishG girish

            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).

            matix131997M Offline
            matix131997M Offline
            matix131997
            wrote on last edited by
            #5

            @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

            timconsidineT 1 Reply Last reply
            0
            • B Offline
              B Offline
              berdnaro
              wrote on last edited by berdnaro
              #6

              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]

              1 Reply Last reply
              1
              • matix131997M matix131997

                @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

                timconsidineT Online
                timconsidineT Online
                timconsidine
                App Dev
                wrote on last edited by
                #7

                @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 ?

                Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

                matix131997M 1 Reply Last reply
                0
                • timconsidineT timconsidine

                  @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 ?

                  matix131997M Offline
                  matix131997M Offline
                  matix131997
                  wrote on last edited by matix131997
                  #8

                  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.

                  1 Reply Last reply
                  1
                  • nebulonN nebulon marked this topic as a question on
                  • nebulonN 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
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search