Yes cocoon should automatically close the files, unless you use the document function a lot.

Can't you generate the XML to search in from cocoon instead of using the document function?

Reijn

Bokluci wrote:
No, it's not my case... does cocoon not automatically close files?

-----Original Message-----
From: Jeroen Reijn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 12:30 AM
To: users@cocoon.apache.org
Subject: Re: error: Too Many Open Files

Hi,

i've seen this happen in combination with lucene quite often. Might that be your problem?

Regards,

Jeroen Reijn

Joerg Heinicke wrote:
On 06.11.2006 23:19, Bokluci wrote:
From Time to time cocoon shows "Too many open files" error.
I've already set ulimit to

ulimit -n 8192

, but it still shows from time to time this error...
Any suggestions?
I'm not aware of any "resource leak" in Cocoon itself. Are you doing anything special? Opening and handling many files or anything like that? For example, are you releasing all resolved sources you obtained via a SourceResolver.

Jörg

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


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


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


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

Reply via email to