NetBSD-Users archive

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

Re: pflogd consume CPU



On Mon, Feb 08, 2016 at 12:06:54AM +0900, Miwa Susumu wrote:
> 2016-02-07 1:15 GMT+09:00 Christos Zoulas <christos%astron.com@localhost>:
> >>>>pflogd process consume CPU.
> >>>>Because of that in load average is too high.
> >>> Can you ktrace it?
> >>this is kdump output.
> >>sakura# kdump ktrace.out
> >>   974      1 pflogd   EMUL  "netbsd"
> >>   974      1 pflogd   CALL  read(3,0xbb912000,0x80000)
> >>   974      1 pflogd   RET   read -1 errno 35 Resource temporarily unavailable
> > And what does 'fstat -p 974' say about fd 3?
> 
> fd 3 is bpf.

I've seen something similar with arpwatch (might have been against bpf too),
and with nagios reading a pipe (see my post today on current-users@
about this).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index