[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

syslogd taking up lots of CPU..



Hm. For some reason, today, syslogd started taking up more than its
share of CPU. (About 20% on a P200.)

I did an strace on the process, and saw lots of stuff like this:

read(21, "<22>Dec 11 16:03:34 cucipop[3129"..., 1024) = 72
time([881885014])                       = 881885014
writev(4, [{"Dec 11 16:03:34", 15}, {" ", 1}, {"always", 6}, {" ", 1}, {"cucipop[3129]: movinon 207.167.9"..., 51}, {"\n", 1}], 6) = 75
writev(8, [{"Dec 11 16:03:34", 15}, {" ", 1}, {"always", 6}, {" ", 1}, {"cucipop[3129]: movinon 207.167.9"..., 51}, {"\n", 1}], 6) = 75
fsync(8)                                = 0
writev(11, [{"Dec 11 16:03:34", 15}, {" ", 1}, {"always", 6}, {" ", 1}, {"cucipop[3129]: movinon 207.167.9"..., 51}, {"\n", 1}], 6) = 75
writev(19, [{"Dec 11 16:03:34", 15}, {" ", 1}, {"always", 6}, {" ", 1}, {"cucipop[3129]: movinon 207.167.9"..., 51}, {"\n", 1}], 6) = -1 EAGAIN (Resource temporarily unavailable)
select(1024, [0 2 21], NULL, NULL, NULL) = 1 (in [21])
read(21, "", 1024)                      = 0
close(21)                               = 0
select(1024, [0 2], NULL, NULL, NULL <unfinished ...>

That EAGAIN disturbs me. We're not even close to being out of disk
space; what could be causing this?

-- 
Brought to you by the letters G and N and the number 2.
"If it wasn't for disappointment, I wouldn't have any appointment." -- TMBG
Ben Gertzfield <http://www.imsa.edu/~wilwonka/> Finger me for my public
PGP key. I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: