[ 
https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565334#action_12565334
 ] 

hkuhn edited comment on TRINIDAD-806 at 2/4/08 5:19 AM:
--------------------------------------------------------------

Linux: Red Hat Enterprise Linux ES release 3 (Taroon Update 9)

jdk1.5.0_11

tomcat 6.0.14 

libs:
jsf-facelets_1.1.14.jar
myfaces-api-1.2.2.jar
myfaces-impl-1.2.2.jar
trinidad-api-1.2.5.jar
trinidad-impl-1.2.5.jar

The problem seems to be the first request of each client (in my case this is 
the login-page). Whenever a new client requests its very first page from the 
webapp the number of open file descriptors raise by round about 45 - 50. If I 
perform a System.gc() manually (via jconsole) it  decreases to 45, which might 
be normal for our configuration.

So if there are requests from approx. 20 different clients - without Full GC in 
between - the limit of 1024 open file descriptors is reached.

If JMX is enabled a workaround could be to check the MBean 
"java.lang:type=OperatingSystem" (Attribute "OpenFileDescriptorCount" ). 
Whenever this MBeanAttribute reaches a certain value (i.e. 500) perform a 
System.gc(). 

I would be great of this issue could be solved in near  future.

Thanks.




      was (Author: hkuhn):
    Linux: Red Hat Enterprise Linux ES release 3 (Taroon Update 9)

jdk1.5.0_11

tomcat 6.0.14 

libs:
jsf-facelets_1.1.14.jar
myfaces-api-1.2.2.jar
myfaces-impl-1.2.2.jar
trinidad-api-1.2.5.jar
trinidad-impl-1.2.5.jar

The problem seems to be the first request of each client (in my case this is 
the login-page). Whenever a new client requests its very first page from the 
webapp the number of open file descriptors raise by round about 45 - 50. If I 
perform a System.gc() manually (via jconsole) it  decreases to 45, which might 
be normal for our configuration.

So if there are requests from approx. 20 different clients - without Full GC in 
between - the limit of 1024 open file descriptors is reached.



  
> Too many open files trinidad-impl-1.2.3.jar
> -------------------------------------------
>
>                 Key: TRINIDAD-806
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-806
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.3-core
>            Reporter: Jan Görß
>
> Tomcat throw "too many open files".
> The lsof linux command displayed many filehandler for trinidad-impl-1.2.3.jar.
> Is http://www.mail-archive.com/[EMAIL PROTECTED]/msg42822.html the same 
> problem?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to