Support

Site Restoration

#31425 Kickstart unpacking is extremely slow

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by PTWD on Wednesday, 05 June 2019 07:32 CDT

PTWD
I am trying to unpack Kickstart but it's taking at least twice as long as it should to unpack. I noticed this about 2 weeks ago when I made a copy of a live site into a test site space, which I always do before making significant changes. It took unusually long to unpack. And today I'm trying to move a copy back to the Live site space, but it's taking an enormous amount of time too. Usually it takes about maybe 15 minutes, give or take.

I noticed it just finally finished now---50 minutes after it started. (!!) A phonecall to the webhost basically returned a shrug -- there was nothing at their end they could see that might be causing it, and they wouldn't comment about Akeeba Backup since it's a third party. Seems to me I had this problem a few years ago, but not for a long time.

My settings for Kickstart extraction are:

Archive file : XXX.jpa (58 MB)
Write to files : directly
Minimum time : 5
Maximum time : 2
HTML file : index.html (my own file basically saying check back later)

Interestingly, when I did the same with another site recently, on a different web host, it unpacked in about 2-5 minutes -- admittedly it was a much smaller site (39 MB) but still.

Can you folks think of any reason why it would take 3 times the usual amount of time? I don't have the option to change web hosts for the site with the long unpacking time, so I'm hoping there might be something I can adjust that will help speed it up. Many thanks.

nicholas
Akeeba Staff
Manager
OK, let's see at the data points. You are using the same version of Kickstart that used to work before. The code has not been modified. You are using a backup archive that is roughly the same size and has roughly the same number of files. Therefore the same code working on a roughly similar archive will always run at roughly the same speed. After all, the only thing that is limiting Kickstart's performance is the speed of PHP itself, the disk I/O speed and the CPU speed. None of that are part of Kickstart... but they are part of your hosting environment.

Considering that you are using PHP 7.2 which is blazing fast we can rule out the PHP version as being a performance limiting factor (PHP 7.2 is 2x as fast as 5.6 which is, in turn 2x to 3x as fast as 5.3).

So the only thing that may have changed is disk I/O and CPU speed. Your host has either moved your account to a slower server OR the server is now more crowded OR they are enforcing resource usage limits. Of course they will deny everything but that's how all hosts work. That's how a host can afford to sell you a hosting package with plenty of a space and bandwidth at a fraction of the price it would cost you to get a similarly configured physical server at a data center.

FWIW a backup archive at 58MB takes less than 30" on my mid-spec virtual private server (roughly the performance of a Skylake i5 with a run-of-the-mill Kingston SSD -- I know that because that's the spec of my older dev machine that was running at the same speed as my server). 2-3 minutes for a cheap shared host sounds about right. 15 minutes is way too much unless we're talking about sub-$5/month hosting, in which case it's a very crowded server, so yeah. 50 minutes is slower than FTP'ing the files. So, clearly, the hosting is the issue here. Sorry :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

PTWD
Nicholas, thank you so much for this! You have confirmed my suspicions which is extremely valuable to me. The client and I will be talking about moving to a different web host but not until later this year. I'll just have to grit my teeth and tolerate it until then. And it makes sense that they would be throttling as well as packing more users into their servers like sardines, as they have been expanding lately. I will forward your answer to my client. Many, many thanks. :-)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!