Subject: Re: sort(1) opens too many files
To: None <current-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 04/05/2001 02:28:07
I may be misunderstanding something ...
> yerfable /usr/src# limit descriptors 195
> yerfable /usr/src# sort -T /usr/src /usr/src/.glimpse_tmpi2 > /usr/src/.glimpse_tmpo2
> sort: ftmp: mkstemp("/usr/src/sort.014523ci"): Too many open files
Does this really mean that the sort is opening all these files?
Couldn't 190 file descriptors already be in use (by something else) and
maybe the sort is only using around five?
(How can it be checked?)
(Also what shell has a limit resource called "descriptors"? Is this the
same as "openfiles"?)
Jeremy C. Reed
http://www.reedmedia.net/