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

This:
http://forums.freebsd.org/showthread.php?t=13632

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

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to