Koozali.org: home of the SME Server

Dungog-backup causing 100% load ?

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #15 on: April 14, 2007, 09:42:59 PM »
well, every now and then i notice that it uses 100% CPU power when watching 'htop'
Regards, Rob

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #16 on: April 14, 2007, 09:48:34 PM »
I have installed:

awstats
user-panel
user-vacations
dungog.net - backup
                 - Email Management
                 - Domain pseudomyns
sme7admin
system monitor
mailman

Dungog.net's backup RPM was the last one i installed, but i am sure that was about two weeks ago.
Regards, Rob

Offline pfloor

  • *****
  • 889
  • +1/-0
Dungog-backup causing 100% load ?
« Reply #17 on: April 14, 2007, 10:02:21 PM »
Keep going, I know that isn't everything.  What about Gallery?  What else have you installed?

Lets also see what kind of template customizations you have done as well, run:

/sbin/e-smith/audittools/templates
In life, you must either "Push, Pull or Get out of the way!"

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #18 on: April 14, 2007, 10:10:10 PM »
ya sorry, i forget how much is on here. Also Gallery2 and phpbb forum
Also, i can't remember the name, but i have added the calendar, and address book to horde.
I have installed OScommerce too, and have change register globals from off - on, which i think is the only manual change to a template i have done.

/sbin/e-smith/audittools/templates

that action list's ton's off stuff
Regards, Rob

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #19 on: April 14, 2007, 10:59:10 PM »
Hi, thanks to everone for helping me on this one.
I have found the culprit!
I have backup installed from dungog.net
I have turned off the automatic backups option, and so far i have not had any warning emails from sme7admin.

Thanks very much

Rob Miller
Regards, Rob

Offline pfloor

  • *****
  • 889
  • +1/-0
Dungog-backup causing 100% load ?
« Reply #20 on: April 14, 2007, 11:24:27 PM »
Quote from: "ask_jeeeves"
ya sorry, i forget how much is on here. Also Gallery2 and phpbb forum
Also, i can't remember the name, but i have added the calendar, and address book to horde.
I have installed OScommerce too, and have change register globals from off - on, which i think is the only manual change to a template i have done.

/sbin/e-smith/audittools/templates

that action list's ton's off stuff

I thought so.  That list of "stuff" is manually added templates and whether they are an addition or override. But most important are the ones market "MODIFIED".  If you have any of those, it means you have edited templated and this is a NO-NO.  Audittools is a very powerful tool!

Quote from: "ask_jeeeves"
Hi, thanks to everone for helping me on this one.
I have found the culprit!
I have backup installed from dungog.net
I have turned off the automatic backups option, and so far i have not had any warning emails from sme7admin.
Good, but don't stop there.  You need to notify the author to determine if there is a bug with the contrib.  I will change the subject line to see if snoble chimes in with any help for you.
In life, you must either "Push, Pull or Get out of the way!"

Offline pfloor

  • *****
  • 889
  • +1/-0
Dungog-backup causing 100% load ?
« Reply #21 on: April 14, 2007, 11:29:30 PM »
Changing subject was:

sme7admin cpu = 100 % Loaded ?
to:
Dungog-backup causing 100% load ?

I have notified snoble.
In life, you must either "Push, Pull or Get out of the way!"

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Dungog-backup causing 100% load ?
« Reply #22 on: April 14, 2007, 11:50:05 PM »
This is not it!
I do not have Dungog-backup installed in this system.
Does the backup get scanned by clam? Maybe it's so big that is causing you this?
I have the Dungog-Dansguardian installed but clam is the suspicious one:
http://bugs.contribs.org/show_bug.cgi?id=2879

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Dungog-backup causing 100% load ?
« Reply #23 on: April 15, 2007, 02:28:38 AM »
> well, every now and then i notice that it uses 100% CPU power when watching 'htop'

dungog-backup (gzip) does use 100% at times
but this isn't anything new

set this setting to nice,
*Priority, nice gives priority to other processes:

-------------------------------

The problem here is very likely clamav related

would you adjust the topic heading please when you know more

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #24 on: April 16, 2007, 12:05:16 AM »
Thanks, i would expect 100% every now and then, but this was every 10 minutes without fail, lasting a few minutes. In these few minutes the server was unresonsive.

Looking at the settings in the backup options, i didn't have 'nice' enabled to it wouldn't have giving priority to other processes.

Where do you want me to go from here?????

Thanks again.

Rob Miller
Regards, Rob

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Dungog-backup causing 100% load ?
« Reply #25 on: April 16, 2007, 01:29:58 AM »
disable or nice backups to check they aren't the problem

then go to the bugtracker for clamav

Offline Jean-Philippe Pialasse

  • *
  • 2,907
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Dungog-backup causing 100% load ?
« Reply #26 on: April 16, 2007, 08:31:48 AM »
i see you are using SME7ADMIN

that is a great contrib but :

what is the size of each peices of /var/log /message (I mean each one )
(sme7admin do a diff of this (and some others logs) every 5 minutes, an dif you have a bad php application with lot of warning it can take up to 10min toi diff the log (so will always have 2 jobs running and 100% CPU)
problem can seem solve after a logrotate but as the log growth the problem comes back (some recurents PHP errors can make message log from 5Mo to 200 Mo in some minutes or hours)
=> you can solve this checking what is growing your log and correct the guilty application or service

and what amount of data have you on your hard drive?

sme7admin allow a df and a du of your hard drive to know what is the amount of data for mysql , home, squid etc. But if you active this it will do a du every 5 min which is a pain as it use a lot of CPU  (for 40 GB you will use about 20% of load continuously)
=> you can solve this by uncheck the du option in sme7admin options