↑日記で日々積み重ねた情報をトップの「わんこのページ」にまとめています。

おのたく日記 [RDF] YouTubeも始めました→


2010-01-06(Wed) ログが爆発 [長年日記]

ログが爆発

2006年5月20日の日記で書いてから、CPUをPentiumD 940にして解決したと思っていたけど、ふと気がつくとkern.logとsyslogに

CPU0: Temperature above threshold, cpu clock throttled (total events = 15789)

CPU0: Temperature/speed normal

が出まくっていてログか爆発していた。カーネルがログを吐きすぎるのがいけないらしいが、

I wrote a file /etc/rsyslog.d/10-temperature.conf with the following content:

:msg,contains,"Temperature/speed normal" ~

:msg,contains,"Temperature above threshold" ~

All messages containing "Temperature/speed normal" and "Temperature above threshold" are discarded.

I restarted rsyslog and it looks like the problem is solved.

I hope this will help until the problem will be fixed in the kernel.Ubuntu Bug #453444 /var/log fills up with "all normal" messages @ about 575/sec fill up the available space

[https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/453444/comments/57より引用]

というワークアラウンドがあるようなので早速採用

本日のPingbacks(全0件)

Google Web検索 on-o.com内を検索