So many filterdns instances…



  • Hello All,

    I see many instances of filterdns that do not die

    Do you have an idea of what could cause the problem ?

    i run 2.1-BETA0 (i386)
    built on Thu Nov 29 19:50:00 EST 2012
    FreeBSD 8.3-RELEASE-p5

    But i have already seen that issue on previous 2.1 versions

    USER    PID %CPU %MEM  VSZ  RSS  TT  STAT STARTED      TIME COMMAND
    root      10 200.0  0.0    0    16  ??  RL  30Nov12 76491:24.58 [idle]
    root      0  0.0  0.0    0  160  ??  DLs  30Nov12 225:05.72 [kernel]
    root      1  0.0  0.0  1888    88  ??  ILs  30Nov12  0:03.98 /sbin/init –
    root      2  0.0  0.0    0    8  ??  DL  30Nov12  0:01.39 [g_event]
    root      3  0.0  0.0    0    8  ??  DL  30Nov12  1:07.91 [g_up]
    root      4  0.0  0.0    0    8  ??  DL  30Nov12  33:45.25 [g_down]
    root      5  0.0  0.0    0    8  ??  DL  30Nov12  0:00.00 [crypto]
    root      6  0.0  0.0    0    8  ??  DL  30Nov12  0:00.00 [crypto returns]
    root      7  0.0  0.0    0    8  ??  DL  30Nov12  1:56.24 [pfpurge]
    root      8  0.0  0.0    0    8  ??  DL  30Nov12  0:00.00 [xpt_thrd]
    root      9  0.0  0.0    0    8  ??  DL  30Nov12  0:12.02 [pagedaemon]
    root      11  0.0  0.0    0  152  ??  WL  30Nov12 175:10.52 [intr]
    root      12  0.0  0.0    0    16  ??  DL  30Nov12  3:54.36 [ng_queue]
    root      13  0.0  0.0    0    8  ??  DL  30Nov12  16:32.85 [yarrow]
    root      14  0.0  0.0    0  128  ??  DL  30Nov12  0:39.78 [usb]
    root      15  0.0  0.0    0    8  ??  DL  30Nov12  0:00.56 [vmdaemon]
    root      16  0.0  0.0    0    8  ??  DL  30Nov12  0:04.36 [idlepoll]
    root      17  0.0  0.0    0    8  ??  DL  30Nov12  0:00.05 [pagezero]
    root      18  0.0  0.0    0    8  ??  DL  30Nov12  0:12.37 [bufdaemon]
    root      19  0.0  0.0    0    8  ??  DL  30Nov12  1:45.57 [syncer]
    root      20  0.0  0.0    0    8  ??  DL  30Nov12  0:15.23 [vnlru]
    root      21  0.0  0.0    0    8  ??  DL  30Nov12  0:19.74 [softdepflush]
    root      29  0.0  0.0    0    8  ??  DL  30Nov12  0:37.34 [md0]
    root      35  0.0  0.0    0    8  ??  DL  30Nov12  2:37.54 [md1]
    root    280  0.0  0.1 14424  832  ??  Is    2Dec12  0:00.15 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    282  0.0  0.1  3416  612  ??  INs  30Nov12  17:35.97 /usr/local/sbin/check_reload_status
    root    287  0.0  0.0  3416    0  ??  IWN  -        0:00.00 check_reload_status: Monitoring daemon of check_
    root    295  0.0  0.0  3936  240  ??  Is  30Nov12  0:00.03 /sbin/devd
    root    298  0.0  0.1 16472  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    359  0.0  0.1 17240  832  ??  Is  Fri06PM  0:00.27 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    461  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    540  0.0  0.1 16472  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    887  0.0  0.1 16472  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    1048  0.0  0.1 13400  832  ??  Is    5Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    1450  0.0  0.1 15448  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    1751  0.0  0.1 16472  832  ??  Is    4Dec12  0:00.20 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2167  0.0  0.1 14424  832  ??  Is    6Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2170  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2240  0.0  0.1 12376  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2334  0.0  0.1 13400  832  ??  Is  18Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2356  0.0  0.1 15448  848  ??  Is  11Dec12  0:00.20 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2451  0.0  0.4  5136  3704  ??  Ss    3:30PM  0:00.08 /usr/local/sbin/openvpn –config /var/etc/openvp
    root    2482  0.0  0.1 15192  832  ??  Is  10:45PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2590  0.0  0.1 15448  832  ??  Is  19Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2747  0.0  0.1 19288  832  ??  Is  Sun11AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    2844  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    3121  0.0  0.1 18264  832  ??  Is  Sun07AM  0:00.20 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    3230  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    4095  0.0  0.1 16472  832  ??  Is    5Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    4251  0.0  0.1  4568  856  ??  Is  30Nov12  0:00.05 /usr/local/sbin/sshlockout_pf 15
    root    4347  0.0  0.1 13400  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    4464  0.0  0.1 14424  832  ??  Is  15Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    4865  0.0  0.1 14424  832  ??  Is  15Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    4911  0.0  0.1 15448  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    4921  0.0  0.1 19288  832  ??  Is  Sun08AM  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5006  0.0  0.1 15448  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5048  0.0  0.1 16216  832  ??  Is  Sat12PM  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5092  0.0  0.1 16472  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5115  0.0  0.1 17240  832  ??  Is  20Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5501  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5643  0.0  0.2  5344  1724  ??  Is  30Nov12  0:00.05 /usr/sbin/sshd
    root    5811  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5824  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    5980  0.0  0.1  3388  740  ??  Is  30Nov12  0:00.01 dhclient: em0 [priv] (dhclient)
    root    6101  0.0  0.1 13400  832  ??  Is    6Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6139  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6449  0.0  0.1 14424  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6492  0.0  0.1 13400  832  ??  Is    1Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6609  0.0  0.1 16472  832  ??  Is  18Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6643  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6672  0.0  0.1 18264  832  ??  Is  Tue08PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6683  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    6933  0.0  0.1 13400  832  ??  Is  12Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7197  0.0  0.1 15448  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7208  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7332  0.0  0.1 13400  832  ??  Is  13Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7422  0.0  0.1 18264  832  ??  Is    9:15PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7675  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7934  0.0  0.1 17240  832  ??  Is  Mon03AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    7962  0.0  0.1 15448  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8093  0.0  0.1 16216  832  ??  Is  Sun12AM  0:00.26 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8158  0.0  0.1 19288  832  ??  Is  Wed03PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8207  0.0  0.1 14424  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8422  0.0  0.3  5136  2896  ??  SNs  30Nov12  4:01.90 /usr/local/sbin/openvpn –config /var/etc/openvp
    root    8636  0.0  0.1 13400  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8662  0.0  0.1 14424  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8713  0.0  0.1 15448  848  ??  Is  11Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8823  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    8832  0.0  0.1 18264  832  ??  Is  Wed01PM  0:00.19 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    9114  0.0  0.1 14424  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    9387  0.0  0.1 14424  832  ??  Is  19Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    9527  0.0  0.1 13400  832  ??  Is  16Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    9529  0.0  0.1 15448  832  ??  Is  19Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    9993  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root    9995  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  10179  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  10291  0.0  0.1 14424  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  10443  0.0  0.1 13400  832  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  10505  0.0  0.1 17240  832  ??  Is  Mon06PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  10574  0.0  0.1 14424  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  11365  0.0  0.6  6132  6156  ??  SNs  3:30PM  0:00.03 /usr/local/bin/ntpd -g -c /var/etc/ntpd.conf
    root  11476  0.0  0.1 13400  832  ??  Is  18Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  11660  0.0  0.1 14424  848  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  11703  0.0  0.1 16216  832  ??  Is  Sun01PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  12241  0.0  0.1 16472  832  ??  Is    3Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  12524  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  12770  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  12988  0.0  0.1 18264  832  ??  Is  20Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13097  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13114  0.0  0.1 15448  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13122  0.0  0.1 15448  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13457  0.0  0.0  3340    0  ??  IWs  -        0:00.00 /usr/local/sbin/qstats -p /var/run/qstats.pid
    root  13569  0.0  0.1 15448  832  ??  Is  14Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13694  0.0  0.1 14424  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13762  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  13913  0.0  0.1 15448  848  ??  Is  11Dec12  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  14233  0.0  0.1 19288  832  ??  Is  Mon05AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  14315  0.0  0.1 12376  832  ??  Is    7Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    _dhcp  14367  0.0  0.1  3388  860  ??  Is  30Nov12  0:00.06 dhclient: em0 (dhclient)
    root  14989  0.0  0.1 13400  832  ??  Is  12Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  15370  0.0  0.2  8956  1616  ??  Ss  30Nov12  0:32.52 /usr/local/sbin/mpd5 -b -k -d /var/etc -f mpd_op
    root  15489  0.0  0.1 16472  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  15766  0.0  0.1 16472  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  15868  0.0  0.1 14424  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  15918  0.0  0.1 14424  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  15944  0.0  0.1 13400  832  ??  Is  18Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  15996  0.0  0.1 13400  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  16294  0.0  0.1 14424  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  16517  0.0  0.1 15448  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  16535  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  16599  0.0  0.1 19288  832  ??  Is  Mon06AM  0:00.40 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  16653  0.0  0.1 16472  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17029  0.0  0.1 14424  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17117  0.0  0.1 14424  832  ??  Is    8Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17154  0.0  0.1 14424  848  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17317  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.18 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17326  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17562  0.0  0.3  5136  2896  ??  SNs  30Nov12  3:59.27 /usr/local/sbin/openvpn --config /var/etc/openvp
    root  17594  0.0  0.1 14424  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17635  0.0  0.1 12376  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17729  0.0  0.1 17496  848  ??  Is  11Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  17880  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  18219  0.0  0.1 14424  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  18563  0.0  0.1 18264  832  ??  Is  Sat01AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  18700  0.0  0.1 16472  832  ??  Is  15Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  18727  0.0  0.1 12376  832  ??  Is  18Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  18838  0.0  0.1 14424  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  19570  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  19678  0.0  0.1 14424  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  19784  0.0  0.1 15448  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  19898  0.0  0.1 16472  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  19941  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20034  0.0  0.1 14424  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20236  0.0  0.1 17240  832  ??  Is  Fri02PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20373  0.0  0.1 20312  832  ??  Is  Fri12AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20449  0.0  0.1 15448  832  ??  Is  15Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20732  0.0  0.1 15192  832  ??  Is    4:15PM  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20877  0.0  0.1 14424  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  20911  0.0  0.1 15448  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  21189  0.0  0.1 14424  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  21701  0.0  0.1 12376  832  ??  Is  18Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  21743  0.0  0.1 18264  832  ??  Is  Sat01PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  21934  0.0  0.1 10328  832  ??  Is    8Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22045  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22197  0.0  0.1 16472  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22535  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22542  0.0  0.1 15448  832  ??  Is    5Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22602  0.0  0.1 19288  832  ??  Is  10:15PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22621  0.0  0.1 14424  848  ??  Is  11Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22921  0.0  0.1 15448  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  22926  0.0  0.1 18264  832  ??  Is  Sun01AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  23151  0.0  0.1 17240  832  ??  Is  Sun04PM  0:00.26 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  23388  0.0  0.1 15192  832  ??  Is  Tue05AM  0:00.25 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  23721  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  23985  0.0  0.1 13400  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  24025  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  24259  0.0  0.1  4352  560  ??  Is  Fri10AM  0:00.80 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/
    root  24337  0.0  0.1 15448  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  24402  0.0  0.1  3328  988  ??  SNs  4Dec12  12:14.88 /usr/local/sbin/apinger -c /var/etc/apinger.conf
    root  24724  0.0  0.1 15448  832  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  24887  0.0  0.1 12376  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  25638  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  25800  0.0  0.1 15448  832  ??  Is  19Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  25966  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  25995  0.0  0.1 20312  832  ??  Is  Fri09PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  26237  0.0  0.1 14424  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  26252  0.0  0.1 19288  832  ??  Is  Wed08AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  26472  0.0  0.1 15448  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  26683  0.0  0.1 15448  848  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  26821  0.0  0.1 19288  832  ??  Is  19Dec12  0:00.36 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  27112  0.0  0.1 18264  832  ??  Is  Sat06PM  0:00.34 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  27358  0.0  0.1 15448  832  ??  Is    5Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  27426  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  27587  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    nobody 27869  0.0  0.2  5576  1668  ??  S    Fri10AM  7:12.38 [dnsmasq]
    root  28235  0.0  0.1 17240  832  ??  Is  Wed07AM  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  28575  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  29031  0.0  0.1 17240  832  ??  Is  Mon10AM  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  29218  0.0  0.1 19288  832  ??  Is  Sat02AM  0:00.37 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    dhcpd  29288  0.0  0.2  8448  1800  ??  Ss  Fri10AM  1:10.10 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -
    root  29563  0.0  0.1 16472  848  ??  Is  11Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  29654  0.0  0.1 16472  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30116  0.0  0.1 15448  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30125  0.0  0.1 13400  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30228  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30587  0.0  0.1 13400  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30813  0.0  0.1 14424  848  ??  Is  11Dec12  0:00.20 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30868  0.0  0.1 15448  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  30918  0.0  0.1 20312  832  ??  Is  Sat10AM  0:00.11 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  31188  0.0  0.1 14424  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  31308  0.0  0.1 19288  832  ??  Is    7:45PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  31389  0.0  0.1 20312  832  ??  Is  Fri08AM  0:00.18 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  31803  0.0  0.1 14424  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  31824  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32075  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32234  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32325  0.0  0.1 14424  832  ??  Is  15Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32336  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.19 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32348  0.0  0.1 13400  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32702  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  32849  0.0  0.1 19288  832  ??  Is  Mon05AM  0:00.26 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  33004  0.0  0.1 13400  832  ??  Is  12Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  33147  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  33217  0.0  0.1 19288  832  ??  Is  19Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  33630  0.0  0.1 14424  832  ??  Is  18Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  33963  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  34046  0.0  0.1 19288  832  ??  Is  Tue03AM  0:00.40 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  34088  0.0  0.1 20312  832  ??  Is  Mon02PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  34094  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  34173  0.0  0.1 20312  832  ??  Is  Sat08PM  0:00.28 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  34352  0.0  0.1 18264  832  ??  Is  Tue02PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  34758  0.0  0.1 16472  832  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35026  0.0  0.1 19288  832  ??  Is  20Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35105  0.0  0.1 17240  832  ??  Is  Wed03AM  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35249  0.0  0.1 14424  832  ??  Is    1Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35262  0.0  0.1 15448  832  ??  Is    3Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35517  0.0  0.1 20312  832  ??  Is  Tue08AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35530  0.0  0.1 14424  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35531  0.0  0.1 15448  848  ??  Is  10Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35889  0.0  0.1 17240  832  ??  Is  Mon12AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  35917  0.0  0.1 15448  832  ??  Is  16Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  36269  0.0  0.1 19288  832  ??  Is  Thu09PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  36505  0.0  0.1 13400  832  ??  Is    2Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  36595  0.0  0.1 15448  832  ??  Is  18Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  36903  0.0  0.1 13400  848  ??  Is  10Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  37126  0.0  0.1 16472  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  37809  0.0  0.1 18264  832  ??  Is  Fri05AM  0:00.26 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  37847  0.0  0.1 14424  832  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  37881  0.0  0.1 15448  832  ??  Is    3Dec12  0:00.16 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  37958  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  38237  0.0  0.1 14424  848  ??  Is    9Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  38269  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  38500  0.0  0.1 17240  832  ??  Is  Fri09AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  38514  0.0  0.1 16472  848  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  38517  0.0  0.1 19288  832  ??  Is  Tue04PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  38840  0.0  0.1 18264  832  ??  Is  20Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39107  0.0  0.1 15448  832  ??  Is  19Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39141  0.0  0.1 14424  832  ??  Is    3Dec12  0:00.20 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39259  0.0  0.1 12376  848  ??  Is  11Dec12  0:00.09 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39282  0.0  1.4 59008 13956  ??  I    19Dec12  0:24.79 /usr/local/bin/php
    root  39314  0.0  0.1 15448  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39468  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39716  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39718  0.0  0.1 12376  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  39790  0.0  0.1 14424  832  ??  Is    7Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40226  0.0  0.1 14424  832  ??  Is    8Dec12  0:00.11 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40233  0.0  0.1 13400  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40346  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40419  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40558  0.0  0.1 17496  848  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40568  0.0  0.1 14424  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40692  0.0  0.1 14424  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  40698  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  41538  0.0  0.1 13400  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  41577  0.0  0.1 14424  832  ??  Is    1Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  41660  0.0  0.1 13400  832  ??  Is  15Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  41829  0.0  0.1 13400  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  41944  0.0  2.1 59008 21116  ??  I    3:31PM  0:02.06 /usr/local/bin/php
    root  42222  0.0  0.1 12376  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  42396  0.0  0.1 16472  832  ??  Is    2Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  42697  0.0  0.1 14424  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  42763  0.0  0.2 17240  2036  ??  Is  12:30PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  42874  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  42904  0.0  0.1 18264  832  ??  Is  Wed09AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  43018  0.0  0.3 19288  3348  ??  Is    3:15PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  43422  0.0  0.1 14424  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  43532  0.0  0.1 16472  832  ??  Is  19Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  43646  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  43892  0.0  0.1 15448  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44085  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44172  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44175  0.0  0.1 15448  832  ??  Is  19Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44459  0.0  0.1 15448  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44685  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44822  0.0  0.1 15448  832  ??  Is  12Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  44969  0.0  0.1 13400  832  ??  Is  14Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45081  0.0  0.1  4984  1516  ??  Is  30Nov12  2:58.09 /usr/sbin/syslogd -c -c -l /var/dhcpd/var/run/lo
    root  45112  0.0  0.1 20312  832  ??  Is  Fri08PM  0:00.34 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45351  0.0  0.1 14424  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45480  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45519  0.0  0.1 14424  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45619  0.0  0.1 14424  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45667  0.0  0.1 17240  832  ??  Is  Fri01PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45733  0.0  0.1 12376  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45740  0.0  0.1 14424  848  ??  Is  10Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45767  0.0  0.1 17240  832  ??  Is  Fri06AM  0:00.12 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45993  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  45996  0.0  0.1 13400  832  ??  Is  18Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46096  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46158  0.0  0.1 16472  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46323  0.0  0.1 13400  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46358  0.0  0.1 16472  832  ??  Is  13Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46727  0.0  0.1 16216  832  ??  Is  Thu08PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46741  0.0  0.1 20312  832  ??  Is  20Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46941  0.0  0.1 14424  832  ??  Is  19Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  46975  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47023  0.0  0.1 15448  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47224  0.0  0.1 18264  832  ??  Is  Thu04PM  0:00.27 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47232  0.0  0.1 13400  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47361  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47478  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47508  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47630  0.0  0.1 17240  832  ??  Is  Thu10PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  47664  0.0  0.1 13400  832  ??  Is  15Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48089  0.0  0.1 14424  832  ??  Is    1Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48112  0.0  0.1 15448  832  ??  Is  16Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48136  0.0  0.1 13400  832  ??  Is    5Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48215  0.0  0.1 16472  832  ??  Is  15Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48582  0.0  0.1 15448  848  ??  Is  10Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48653  0.0  0.1 16216  832  ??  Is  Sun05PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  48834  0.0  0.1 18264  832  ??  Is  Mon01PM  0:00.19 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  49030  0.0  0.1 15448  848  ??  Is  10Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  49269  0.0  0.1 18264  832  ??  Is  Wed03AM  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  49732  0.0  0.1 15448  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  49776  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  49783  0.0  0.1 15448  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  50168  0.0  0.1 14424  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  50688  0.0  0.1 14424  832  ??  Is    3Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  50868  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  50885  0.0  0.1 15448  832  ??  Is  17Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  50922  0.0  0.1 19288  832  ??  Is  Mon09PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51038  0.0  0.1 13400  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51069  0.0  0.1 19288  832  ??  Is  Wed06AM  0:00.11 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51120  0.0  0.1 12376  832  ??  Is  18Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51174  0.0  0.1 16472  848  ??  Is    9Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51271  0.0  0.2 18264  2028  ??  Is    1:45PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51588  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51838  0.0  0.1 20312  832  ??  Is  Fri03AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51912  0.0  0.1 14424  832  ??  Is    7Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  51931  0.0  0.1 16472  848  ??  Is  10Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52172  0.0  0.1 14424  848  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52213  0.0  0.1 13400  848  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52425  0.0  0.1 14424  832  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52654  0.0  0.1 15448  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52671  0.0  0.1 15448  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52723  0.0  0.1 19288  832  ??  Is  Sat04PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52830  0.0  0.1 13400  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52858  0.0  0.1 15448  832  ??  Is    7Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52975  0.0  0.1 12376  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  52980  0.0  0.1 17240  832  ??  Is  Sun11PM  0:00.26 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  53019  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  53050  0.0  0.1 12376  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  53494  0.0  0.1 16472  832  ??  Is    6Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  53495  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.13 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  53624  0.0  0.1 15448  832  ??  Is  19Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  53860  0.0  0.1 12376  832  ??  Is    4Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54149  0.0  0.1 14424  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54203  0.0  0.1 15448  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54221  0.0  0.1 14424  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54323  0.0  0.1 18264  832  ??  Is  Mon10PM  0:00.43 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54539  0.0  0.1 15448  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54655  0.0  0.1 18264  832  ??  Is  Mon04PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54722  0.0  0.1 14424  832  ??  Is  11Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  54895  0.0  0.1 16472  832  ??  Is    3Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  55021  0.0  0.1 14424  832  ??  Is  16Dec12  0:00.16 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  55456  0.0  0.1 19288  832  ??  Is  Sat05AM  0:00.26 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  55512  0.0  0.1 12376  832  ??  Is    7Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  55583  0.0  0.1 14424  832  ??  Is  17Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  55760  0.0  0.1 15448  832  ??  Is    6Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  56060  0.0  0.1 16472  832  ??  Is    5Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  56098  0.0  0.1 13400  848  ??  Is  11Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  56150  0.0  0.1 17496  832  ??  Is    7Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  56479  0.0  0.1 16472  848  ??  Is  10Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  56551  0.0  0.1 14424  832  ??  Is    4Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  56907  0.0  0.1 17240  832  ??  Is  Sun06PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57033  0.0  0.1 16472  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57079  0.0  0.1 13400  848  ??  Is  11Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57178  0.0  0.1 13400  832  ??  Is  12Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57179  0.0  0.1 16472  832  ??  Is  15Dec12  0:00.24 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57182  0.0  0.1 12376  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57237  0.0  0.1 15448  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57386  0.0  0.2  4600  1540  ??  SN    3:27PM  0:00.01 /usr/local/bin/rrdtool -
    root  57546  0.0  0.1 12376  832  ??  Is    9Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57548  0.0  0.1 20312  832  ??  Is  Mon09AM  0:00.27 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57706  0.0  0.1 13400  832  ??  Is  16Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  57948  0.0  0.1 15448  832  ??  Is  12Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  58056  0.0  0.1 14424  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  58111  0.0  0.1 16216  832  ??  Is  Sun05PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  58368  0.0  0.1 15448  832  ??  Is    4Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  58792  0.0  0.1 14424  832  ??  Is    2Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  58808  0.0  0.1 15448  832  ??  Is    4Dec12  0:00.21 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  58977  0.0  0.1 12376  832  ??  Is  12Dec12  0:00.07 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59270  0.0  0.3  5444  2712  ??  Ss  20Dec12  3:32.81 /usr/local/sbin/racoon -f /var/etc/ipsec/racoon.
    root  59285  0.0  0.1 15448  832  ??  Is  13Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59632  0.0  0.1 19288  832  ??  Is  Tue12PM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59778  0.0  0.1 18264  832  ??  Is  Thu06PM  0:00.19 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59794  0.0  0.1 14424  832  ??  Is  15Dec12  0:00.22 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59838  0.0  0.1 12376  832  ??  Is  12Dec12  0:00.23 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59847  0.0  0.1 15448  832  ??  Is    8Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59920  0.0  0.1 17496  832  ??  Is  18Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  59963  0.0  0.1 17240  832  ??  Is  Tue07AM  0:00.10 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  60435  0.0  0.1 14424  832  ??  Is  14Dec12  0:00.06 /usr/local/sbin/filterdns -p /tmp/filterdns.pid
    root  60462  0.0  0.1 17240  832  ??  Is  20Dec12  0:00.10 /usr/local/sbin/filterdns -p /tmp



  • I've also noticed this issue, although not to the extreme extent in your example.

    root  24929  0.0  0.6  4696  1468  ??  Is    8:01AM  0:00.04 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
    root  42328  0.0  0.6  4696  1564  ??  INs  2:54PM  0:00.02 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
    root  42685  0.0  0.6  4568  1456  ??  SNs  2:54PM  0:00.05 /usr/local/sbin/filterdns -p /var/run/filterdns-ipsec.pid -i 60 -c /var/etc/ipsec/filterdns-ipsec.hosts -d 1

    cat /tmp/filterdns.pid

    42328

    How many filterdns processes are supposed to be running at any given moment?



  • There should be 1, 2 or 3 depending. One for filter, one for dynamic IPsec if using it, one for hostnames in CP if using them. The one for filter is what's getting duplicated in those instances. There's only one spot it gets launched and that code behaves fine. Ermal will have to check it out.
    https://redmine.pfsense.org/issues/2737



  • The one for ipsec is using a sleep(1); call between the killing and restarting, so maybe that could help here as well?



  • Can you please put a debugging level of 8 on the filter.inc file and see what it logs that you get these many of them?



  • I'll be back home on the 2nd, i'll post debug output by then…

    Cheers...
    Stéphane



  • Another small fix to consider while having a look at the issue of multiple filterdns processes, is that the invoking script should use a consistent path for all filterdns pid files, rather than storing them in both /tmp and /var/run …

    /tmp/filterdns.pid
    /var/run/filterdns-ipsec.pid



  • I am working on cleaning those up.



  • I upgraded 1 system to:
    2.1-BETA1 (i386)
    built on Wed Jan 2 16:40:07 EST 2013
    FreeBSD 8.3-RELEASE-p5

    In the system log, every 5 minutes, is:

    Jan  3 08:16:35 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:21:35 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:26:35 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:31:35 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:36:35 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:41:35 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:46:36 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:51:36 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 08:56:36 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 09:01:36 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 09:06:36 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  3 09:11:36 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    
    

    /var/etc/filterdns.conf just has a list of dynDNS IP names that are used in an alias (actual names changed in the text below):

    pf name-1.dyndns-ip.com INF_inet_ips
    pf name-2.dyndns-ip.com INF_inet_ips
    pf name-3.dyndns-ip.com INF_inet_ips
    pf name-4.dyndns-ip.com INF_inet_ips
    pf name-5.dyndns-ip.com INF_inet_ips
    pf name-6.dyndns-ip.com INF_inet_ips
    pf name-7.dyndns-ip.com INF_inet_ips
    pf name-8.dyndns-ip.com INF_inet_ips
    pf name-9.dyndns-ip.com INF_inet_ips
    pf name-10.dyndns-ip.com INF_inet_ips
    pf name-11.dyndns-ip.com INF_inet_ips
    
    

    Systems on 31 Dec 2012 snapshots are not getting this in the system log.
    I guess something in the recent filterdns code changes that Ermal is working on is processing a blank line somewhere?



  • Upgrade to today snapshot(Jan 3) it should be better maybe you caught a snap with intermediate changes.

    Also if you run top -H you should see the hostnames on each tread run for them.



  • A later/Jan 3 snap is not up yet. I will upgrade and report back when Jan 3 snap appears.



  • 2.1-BETA1 (i386)
    built on Thu Jan 3 02:32:11 EST 2013
    FreeBSD 8.3-RELEASE-p5
    still has the same failed looking up "(null)" message every 5 minutes.
    There is another snap up now 06:39 - I'll load that now and see…



  • 2.1-BETA1 (i386)
    built on Thu Jan 3 19:04:10 EST 2013
    FreeBSD 8.3-RELEASE-p5

    Jan  4 08:51:17 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  4 08:56:17 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  4 09:01:18 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  4 09:06:18 imp-rt-01 filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    
    

    This message is still logged every 5 minutes.



  • I checked in Diagnostics:Tables.

    1. On a system that is running Mon Dec 31 12:20:48 EST 2012 snap (before the recent filterdns changes), my INF_iinet_ips table is long - it has the current 11 IP addresses that go with the 11 names in the table, and also has lots of old IP addresses that were dynamically allocated in the past.
      (I think the recent filterdns changes will now be clearing up old entries)

    2. On the system running Thu Jan 3 19:04:10 EST 2013 snap, there are exactly 11 IP addresses in the table, but they are out-of-date compared to the addresses I get with nslookup from my desktop. I rebooted and the 11 IP addresses are now current (so filterdns must be looking them up OK when it starts). I will monitor the table and see if the addresses go out-of-date over time.

    filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    

    still in syslog every 5 minutes.



  • Should be corrected with tomorrow snapshot.



  • 2.1-BETA1 (i386)
    built on Fri Jan 4 17:38:46 EST 2013
    FreeBSD 8.3-RELEASE-p5
    Alix 32-bit nanoBSD
    filterdns starts at bootup and successfully fills gets the current IP addresses for the 11 names in my alias table.
    5 minutes later it dies (when it wakes up to check again, I suppose), with this in syslog:

    kernel: pid 24638 (filterdns), uid 0: exited on signal 11
    

    ps ax | grep filterdns
    reveals that there is no filterdns process any more.
    I rebooted, and the same behaviour is repeatable.



  • You probably need to try todays snap as he said yesterday it would be in todays and you are still listing a jan 4 snap.



  • Seems that running latest snapshot filterdns still has some issues

    clog system.log | tail

    Jan  6 00:58:26 fw php: : Creating rrd update script
    Jan  6 00:58:28 fw php: : Forcefully reloading IPsec racoon daemon
    Jan  6 00:58:28 fw php: : Restarting/Starting all packages.
    Jan  6 00:58:30 fw dhclient[17095]: DHCPREQUEST on em0 to x.y.z.w port 67
    Jan  6 00:58:30 fw dhclient[17095]: DHCPACK from x.y.z.w
    Jan  6 00:58:30 fw dhclient: RENEW
    Jan  6 00:58:30 fw dhclient: Creating resolv.conf
    Jan  6 00:58:30 fw dhclient[17095]: bound to x.y.z.201 – renewal in 43200 seconds.
    Jan  6 00:58:31 fw php: : Resyncing OpenVPN instances for interface WAN.
    Jan  6 00:58:31 fw kernel: pid 50069 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan  6 00:58:32 fw php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
    Jan  6 00:58:34 fw login: login on ttyv0 as root
    Jan  6 00:58:36 fw check_reload_status: Updating all dyndns
    Jan  6 00:58:36 fw check_reload_status: Restarting ipsec tunnels
    Jan  6 00:58:36 fw check_reload_status: Restarting OpenVPN tunnels/interfaces
    Jan  6 00:58:36 fw check_reload_status: Reloading filter
    Jan  6 00:58:43 fw php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
    Jan  6 00:58:47 fw kernel: pid 87410 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan  6 01:01:22 fw php: /firewall_rules.php: Successful login for user 'admin' from: 192.168.100.12
    Jan  6 01:01:22 fw php: /firewall_rules.php: Successful login for user 'admin' from: 192.168.100.12

    uname -a

    FreeBSD fw.localdomain 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #1: Sat Jan  5 13:23:58 EST 2013     root@snapshots-8_3-i386.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8  i386

    It had the same issue with previous snapshots:

    Jan  5 00:17:03 fw kernel: pid 48375 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan  5 03:25:34 fw kernel: pid 45341 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan  5 03:36:13 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 03:46:55 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 03:57:37 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 04:08:19 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 04:19:01 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 04:29:44 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 04:40:26 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 04:51:08 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  5 05:02:15 fw filterdns: host_dns: failed looking up "(null)": hostname nor servname provided, or not known
    Jan  6 00:58:31 fw kernel: pid 50069 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan  6 00:58:47 fw kernel: pid 87410 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan  6 01:08:57 fw kernel: pid 24930 (filterdns), uid 0: exited on signal 11 (core dumped)

    ls -la /filterdns.core

    -rw–-----  1 root  wheel  4661248 Jan  6 01:08 /filterdns.core



  • 2.1-BETA1 (i386)
    built on Sat Jan 5 17:06:02 EST 2013
    FreeBSD 8.3-RELEASE-p5
    Now I should definitely have all the recent filterdns code changes. Still have the same symptoms, the table gets the correct 11 IP addresses translated from the names at boot. 5 minutes later, filterdns dies:

    [2.1-BETA1][admin@imp-rt-01.imp.infn]/var/log(6): clog system.log | grep filterdns
    Jan  6 11:55:27 imp-rt-01 kernel: pid 27624 (filterdns), uid 0: exited on signal 11
    
    


  • Hrm strange that you see that.
    5 minutes is the default update interval for rechecking names.

    I have run test here with 5 seconds and 10 second update intervals but no issues in that regard!
    That makes still thing the snaps do not have the latest version of filterdns.

    Can you make a md5 of your filterdns ?



  • @ermal:

    Can you make a md5 of your filterdns ?

    MD5 (/usr/local/sbin/filterdns) = b25470f1942956d6f887ff87c99761c4



  • 2.1-BETA1 (i386)
    built on Sun Jan 6 11:15:50 EST 2013
    FreeBSD 8.3-RELEASE-p5

    MD5 (/usr/local/sbin/filterdns) = b25470f1942956d6f887ff87c99761c4
    

    5 minutes after startup:

    [2.1-BETA1][admin@rt-01.mydomain]/root(2): clog /var/log/system.log | grep filterdns
    Jan  7 08:07:02 rt-01 kernel: pid 28781 (filterdns), uid 0: exited on signal 11
    
    


  • Just bumping up this thread, since filterdns is still exiting + dumping core (note: I had just updated to latest 2.1-BETA1 snapshot)



  • Bump from me also, now on:
    2.1-BETA1 (i386)
    built on Sun Jan 13 19:34:21 EST 2013
    FreeBSD 8.3-RELEASE-p5
    and still getting:

    Jan 14 12:09:19 imp-rt-01 kernel: pid 34114 (filterdns), uid 0: exited on signal 11 (core dumped)
    


  • Some more information. filterdns only crashes if SIGHUP is received and it goes through the "Cleaning up previous hostnames" code:

    Jan 16 08:57:26 imp-rt-01 filterdns: Received signal SIGHUP(1).
    Jan 16 08:57:26 imp-rt-01 filterdns: Cleaning up previous hostnames
    

    This happens as various interfaces and OpenVPN links come up during startup - filter reloads happen a few times, and are fed to filterdns. It dies with sig 11 at the next scheduled 5 minute wakeup.
    Something in the reload of filterdns.conf and attempted preservation of existing threads, removal of threads no longer needed, and addition of threads to monitor new IPs, is freeing memory that is still needed. In filterdns.c, merge_config calls clear_config:

    static void
    clear_config(struct thread_list *thrlist)
    {
    	struct thread_data *thr;
    
    	pthread_mutex_lock(&sig_mtx);
    	while ((thr = TAILQ_FIRST(thrlist)) != NULL) {
    		if (debug >= 4)
    			syslog(LOG_ERR, "Cleaning up hostname %s", thr->hostname);
    		TAILQ_REMOVE(thrlist, thr, next);
    		if (thr->thr_pid != 0)
    			pthread_cancel(thr->thr_pid);
    		clear_hostname_addresses(thr);
    		if (thr->hostname)
    			free(thr->hostname);
    		if (thr->tablename)
    			free(thr->tablename);
    		free(thr);
    	}
    	pthread_rwlock_unlock(&main_lock);
    }
    
    

    merge_config sets thr_pid to 0 for threads that should continue on (do not need to be cancelled). But clear_config frees various data for the thread (hostname and tablename) and the thread data itself, even when the thread is not cancelled.
    When the thread awakes in check_hostname at the 5 minute timer, it will have lost its thr data structure - reference to it will cause sig 11.
    Perhaps it just needs this code for clear_config:

    static void
    clear_config(struct thread_list *thrlist)
    {
    	struct thread_data *thr;
    
    	pthread_mutex_lock(&sig_mtx);
    	while ((thr = TAILQ_FIRST(thrlist)) != NULL) {
    		if (debug >= 4)
    			syslog(LOG_ERR, "Cleaning up hostname %s", thr->hostname);
    		TAILQ_REMOVE(thrlist, thr, next);
    		if (thr->thr_pid != 0) {
    			pthread_cancel(thr->thr_pid);
    			clear_hostname_addresses(thr);
    			if (thr->hostname)
    				free(thr->hostname);
    			if (thr->tablename)
    				free(thr->tablename);
    			free(thr);
    		}
    	}
    	pthread_rwlock_unlock(&main_lock);
    }
    

    Also, "pthread_rwlock_unlock(&main_lock);" at the end seems odd. Shouldn't it be "pthread_mutex_unlock(&sig_mtx);" - to match the "pthread_mutex_lock(&sig_mtx);" at the start of the routine?
    @ermal: I don't have an environment to compile in, but this might give enough clues for you to track this down.



  • Thanks for the analysis pushed a fix.



  • Thanks, now it doesn't crash. But somewhere in the boot process, with OpenVPN links etc coming up, it has a point where it deletes all the table entries then does not recover them again. After boot, my table that should have 11 IP addresses is empty. The log indicates entries being deleted at one point.
    As a side issue:

    syslog(LOG_WARNING, "\t DELETED %d addresses(%d) to table %s.", io.pfrio_nadd, address->sa_family, pfd->tablename);
    

    should be:

    syslog(LOG_WARNING, "\t DELETED %d addresses(%d) to table %s.", io.pfrio_ndel, address->sa_family, pfd->tablename);
    

    (the debug line is reporting pfrio_nadd when it needs to report pfrio_ndel)

    If I restart filterdns (kill it by hand, then use Diagnostics:Execute Command:PHP Execute to do:

    mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns.pid -i 300 -c {$g['varetc_path']}/filterdns.conf -d 10");
    

    It comes up nicely and puts all 11 IPs in the table.
    After this, the entries survive when I stop and start an OpenVPN client process - the log looks good.
    @ermal: I will PM you a log of filterdns behaviour at boot with -d 10 set.



  • Also, in filterdns.c main, it:
    a) reads the config, filling in thread_list
    b) loops creating a check_hostname thread for each host
    c) inits main_lock
    d) creates the thread for merge_config

    	TAILQ_FOREACH(thr, &thread_list, next) {
    		error = pthread_create(&thr->thr_pid, &attr, check_hostname, thr);
    		if (error != 0) {
    			if (debug >= 1)
    				syslog(LOG_ERR, "Unable to create monitoring thread for host %s", thr->hostname);
    		}
    		pthread_set_name_np(thr->thr_pid, thr->hostname);
    	}
    
    	pthread_rwlock_init(&main_lock, NULL);
    	sig_mtx = PTHREAD_MUTEX_INITIALIZER;
            sig_condvar = PTHREAD_COND_INITIALIZER;
    	error = pthread_create(&sig_thr, &attr, merge_config, NULL);
    	if (error != 0) {
    		if (debug >= 1)
    			syslog(LOG_ERR, "Unable to create signal thread %s", thr->hostname);
    	}
    	pthread_set_name_np(sig_thr, "signal-thread");
    
    

    But check_hostname uses main_lock. So it is possible that main_lock is not initialized when check_hostname runs the first time.
    Maybe that could cause some early accesses to thread_list to be inconsistent?
    Maybe:

    pthread_rwlock_init(&main_lock, NULL);
    

    should be moved earlier in main.



  • I did make the code correct but i think the issue was mostly related to getaddrinfo code not reporting correctly the EAGAIN error.
    This made entries expire, though it does not explain why it does not reenter them.



  • Upgraded to:
    2.1-BETA1 (i386)
    built on Fri Jan 18 03:21:43 EST 2013
    It puts the 11 IP address entries in the table at the start, then sometime over the next few minutes, the addresses are all deleted from the table. The problem comes from when this message is reported 11 times (site names 1 to 11):

    Jan 18 20:19:43 imp-rt-01 filterdns: Creating a new thread for host site1.dyndns-ip.com!
    

    It already has all 11 threads for the 11 names in the table. Then, for whatever reason, it decides to create 11 new threads. In the process, it ends up clearing out the 11 table entries and never actually putting them back.
    @ermal: I will send another full debug log.



  • Upgraded to today's latest snapshot, I'm still getting "exited on signal 11 (core dumped)" and I see only one filterdns process running (whereas in the past there used to be more filterdns processes – for ipsec / CP / etc)



  • I have been following this thread because of similar problems with filterdns crash/core dumps and I have an observation:

    My problem seems to be related to the filterdns that gets started through the vpn/ipsec stuff.

    After updating to the latest snapshot today:

    2.1-BETA1 (amd64)
    built on Fri Jan 18 04:21:30 EST 2013
    FreeBSD 8.3-RELEASE-p5

    • I increased the filterdns debug level to 10 (in vpn.inc, line 984, '-d 10' switch) and clicked save on the VPN -> IPsec page to restart the filterdns process monitoring the vpn endpoints.

    Here is the log output I get after this:

    Jan 18 12:29:51 pfs check_reload_status: Syncing firewall
    Jan 18 12:29:51 pfs filterdns: Found hostname vpn.net.loc with netmask 32.
    Jan 18 12:29:51 pfs filterdns: found entry 10.5.0.6 for (null)
    Jan 18 12:29:51 pfs filterdns: found entry 10.5.0.6 for (null)
    Jan 18 12:29:51 pfs filterdns: entry 10.5.0.6 exists in table (null)
    Jan 18 12:29:51 pfs filterdns: found entry 10.5.0.6 for (null)
    Jan 18 12:29:51 pfs filterdns: entry 10.5.0.6 exists in table (null)
    Jan 18 12:29:51 pfs filterdns: Found 1 entries for vpn.net.loc
    Jan 18 12:29:51 pfs check_reload_status: Restarting ipsec tunnels
    Jan 18 12:29:51 pfs filterdns: Ran command /usr/local/sbin/pfSctl -c "service reload ipsecdns" with exit status 0 because a dns change on hostname vpn.net.loc was detected.
    Jan 18 12:29:53 pfs php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
    Jan 18 12:29:58 pfs php: : Could not determine VPN endpoint for 'WAN IPv4 IPsec Mobile Phase1 '
    Jan 18 12:30:03 pfs php: : Could not determine VPN endpoint for 'WAN IPv4 IPsec Mobile Phase1 '
    Jan 18 12:30:03 pfs filterdns: Received signal SIGHUP(1).
    Jan 18 12:30:03 pfs kernel: pid 61925 (filterdns), uid 0: exited on signal 11 (core dumped)

    This is probably not causing any real problems on my system because my remote vpn endpoint dns doesn't change or if it's related to the mobile ipsec phase1 not having an endpoint I am not sure how that would affect me, but I have noticed the core dump syslog messages and I have read that there can be up to three running filterdns processes (filter, vpn, captiveportal).

    Hope this helps…



  • I think all this happens because a filter reload will clear the contents of the table with what the filter config sends in.
    I changed filterdns again to force update of addresses on table when a SIGHUP happens.

    Hopefully by monday snapshot the updated filterdns will be there.



  • 2.1-BETA1 (i386)
    built on Sat Jan 19 20:44:40 EST 2013
    Looking good - Alix nanoBSD test system has been up 9 hours. The table that should translate 11 names to 11 IPs now has 14 IP address entries. (3 of the names have dynamically switched IP in this time.) filterdns is adding to the table and not removing old entries, but I don't really care about that (feature or bug?)



  • @phil.davis:

    2.1-BETA1 (i386)
    built on Sat Jan 19 20:44:40 EST 2013

    There have been a few more changes after that date, you will have to try again tomorrow or so with a newer snapshot.



  • I just upgraded to latest snapshot but still get filterdns problems:

    FreeBSD fw.localdomain 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #1: Sat Jan 19 21:12:44 EST 2013     root@snapshots-8_3-i386.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8  i386

    MD5 (/usr/local/sbin/filterdns) = 6949816348947b7762586fe3c59b356e


    Jan 21 00:05:28 fw kernel: pid 47308 (filterdns), uid 0: exited on signal 11 (core dumped)
    Jan 21 00:05:29 fw check_reload_status: Restarting ipsec tunnels
    Jan 21 00:05:30 fw login: login on ttyv0 as root
    Jan 21 00:05:36 fw php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
    Jan 21 00:05:37 fw check_reload_status: Updating all dyndns
    Jan 21 00:05:37 fw check_reload_status: Restarting OpenVPN tunnels/interfaces
    Jan 21 00:05:38 fw check_reload_status: Reloading filter
    Jan 21 00:05:40 fw kernel: pid 83611 (filterdns), uid 0: exited on signal 11 (core dumped)



  • dhatz that happens probably because of upgrade is not replacing the filterdns process.
    Can you kill all you filterdns processes before running an upgrade and try again or
    extract the archive of the upgrade and install manually the filterdns binary, it is located on usr/local/sbin iirc.

    I am tracking even this issue of upgrade not replacing binaries at some time.



  • Indeed it seems that the filterdns binary is not replaced by the upgrade process.

    I will upgrade as soon as a new 2.1 snapshot image becomes available (currently the latest snapshot is from 19-Jan) and let you know how it goes.



  • nanobsd upgrade to 2.1-BETA1 (i386) built on Tue Jan 22 05:52:55 EST 2013 gets the version feature (1.1), but that is kind of obvious since nanoBSD is provided with a full slice. We will see what dhatz gets with a upgrade of a full install.
    filterdns working well for me - but it does accumulate all the IP addresses known to it over time for the list of names. My table now has 15 IPs for 11 names.



  • @ermal:

    dhatz that happens probably because of upgrade is not replacing the filterdns process.
    Can you kill all you filterdns processes before running an upgrade and try again or
    I am tracking even this issue of upgrade not replacing binaries at some time.

    Just a quick reminder that doing an upgrade still won't replace the old filterdns binary.

    Btw I have tried killing all filterdns processes before running an upgrade (and verified they had been killed just before starting the upgrade procedure).


Log in to reply