Subject: find: too many open files
To: None <current-users@netbsd.org>
From: Rob Misiak <rob@arpa.com>
List: current-users
Date: 06/07/2001 06:45:27
For the past few days (v1.5W on sparc) I've randomly been getting errors
from find(1):

find: fts_read: Too many open files

This has been occuring in a few scripts that are run daily via cron that
call find to do some rather large searches (including
/usr/libexec/locate.updatedb).

I tried increasing kern.maxfiles:

# sysctl -w kern.maxfiles=1048576
kern.maxfiles: 1772 -> 1048576

Which does not help.  The system does not have very much going on, certainly
nothing that would keep a large amount of files open at once.  Has anyone
else seen this problem?

         Rob