Koozali.org: home of the SME Server

Nice backup task

Offline ReetP

  • *
  • 3,952
  • +6/-0
Nice backup task
« on: May 25, 2010, 11:02:29 PM »
When running backup on a couple of machines, it clobbers the CPU for 100% which sets off my alarms from SME Admin. Is there a method to nice the task so it doesn't use 100% ?

Just an idle thought really - it doesn't kill the servers but would be nice to have a bit more under control !
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Nice backup task
« Reply #1 on: May 25, 2010, 11:04:05 PM »
disable your alarm on cpu load, it's a no-sense

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: Nice backup task
« Reply #2 on: May 26, 2010, 10:43:42 AM »
disable your alarm on cpu load, it's a no-sense

Thanks for the reply Stefano.

I thought as much. I like too keep an eye on it in case there is anything running or hogging the CPU that shouldn't be. It also means that when the backup is running, the servers are very slow at anything else. Yes, the backups run at night, and you don't often need other services, but occasionally I do.

I am surprised that ANY service is allowed 100% CPU time ?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Nice backup task
« Reply #3 on: May 26, 2010, 10:49:54 AM »
I am surprised that ANY service is allowed 100% CPU time ?

you should ask that in kernel's ML :-)

my 2c. don't loose your time keeping an eye on stats, monitor ecc.. SME knows hot to do its job ;-)

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: Nice backup task
« Reply #4 on: May 26, 2010, 11:08:56 AM »
you should ask that in kernel's ML :-)

my 2c. don't loose your time keeping an eye on stats, monitor ecc.. SME knows hot to do its job ;-)

Hehehe.  :lol:

Thanks Stefano. I have no qualms about SME doing the job - it's just MY incompetence I have to double check !!!!!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Nice backup task
« Reply #5 on: May 26, 2010, 12:58:51 PM »
If you have the backup compression set to anything other than 0 then you will have high CPU usage as the backup has to be compressed on the fly, if you don't have to worry about space on device and wanted to lower compression you can.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!