Subject: Re: /bin/sh returns Out of file descriptors
To: GuRU <>
From: Jeremy C. Reed <>
List: current-users
Date: 08/21/2002 10:01:57
On Wed, 21 Aug 2002, GuRU wrote:

> ganja:root# /etc/rc.d/named reload
> .: Out of file descriptors
> I'm curious as to what would cause this, as all scripts run fine on boot up.

How many file descriptors does your system have?

 fstat | wc -l

 pstat -T

 sysctl kern.maxfiles

   Jeremy C. Reed

p.s. Why does fstat and pstat have different amounts?

 $ echo $(($(fstat | wc -l)-1))
 $ pstat -T | head -1
 318/1772 files