Bill French wrote:

> perhaps it should. by default mac os x shows:
>
> bash-> ulimit -a
> open files                    (-n) 256

> while linux (redhat 7.1) shows:
>
> bash-> ulimit -a
> open files                  1024

> apparently there are more default limitations imposed by the
> OS on mac
> os x than on linux -- anyone else ever seen the "too many open files"
> error on a different platform? what are the constraints imposed by
> windows?

It can happen on Windows too, where (I think) there is an effective limit of
about 2k open files for the JVM as a whole. This is not a restriction
imposed by Windows per se, which I think does NOT impose a security limit
per process, but is just a consequence of the specific (legacy) file i/o API
that the JVM uses. So it's a hard limit alright, but at least 2k is a much
bigger number than 256! :-)

The trouble is ... although Cocoon comes with OS startup scripts, many
people deploy Cocoon in some other container (Tomcat, etc) and will need to
tweak the startup scripts of the container application instead. So it's
important to document the issue, and particularly to include the Exception's
error message in the docs, so that people who get this problem with Lucene
can Google the solution :-)

Con


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to