Bug #2555
closedcheck_reload_status consumes 100% CPU usage
0%
Description
As per forum thread located at http://forum.pfsense.org/index.php/topic,51468.0.html
check_reload_status takes 100% of CPU usage on a single core of the system as per below:
last pid: 29215; load averages: 1.38, 1.40, 1.40 up 0+09:55:15 10:44:17
44 processes: 2 running, 42 sleeping
CPU: 0.5% user, 10.9% nice, 14.9% system, 0.0% interrupt, 73.7% idle
Mem: 96M Active, 2481M Inact, 202M Wired, 55M Cache, 112M Buf, 163M Free
Swap: 8192M Total, 8192M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
44898 root 1 139 20 3416K 1204K CPU1 1 1:24 100.00% check_reload_status
27406 root 1 76 20 4600K 1472K piperd 2 0:00 79.39% rrdtool
25442 root 1 76 20 67176K 25336K nanslp 0 0:00 79.20% php
27298 root 1 76 20 3328K 1328K select 3 0:00 79.20% apinger
15513 root 1 76 0 8956K 4012K select 1 0:00 2.59% mpd5
56619 root 1 76 0 58984K 25204K nanslp 3 0:14 2.49% php
25181 root 1 48 0 3328K 1284K select 2 0:00 2.49% dhcp6c
21863 root 1 44 0 4976K 2068K select 3 0:58 0.00% syslogd
49548 root 5 64 20 19452K 12252K nanslp 0 0:38 0.00% ipfw-classifyd
49963 root 5 64 20 19452K 12352K nanslp 0 0:36 0.00% ipfw-classifyd
15687 root 1 48 0 3328K 1272K select 2 0:19 0.00% dhcp6c
36439 root 1 44 0 7744K 5376K kqread 2 0:13 0.00% lighttpd
22197 root 1 44 0 3328K 908K piperd 2 0:12 0.00% logger
22098 root 1 44 0 6952K 4192K bpf 2 0:09 0.00% tcpdump
47940 root 1 44 0 58984K 18288K accept 1 0:04 0.00% php
23644 root 1 44 0 3448K 1372K select 0 0:02 0.00% inetd
46389 root 1 44 0 3724K 1964K CPU2 1 0:01 0.00% top
9036 nobody 1 44 0 5576K 2488K select 1 0:00 0.00% dnsmasq
22640 root 1 44 0 8096K 3640K select 0 0:00 0.00% sshd
44179 root 1 44 0 3420K 1372K nanslp 1 0:00 0.00% cron
33288 root 1 44 0 6132K 6156K select 2 0:00 0.00% ntpd
2058 root 1 69 0 3328K 1044K nanslp 1 0:00 0.00% minicron
50815 root 1 76 20 3708K 1580K wait 1 0:00 0.00% sh
44249 root 2 44 0 4568K 1212K nanslp 1 0:00 0.00% sshlockout_pf
5698 root 1 76 0 3784K 1576K wait 1 0:00 0.00% login
16759 root 1 44 0 3328K 1304K select 3 0:00 0.00% radvd
43898 root 1 76 0 3736K 2328K pause 0 0:00 0.00% tcsh
35433 root 1 70 0 3708K 1556K wait 0 0:00 0.00% sh
13596 dhcpd 1 44 0 8448K 5324K select 0 0:00 0.00% dhcpd
15920 dhcpd 1 44 0 7424K 4028K select 2 0:00 0.00% dhcpd
7486 root 1 76 0 3708K 1280K ttyin 1 0:00 0.00% sh
5823 root 1 76 0 3708K 1280K wait 3 0:00 0.00% sh
6565 root 1 54 0 3328K 1124K kqread 1 0:00 0.00% dhcpleases
5625 root 1 44 0 5344K 2824K select 2 0:00 0.00% sshd
51581 root 1 45 0 3328K 1388K select 0 0:00 0.00% rsync
2561 root 1 48 0 3328K 1044K nanslp 0 0:00 0.00% minicron
329 root 1 44 0 3936K 2124K select 1 0:00 0.00% devd
19917 root 1 76 20 1576K 784K nanslp 3 0:00 0.00% sleep
1784 root 1 59 0 3328K 996K wait 1 0:00 0.00% minicron
2299 root 1 62 0 3328K 996K wait 3 0:00 0.00% minicron
2657 root 1 66 0 3328K 996K wait 0 0:00 0.00% minicron
16102 root 1 76 0 1584K 872K kqread 0 0:00 0.00% dhcpleases6
2858 root 1 65 0 3328K 1044K nanslp 1 0:00 0.00% minicron
44972 root 1 64 20 3416K 1084K kqread 2 0:00 0.00% check_reload_status
Common threads seem to be that it evolves around PPPoE and IPv6 enabled ISPs (Internode in Australia). Tested so far the following snapshots:
2.1-BETA0 (amd64)
built on Fri Jul 13 19:45:32 EDT 2012
FreeBSD 8.3-RELEASE-p3
2.1-BETA0 (i386)
built on Mon Jul 16 19:08:20 EDT 2012
FreeBSD 8.3-RELEASE-p3
2.1-BETA0 (i386)
built on Sat Jul 21 08:37:06 EDT 2012
FreeBSD 8.3-RELEASE-p3
Files