Hi folks,

I've got an ipfilter-enabled RELENG_4 firewall that acts as a DHCP and
SMB server for our office LAN.

It's running into its upper limit of files, as reported by
kern.openfiles.  However, when I try to use fstat to report on processes
that hold open file handles, the numbers disagree:

kern.maxfiles: 9992
kern.maxfilesperproc: 4496
kern.openfiles: 8265

# fstat | awk '$5 ~ /^\// {print $2}' | sort | uniq -c | sort -nr
  99 httpd
  63 mysqld
  50 smbd
  48 getty
  45 screen
  37 sshd
  35 bash
  30 nfsd
  27 sh
  24 nfsiod

The total number of filehandles reported in this way is about 600.

Why would these two tools disagree in this way?

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to