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 Bokluci <bo...@googlemail.com> on 2006/07/03 19:00:46 UTC

too many open files

hi,

from time to time my cocoon get this error message:

Too Many Open Files

Sometimes after refresh it continues work, but sometimes it needs to be
restarted.
Is there any way to fix this issue?

Re: too many open files

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 7/4/06, Bokluci <bo...@googlemail.com> wrote:
> How high should be "very high load"? over 10 000 hits a day?

Impossible to say, it all depends on how the replies to these hits are
generated, and your traffic patterns. You need to measure the
performance with simulated or actual load to make decisions about
this.

10'000 hits a day (86'400 seconds) can be as low as 0.12 per second if
evenly spread, which is not much at all. OTOH if these hits come
within 2 minutes...you get the idea.

> ...Are there any drawbacks running cocoon as non privileged user?...

Not that I know, quite the contrary, except that it cannot listen on
port 80 then. But it's a good idea to put an httpd / reverse proxy in
front anyway.

-Bertrand

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


RE: too many open files

Posted by Bokluci <bo...@googlemail.com>.
How high should be "very high load"? over 10 000 hits a day?
Are there any drawbacks running cocoon as non privileged user?

-----Original Message-----
From: bdelacretaz@gmail.com [mailto:bdelacretaz@gmail.com] On Behalf Of
Bertrand Delacretaz
Sent: Tuesday, July 04, 2006 1:34 PM
To: users@cocoon.apache.org
Subject: Re: too many open files

On 7/4/06, Bokluci <bo...@googlemail.com> wrote:

> ...Are there any drawbacks if I use it alone with the standard
> bundled server?...

Not necessarily, it's not optimized for very high loads but runs just
fine on several of my production systems, with up to 9 months uptime
until now.

-Bertrand

---------------------------------------------------------------------
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: cache

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi,

See: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html

Best Regards,

Antonio Gallardo

Bokluci escribió:
> Is there any way to make cocoon cache last not so long?
>
>
> ---------------------------------------------------------------------
> 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


cache

Posted by Bokluci <bo...@googlemail.com>.
Is there any way to make cocoon cache last not so long?


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


Re: too many open files

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 7/4/06, Bokluci <bo...@googlemail.com> wrote:

> ...Are there any drawbacks if I use it alone with the standard
> bundled server?...

Not necessarily, it's not optimized for very high loads but runs just
fine on several of my production systems, with up to 9 months uptime
until now.

-Bertrand

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


RE: too many open files

Posted by Bokluci <bo...@googlemail.com>.
As a matter of a fact I'm not using cocoon with combination with tomcat,
should I? Are there any drawbacks if I use it alone with the standard
bundled server?

-----Original Message-----
From: Cayetano [mailto:hnzekto@gmail.com] 
Sent: Tuesday, July 04, 2006 8:13 AM
To: users@cocoon.apache.org
Subject: Re: too many open files

> > ...What do you mean by "what kind of app is this?"...
>
> The question is, what are your application patterns, i.e. do you use
> many XSLT transforms, or the SQLTransformer, often call external
> processes, use a lot of Flow and/or CForms, etc..
>

And i would add: running with Tomcat under Linux with a non-privileged user?
(see /etc/security/limits.conf)

Cayetano

---------------------------------------------------------------------
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: too many open files

Posted by Cayetano <hn...@gmail.com>.
> > ...What do you mean by "what kind of app is this?"...
>
> The question is, what are your application patterns, i.e. do you use
> many XSLT transforms, or the SQLTransformer, often call external
> processes, use a lot of Flow and/or CForms, etc..
>

And i would add: running with Tomcat under Linux with a non-privileged user?
(see /etc/security/limits.conf)

Cayetano

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


Re: too many open files

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 7/4/06, Bokluci <bo...@googlemail.com> wrote:

> ...What do you mean by "what kind of app is this?"...

The question is, what are your application patterns, i.e. do you use
many XSLT transforms, or the SQLTransformer, often call external
processes, use a lot of Flow and/or CForms, etc..

-Bertrand

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


RE: too many open files

Posted by Bokluci <bo...@googlemail.com>.
No special components, just cocoon started with

cocoon servlet.

What do you mean by "what kind of app is this?"

-----Original Message-----
From: bdelacretaz@gmail.com [mailto:bdelacretaz@gmail.com] On Behalf Of
Bertrand Delacretaz
Sent: Monday, July 03, 2006 9:35 PM
To: users@cocoon.apache.org
Subject: Re: too many open files

On 7/3/06, Bokluci Bokluci <bo...@googlemail.com> wrote:

> ...from time to time my cocoon get this error message:
>
> Too Many Open Files...

We need more info to help, what kind of app is this, what components
of Cocoon and what external components are you using?

-Bertrand

---------------------------------------------------------------------
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: too many open files

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 7/3/06, Bokluci Bokluci <bo...@googlemail.com> wrote:

> ...from time to time my cocoon get this error message:
>
> Too Many Open Files...

We need more info to help, what kind of app is this, what components
of Cocoon and what external components are you using?

-Bertrand

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


Re: too many open files

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 7/4/06, Geert Josten <ge...@daidalos.nl> wrote:
> ...I heard something about a Java bug that seemed to cause these kinds of
> errors...

Which might be: using the Process object and not explicitely closing
its channels, see http://codeconsult.ch/bertrand/archives/000456.html

-Bertrand

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


RE: too many open files

Posted by Geert Josten <ge...@daidalos.nl>.
I heard something about a Java bug that seemed to cause these kinds of
errors. What version of Java are you using and what happens if you
update to the latest version (if you are not yet using it?)

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


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 Bokluci [mailto:bokluci@googlemail.com] 
> Verzonden: maandag 3 juli 2006 19:01
> Aan: users@cocoon.apache.org
> Onderwerp: too many open files
> 
> hi,
> 
> from time to time my cocoon get this error message:
> 
> Too Many Open Files
> 
> Sometimes after refresh it continues work, but sometimes it 
> needs to be restarted.
> Is there any way to fix this issue?
> 
>

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