GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Should a website be extremely slow when its running backups? (https://gfy.com/showthread.php?t=951902)

clickhappy 02-04-2010 01:18 AM

Should a website be extremely slow when its running backups?
 
I have my own server and every night at 3:00am EST it runs a backup, and for about 15 minutes my sites are either down or extremely slow.
is this normal?

Iron Fist 02-04-2010 01:20 AM

Not really...

baddog 02-04-2010 01:21 AM

What kind of processor and how much RAM do you have? Is this a server with a panel that offers a backup feature? Are there other cron jobs running at the same time? If you change the backup to a different time does it happen then too?

Varius 02-04-2010 01:25 AM

Quote:

Originally Posted by clickhappy (Post 16811509)
I have my own server and every night at 3:00am EST it runs a backup, and for about 15 minutes my sites are either down or extremely slow.
is this normal?

Depends how you are doing the backup... tar generally isn't well supported on most Linux kernels and will cause server load/slowdowns especially if you are tarring very large amounts of data, or directory structures with many subfolders and files.

Kernel tweaks or even an upgrade could help, check if you are swapping a lot during the process, changing to a hard drive with more RPM could also help...more RAM/CPU may have a minimal positive effect...

Varius 02-04-2010 01:28 AM

Personally, I'd use a combo of rsync+tar+gzip for backups.

rowan 02-04-2010 01:29 AM

... or get the backup software to run slower :)

ilbb 02-04-2010 02:25 AM

yep, tar will eat you cpu time - my backup takes 12 hours to be done :(

MrMaxwell 02-04-2010 02:33 AM

Does this work like a home computer?
Linux lets you delegate tasks by core, right?
So just tell your backup program not to use the whole cpu...
Ought to bring your cpu AND disk usage down to an acceptable level


All times are GMT -7. The time now is 06:26 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123