Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
metalog consumes all CPU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
tizzy
n00b
n00b


Joined: 07 Nov 2003
Posts: 11
Location: Germoney

PostPosted: Thu Sep 23, 2004 11:27 pm    Post subject: metalog consumes all CPU Reply with quote

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
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Oct 07, 2004 1:37 pm    Post subject: idea Reply with quote

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
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Oct 07, 2004 5:30 pm    Post subject: got rid of metalog Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum