[Bug 67811] Re: Takes all CPU time

Neal H. Walfield neal at walfield.org
Wed May 26 11:53:53 BST 2010


I'm using backuppc version 3.1.0-6ubuntu4 on Ubuntu 9.10.

I'm using "fairly recent hardware" (my backup server uses an Intel Atom
330 CPU, a 1.6 GHz dual-core CPU), yet, this effects me.  Here's some of
the output of top during a backup:

  28539 backuppc  20   0  202m 141m 1368 R   98  4.0   5:26.85 BackupPC_dump      
  25224 backuppc  20   0 49288 7632 2408 R   79  0.2   1:56.49 ssh          

Both cores are nearly fully utilized.  This remains relatively constant.

(On the machine being backed up, a 4 core 2.3 GHz AMD Athlon(tm) II X4
605e, sshd usings just 10%-15%  of one of the cores.)

I'd suggest fixing this.


To minimize the amount that a backup interferes with other programs running on a client, I changed RsyncClientPath to `nice -n 20 /usr/bin/rsync'.

Unfortunately, using the same trick for the server does not work:
changing SshPath to `nice -n 20 /usr/bin/ssh' results in:

  Error: SshPath must be a valid executable path

(using /usr/bin/nice in space of nice doesn't work either.)

It should be relatively painless to prefix the commands that backuppc
exec's with a nice.  Please do this.  Thanks.

-- 
Takes all CPU time
https://bugs.launchpad.net/bugs/67811
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc in ubuntu.



More information about the Ubuntu-server-bugs mailing list