Subject: Re: /bin/sh returns Out of file descriptors
To: GuRU <firstname.lastname@example.org>
From: Jeremy C. Reed <email@example.com>
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
Jeremy C. Reed
p.s. Why does fstat and pstat have different amounts?
$ echo $(($(fstat | wc -l)-1))
$ pstat -T | head -1