cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Stevens" <>
Subject Too many open files (was PDF Image Caching Problem)
Date Wed, 07 May 2008 17:22:46 GMT
2008/5/5 Lehtonen, Mika <>:
>  Actually there might be another problem (or bug) lying around if you
> produce htmls' with 'noncaching' option. Cocoon seems to be leaving files
> open when using html-serializer with noncaching option in your pipeline. And
> eventually your application can crash because you exceed the maximum open
> files that your OS tolerates. (Cocoon 2.1.11 / Centos 4.6)

Really?  Aha...

It's not the cocoon.xconf that's left open is it?  And could this
affect earlier versions too?  I mailed the dev list about a week ago
(subject "Excessive file handles on cocoon.xconf", see
because we were encountering "Too many open files" errors after
migrating a 2.1.7 app from Websphere 5.0 on Windows to 6.0 on Linux.
I'm wondering if this could be the reason.

Do the files get closed eventually? We were getting these errors with
the limit set to 1024, but after a few minutes things would start
working again for a while.  Also, after increasing the limit to 8000
we haven't seen the error since.  I assume this is because it's now
high enough for the responsible component(s) to get destroyed, garbage
collected, and basically cleaned up properly before things get that

--  Open source java Sudoku application

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

View raw message