lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <>
Subject Open files exceeded, freebsd.
Date Mon, 16 Apr 2012 11:46:57 GMT
I think this may be an overall limit of open files on the machine -- look:

[root@lucene /usr/home/dweiss]# sysctl kern.maxfiles
kern.maxfiles: 12328
[root@lucene /usr/home/dweiss]# sysctl kern.maxfilesperproc
kern.maxfilesperproc: 11095
[root@lucene /usr/home/dweiss]# sysctl kern.openfiles
kern.openfiles: 10507

So it's close to the limit of maxfiles. Also, other processes fail
with file handles as well (grep "Too many" var/log/messages).

I have zero knowledge of freebsd administration. Can this be topped a
bit?  This doesn't seem to do the trick:

[root@lucene /usr/home/dweiss]# sysctl kern.maxfiles=40000
kern.maxfiles: 12328
sysctl: kern.maxfiles: Operation not permitted


mentions loader.conf but I don't want to fiddle with something that
can bring down the machine :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message