cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Kuehne <>
Subject Re: Too many open files
Date Thu, 16 Dec 2010 14:39:12 GMT
Hi all,

if you're in a Cocoon environment, it's always a good idea to avoid the document 
function. Cocoon offers so many better ways like map:aggregate or the CInclude 
transformer preserving the cache functionalities. 



From: Johan Cwiklinski <>
Sent: Thu, December 16, 2010 2:03:25 PM
Subject: Re: Too many open files


Le 16/12/2010 13:58, Peter Flynn a écrit :
>> Caused by: Too many open files
>>     at
>>     at
>>     at
>>     at
>>     at
> In my ignorance of the internals of Cocoon and Tomcat and Java, is it
> running out of file handles when making a HTTP call?
> The server is lightly loaded, but each page does open a significant
> number of document()s: is there a setting that will increase the number
> of open files allowed?

We already have seen this issue on some cocoon applications ; most of
the time, that was due to intensive use of xpath "document" function
with. We observe that using saxon as xslt processor genrerally solved
that issue.

Most of these issues has been resolved for us doing that ; some are
always present but I did not have time to further investigate yet.

> Is there any way to get it to report *what* it was trying to open (the
> URI) when it failed?
> ///Peter

Hope that could help you.

Johan Cwiklinski

To unsubscribe, e-mail:
For additional commands, e-mail:
View raw message