I had the same problem, without auto-commit.

I never really found out what exactly the reason was, but I think it was because commits were triggered before a previous commit had the chance to finish.

We now commit after every minute or 1000 (quite large) documents, whatever comes first. And we never optimize. We haven't had this exceptions for months now.

Good luck!
-Kuli

Am 14.03.2012 11:22, schrieb Colin Howe:
Currently using 3.4.0. We have autocommit enabled but we manually do
commits every 100 documents anyway... I can turn it off if you think that
might help.


Cheers,
Colin


On Wed, Mar 14, 2012 at 10:24 AM, Markus Jelsma
<markus.jel...@openindex.io>wrote:

Are you running trunk and have auto-commit enabled? Then disable
auto-commit. Even if you increase ulimits it will continue to swallow all
available file descriptors.


On Wed, 14 Mar 2012 10:13:55 +0000, Colin Howe<co...@conversocial.com>
wrote:

Hello,

We keep hitting the too many open files exception. Looking at lsof we have
a lot (several thousand) of entries like this:

java      19339         root 1619u     sock                0,7        0t0
  682291383 can't identify protocol


However, netstat -a doesn't show any of these.

Can anyone suggest a way to diagnose what these socket entries are? Happy
to post any more information as needed.


Cheers,
Colin


--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/**markus17<http://www.linkedin.com/in/markus17>
050-8536600 / 06-50258350





Reply via email to