Sonntag, 24. August 2008

a fix for OS X syslogd going crazy

recently the fan of my PowerBook run permanently. I checked which process created the load (and therefore the heat) and found syslogd.
After some tracing, I saw a lot of

lseek(0x6, 0xF0, 0x0) = 240 0
read_nocancel(0x6, "\004\0", 0x1000) = 4096 0
lseek(0x6, 0xFD, 0x0) = 253 0
write_nocancel(0x6, "\0", 0x4)

With some googeling, I found (only) this blog-entry.

The solution from there (copy&paste)

sudo launchctl stop com.apple.syslogd
sudo mv /var/log/system.log /var/log/system.log.old
sudo launchctl start com.apple.syslogd
sudo gzip /var/log/system.log.old

It works really fine for me. Thank you
Kommentar veröffentlichen