Bruno Faria wrote: > Hello to everyone, > > Lately for some reason, BackupPC has been running very slow on a > server that we have configured to do backups. Just so that you guys > can have an idea of how slow it really is going, it took BackupPC > 10265.2 minutes to backup 1656103 files totaling to only 24 gigabytes > worth of files. Obviously, I can't really wait a week for a 24 gigbyte > backup to be done. Now here's what makes me think that this problem > with BackupPC could be due to server hardware: I first started started > doing backups for one pc at a time, and it took BackupPC 468.8 minutes > to backup 2626069 files or 32 gigabyte worth of files for that same > computer. But now I have about 45 computers added to BackupPC and > sometimes BackupPC is backing up 30 of them or more at the same time, > and that's when the server really goes slow. > > Here's the top command when the BackupPC server is going slow: > top - 19:06:36 up 15 days, 6:11, 3 users, load average: 28.76, > 39.03, 32.14 > Tasks: 156 total, 1 running, 155 sleeping, 0 stopped, 0 zombie > Cpu(s): 3.7% us, 2.2% sy, 0.0% ni, 7.7% id, 86.0% wa, 0.4% hi, > 0.0% si > Mem: 1033496k total, 1019896k used, 13600k free, 141720k buffers > Swap: 5116692k total, 2538712k used, 2577980k free, 41932k cached
Any time your load average is more than your # of CPU's your system is contending for CPU. You are also using a lot of swap which makes me think your box has gone into thrashing death spiral. Add ram, limit the number of simultaneous backups (I found by trial and error that the number of spindles in the backup array is a good starting point for how many backups can be run at once). In the server I just upgraded (Code 2 quad 2ghz, 2GB, 1.5TB ufs on RAID10 , FreeBSD 7.0) my backups run between 3.6 MB/sec for a remote server (*) and 56 MB/sec for a volume full of digital media on a gig-e connected mac pro. Having a multi core CPU make a big difference (bigger than I expected). (*) rsync is a wonderful thing - six times the actual line speed. John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
