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
  • 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 | 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 1.2k 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 Offline
      timconsidineT Offline
      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.

      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 Offline
                timconsidineT Offline
                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 ?

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