Project

General

Profile

Actions

Bug #2737

closed

excessive filterdns processes in some circumstance(s)

Added by Chris Buechler almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
Ermal Luçi
Category:
Rules / NAT
Target version:
Start date:
12/27/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

Some people are seeing huge numbers of filterdns processes. For instance:

http://forum.pfsense.org/index.php/topic,57143.0.html

on the filter's instance of filterdns. Not seeing that on one of our systems, but another has 3 instances running. It doesn't appear to be happening because of the filter reload process. On the system where I'm seeing 3 instances:

[2.1-BETA1][root@fw1.hq.pfsense.org]/root(5): cat /tmp/filterdns.pid 
56384
[2.1-BETA1][root@fw1.hq.pfsense.org]/root(6): ps ax|grep filter
40134  ??  Is     0:00.01 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
56384  ??  Is     0:00.01 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
59963  ??  INs    0:00.01 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
10540   0  S+     0:00.00 grep filter
[2.1-BETA1][root@fw1.hq.pfsense.org]/root(7): /etc/rc.filter_configure_sync 
[2.1-BETA1][root@fw1.hq.pfsense.org]/root(8): ps ax | grep filter
15260  ??  Ss     0:00.01 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
40134  ??  Is     0:00.01 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
59963  ??  INs    0:00.01 /usr/local/sbin/filterdns -p /tmp/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
15554   0  S+     0:00.00 grep filter
[2.1-BETA1][root@fw1.hq.pfsense.org]/root(9): cat /tmp/filterdns.pid 
15260

That part at least is killing off the instance it knows about via its PID file, and re-launching it correctly. Something else is somehow duplicating instances of the process.

Actions

Also available in: Atom PDF