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 ?
« on: April 12, 2007, 11:49:54 PM »
Hi,

I am running SME 7.1.3. The last couple of days i have been suffering with my server's CPU running flat out, typicaly 85 - 100% according to emails from sme7admin. I wondered if there is anyway of finding out what it is thats running and using the CPU? I have disabled ClamAV, back-ups etc. I have wondered if it may be Gallery2 which is installed, but i want to try and find out if there is a list i can look at like in Windows.
I'm not sure that this is a bug, more a problem with my server.

Thanks in advance, Rob Miller
Regards, Rob

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Dungog-backup causing 100% load ?
« Reply #1 on: April 12, 2007, 11:58:12 PM »
Can you do a 'top' command when this is happening?
Email uses clam, and clam seem to be a problem with 7.1.3

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #2 on: April 13, 2007, 12:00:56 AM »
umm, but it's only just started in the last 48 hours thou???
Regards, Rob

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Dungog-backup causing 100% load ?
« Reply #3 on: April 13, 2007, 12:04:10 AM »
mine too !  :?

This is exactly what I'm experiencing:
http://bugs.contribs.org/show_bug.cgi?id=2743

Mail system and my web (Using Dans with scan active) stop working

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Dungog-backup causing 100% load ?
« Reply #4 on: April 13, 2007, 06:34:05 AM »
For clamav issues see also:

http://bugs.contribs.org/show_bug.cgi?id=2349

Bandaid to clear and rebuild clamav mirrors.dat:

sv d freshclam
rm -f /var/clamav/mirrors.dat
sv u freshclam

Darrell

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #5 on: April 14, 2007, 12:02:07 AM »
Quote from: "dmay"
For clamav issues see also:

http://bugs.contribs.org/show_bug.cgi?id=2349

Bandaid to clear and rebuild clamav mirrors.dat:

sv d freshclam
rm -f /var/clamav/mirrors.dat
sv u freshclam

Darrell


Thanks dmay,
What does this do exactly? I have run this but i still have a loaded CPU.
I now find it hard to use server-manager & putty as the server freezes for serveral minutes at a time now!!!!
Regards, Rob

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Dungog-backup causing 100% load ?
« Reply #6 on: April 14, 2007, 01:31:27 AM »
Quote from: "ask_jeeeves"
I have run this but i still have a loaded CPU.

As was mentioned above, run top (or better yet htop) and see what exact processes are at fault.

Darrell

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #7 on: April 14, 2007, 11:33:05 AM »
how do i do that?
Regards, Rob

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Dungog-backup causing 100% load ?
« Reply #8 on: April 14, 2007, 04:55:46 PM »
Log in via root in a shell (for example using putty).

at the command line use either the command "top" or "htop"

it will give you a dynamic ordered list  of the processes that are using the most CPU resources.
SME since 2003

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Dungog-backup causing 100% load ?
« Reply #9 on: April 14, 2007, 06:09:25 PM »
Ah, good that works a treat. Thank You
The problem i am now getting is that my CPU is heavily loaded every few minutes, and when it does the server becomes unresponsive. So when i run the 'top' command in putty its all good and CPU usage is typically under 10%.
But when the CPU becomes loaded, the refresh in putty stops, preventing me from locating the process which is using a high amount of CPU Power.

I have the last hour, received messages from sme7admin exactly every 10 minutes warning me of my high CPU load??

One thing i have noticed although this could be unrelated - i am not sure is:

Code: [Select]
/usr/bin/diff -eN /var/tmp/messages/ /var/log/messages

This seems to be using around 25% Memory

Thanks again in advance,

Rob Miller
Regards, Rob

Offline pfloor

  • *****
  • 889
  • +1/-0
Dungog-backup causing 100% load ?
« Reply #10 on: April 14, 2007, 06:24:39 PM »
What are the server's specs?

Quote from: "ask_jeeeves"
umm, but it's only just started in the last 48 hours thou???

Did you do/install/update anything 48 hours ago?
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 #11 on: April 14, 2007, 06:41:56 PM »
Quote from: "pfloor"
What are the server's specs?

Quote from: "ask_jeeeves"
umm, but it's only just started in the last 48 hours thou???

Did you do/install/update anything 48 hours ago?


Hi, i am running SME 7.1.3
With a Sempron 3000 CPU
512mb RAM
160GB Drive

I havn't done anything i can think of. The last thing i installed was Gallery2 about a month ago.

I have seem a few things about ClamAV? Do you think it's related?

Many thanks,

Rob Miller
Regards, Rob

Offline pfloor

  • *****
  • 889
  • +1/-0
Dungog-backup causing 100% load ?
« Reply #12 on: April 14, 2007, 06:54:57 PM »
7.1.3 came out about 3 weeks ago.  Depending on what version you updated from, there were some issues that the upgrade didn't finish properly.

Have you tried the update process again to make sure everything is updated?  Let's make sure you are all current and configured properly.

# yum update
# signal-event post-upgrade
# signale-event reboot

Run the post-upgrade and reboot even if nothing installs.  There have been instances that post-upgrade didn't run properly so do it anyway just in case.
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 #13 on: April 14, 2007, 09:18:28 PM »
Quote from: "pfloor"
7.1.3 came out about 3 weeks ago.  Depending on what version you updated from, there were some issues that the upgrade didn't finish properly.

Have you tried the update process again to make sure everything is updated?  Let's make sure you are all current and configured properly.

# yum update
# signal-event post-upgrade
# signale-event reboot

Run the post-upgrade and reboot even if nothing installs.  There have been instances that post-upgrade didn't run properly so do it anyway just in case.


Thanks pfloor,

I have run the above, but i am still suffering with the CPU fully loaded. Any other ideas???

Could it be crond?

Thank you again,

Rob Miller
Regards, Rob

Offline pfloor

  • *****
  • 889
  • +1/-0
Dungog-backup causing 100% load ?
« Reply #14 on: April 14, 2007, 09:36:38 PM »
Quote from: "ask_jeeeves"
I have run the above, but i am still suffering with the CPU fully loaded. Any other ideas???

That rules out an incomplete update.

Quote from: "ask_jeeeves"
Could it be crond?

Could be anything.  Why do you suspect that, have you done something?

Please tell us about ANY and ALL customization you have done (including but not limited to):
-Custom Templates
-Manual changes to any configuration files
-Installed Contribs
-Installed Applications


To help jog your memory, there are scripts under /sbin/e-smith/audittools that will audit the system.  The most useful one is /sbin/e-smith/audittools/templates.
In life, you must either "Push, Pull or Get out of the way!"