View previous topic :: View next topic |
Author |
Message |
tizzy n00b
Joined: 07 Nov 2003 Posts: 11 Location: Germoney
|
Posted: Thu Sep 23, 2004 11:27 pm Post subject: metalog consumes all CPU |
|
|
Hello
I've got a strange behavior of metalog on a Sun Ultra 30 on Gentoo 2004.2 for Sparc64.
If the system is idle metalog consumes all the CPU, if a process is started (like emerge xyz) it consumes 50%. But there is no changing in any logfile, no message at the console or any other problem I was able to discover. After a few hours trying to find and solve the problem I've installed syslog-ng and this one runs without any trouble. Any idea what's cause this behavior?
T. |
|
Back to top |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Thu Oct 07, 2004 1:37 pm Post subject: idea |
|
|
I am in the process of testing a switch to the 2.6 kernel.
Here is a hint for anyone trying the same: due to the KEYMAP
setting change in rc.conf, if you are flipping back and forth
between a 2.6 and 2.4 kernel, make sure you have sshd available,
because otherwise you could end up with a console with
a useless keyboard.
With the 2.6.7 kernel I've seen some strange stack trace on
boot up and then my metalog also went to about 98% CPU.
I don't have the error saved anywhere because I guess metalog
wasn't working properly.
The metalog problem never happens with a 2.4 kernel.
I suspect the kernel option Preemptible kernel (mine was checked on)
is related to these issues. I will verify. |
|
Back to top |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Thu Oct 07, 2004 5:30 pm Post subject: got rid of metalog |
|
|
I took out the preempt kernel option, and unmerged metalog.
I'm using syslog-ng instead and it seems OK with a 2.6.7 kernel. |
|
Back to top |
|
|
|