You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bokluci <bo...@googlemail.com> on 2006/11/06 23:19:10 UTC

error: Too Many Open Files

>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?

Thanks in advance.
Vik


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: error: Too Many Open Files

Posted by Bokluci <bo...@googlemail.com>.
No... those are xml files with a lot of info in them... can't be
automatically generated...

How does cocoon make difference between using document function "a lot" and
not so much...

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

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:j.reijn@hippo.nl] 
> 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: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: error: Too Many Open Files

Posted by Jeroen Reijn <j....@hippo.nl>.
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:j.reijn@hippo.nl] 
> 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: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: error: Too Many Open Files

Posted by Bokluci <bo...@googlemail.com>.
No, it's not my case... does cocoon not automatically close files?

-----Original Message-----
From: Jeroen Reijn [mailto:j.reijn@hippo.nl] 
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: error: Too Many Open Files

Posted by Jeroen Reijn <j....@hippo.nl>.
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: error: Too Many Open Files

Posted by Bokluci <bo...@googlemail.com>.
Exactly.
It looks for previous and next file in a file with xml tree, then looks for
special info in these files. I'm not very good with xslt, but as far as I
know the only sitable function for my case is document function...
Or I'm wrong? Why document is not used in cocoon env? Which function is used
instead?

Vik

-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
Sent: Tuesday, November 07, 2006 12:13 AM
To: users@cocoon.apache.org
Subject: Re: error: Too Many Open Files

On 07.11.2006 00:03, Bokluci wrote:
> I'm doing big searches trough lot of files (3-400)... I'm using simply
> "document" function, is there any release function I'm missing?

This means document function in XSLT? Or something different? Can you 
describe your technical concept a bit? Maybe this points to a problem 
with document in XSLT - which is rarely used in Cocoon environments.

Jörg

> -----Original Message-----
> From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
> Sent: Monday, November 06, 2006 11:45 PM
> To: users@cocoon.apache.org
> Subject: Re: error: Too Many Open Files
> 
> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: error: Too Many Open Files

Posted by Joerg Heinicke <jo...@gmx.de>.
On 07.11.2006 00:03, Bokluci wrote:
> I'm doing big searches trough lot of files (3-400)... I'm using simply
> "document" function, is there any release function I'm missing?

This means document function in XSLT? Or something different? Can you 
describe your technical concept a bit? Maybe this points to a problem 
with document in XSLT - which is rarely used in Cocoon environments.

Jörg

> -----Original Message-----
> From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
> Sent: Monday, November 06, 2006 11:45 PM
> To: users@cocoon.apache.org
> Subject: Re: error: Too Many Open Files
> 
> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: error: Too Many Open Files

Posted by Bokluci <bo...@googlemail.com>.
I'm doing big searches trough lot of files (3-400)... I'm using simply
"document" function, is there any release function I'm missing?

Vik

-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
Sent: Monday, November 06, 2006 11:45 PM
To: users@cocoon.apache.org
Subject: Re: error: Too Many Open Files

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: error: Too Many Open Files

Posted by Joerg Heinicke <jo...@gmx.de>.
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: error: Too Many Open Files

Posted by Geert Josten <ge...@daidalos.nl>.
I've heard of a java bug that caused this message. What Java version are
you using and what happens if you upgrade to the latest? (if possible) 

Kind regards,
Geert

> 
   
 
Drs. G.P.H. Josten
Consultant
 
 

Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
 

> Van: Bokluci [mailto:bokluci@googlemail.com] 
> Verzonden: maandag 6 november 2006 23:19
> Aan: users@cocoon.apache.org
> Onderwerp: error: Too Many Open Files
> 
> 
> 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?
> 
> Thanks in advance.
> Vik
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org