Support

Akeeba Backup for Joomla!

#8611 cron backup caused server cpu overload

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Saturday, 11 September 2010 00:01 CDT

user6558
When the backup cron job is being run, my server cpu overload and my site become so slow and even show internal server error. I was wonder if this is caused by AkeebaBackup.

How do I check if this is the cause and how to handle it?

thanks

nicholas
Akeeba Staff
Manager
Which CRON method are you using? There is the front-end backup through curl/wget, the backup.php file and the altbackup.php file. Which one is it that is causing the problem?

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!

user6558
I use this in cron job

nice /usr/bin/php -f /home/mysite/public_html/administrator/components/com_akeeba/backup.php

nicholas
Akeeba Staff
Manager
Don't use "nice". This command is designed to give the following command highest priority over any other process running on the server (that's the executive summary, omitting some gory details about UNIX process management). Just take a look at this page to understand what it does. A typical CRON command would look like this:
/usr/bin/php -f /home/mysite/public_html/administrator/components/com_akeeba/backup.php

This places PHP in the same priority level as the web and database server. If there is a shortage of CPU power, the backup will throttle down so that the web requests can be served in due time without timing out or throwing errors.

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!

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!