Project

General

Profile

Actions

Bug #3951

closed

Processes like filterdns and ipfw-classifyd accumulate many open file handles

Added by Phillip Davis over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
10/21/2014
Due date:
% Done:

0%

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

Description

Forum: https://forum.pfsense.org/index.php?topic=63357.msg453040#msg453040
and surrounding discussion and results in that thread.
e.g. I have a 2.1.5 production system that has been up for only 7 days and has:
249 openvpn
1535 php
1861 filterdns
as the top 3 offenders for open files.

The magic command to see the open file counts is:
fstat | awk '\!/CMD/{print $2}' | sort | uniq -c | sort -n

filterdns is under control of pfSense project, so it should be easy to check this and see why the open file count keeps increasing.
ipfw-classifyd is the other main offender reported in the thread - I don't use that so do not have an example.
I am surprised that my "php" on 2.1.5 has 1535 things open - why could that be?
And openvpn looks a bit high to believe, but maybe it does that, I have a bunch of site-to-site servers, road warrior server...

Anyway, IMHO this is worth investigating, and particularly making sure it does not happen on 2.2


Files

fstat_out.txt (275 KB) fstat_out.txt Petr Klus, 10/21/2014 03:18 PM
filterdns-fstat-22B-2014-11-02.txt (7.79 KB) filterdns-fstat-22B-2014-11-02.txt Phillip Davis, 11/02/2014 05:46 AM
filterdns-fstat-215-2014-11-02.txt (256 KB) filterdns-fstat-215-2014-11-02.txt Phillip Davis, 11/02/2014 05:46 AM
filterdns-fstat-22B-2014-11-02a.txt (1.39 KB) filterdns-fstat-22B-2014-11-02a.txt Phillip Davis, 11/02/2014 08:58 AM
Actions

Also available in: Atom PDF