[Bug 191916] pflogd eat cpu and hang with net.bpf.zerocopy_enable=0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 17 08:01:05 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191916

--- Comment #1 from Lukasz Wasikowski <lukasz at wasikowski.net> ---
(In reply to Lukasz Wasikowski from comment #0)
> After update to 9.3-RELEASE pflog started to eat 100% CPU and needs kill -9
> to shut (this is on i386). Some details:
> 
> # uname -a
> FreeBSD vesper.wasikowski.net 9.3-RELEASE FreeBSD 9.3-RELEASE #30 r268740:
> Wed Jul 16 16:54:40 CEST 2014    
> root at vesper.wasikowski.net:/usr/obj/usr/src/sys/vesper  i386
> 
> # sysctl net.bpf.zerocopy_enable
> net.bpf.zerocopy_enable: 0
> 
> # ps axufw | grep [p]flogd
> _pflogd   5718 100.0  0.0   9628   1740 ??  R     9:58AM  0:37.24 pflogd:
> [initializing] (pflogd)
> root      5717   0.0  0.0   9628   1744 ??  Is    9:58AM  0:00.01 pflogd:
> [priv] (pflogd)
> 
> 
> # grep -Ev "^#|^$" /boot/loader.conf
> zfs_load="YES"
> vm.kmem_size="1400M"
> vm.kmem_size_max="1400M"
> vfs.zfs.arc_max="1200M"
> vfs.zfs.prefetch_disable="0"
> geom_mirror_load="YES"
> if_bge_load="YES"
> if_lagg_load="YES"
> random_load="YES"
> sem_load="YES"
> sysvmsg_load="YES"
> sysvsem_load="YES"
> sysvshm_load="YES"
> accf_http_load="YES"
> linprocfs_load="YES"
> accf_data_load="YES"
> loader_logo="beastiebw"
> 
> Kernel config: http://pastebin.com/8kSgHxJN

Forgot to add /etc/sysctl.conf:

# grep -Ev "^#|^$" /etc/sysctl.conf
security.bsd.see_other_uids=0
kern.maxvnodes=200000
security.bsd.unprivileged_read_msgbuf=0
net.enc.out.ipsec_bpf_mask=0x00000003
net.enc.out.ipsec_filter_mask=0x00000001
net.enc.in.ipsec_bpf_mask=0x00000001
net.enc.in.ipsec_filter_mask=0x00000002

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list