You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jan Görß (JIRA)" <de...@myfaces.apache.org> on 2007/11/08 13:44:50 UTC
[jira] Created: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
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/users@myfaces.apache.org/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.
[jira] Issue Comment Edited: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Harald Kuhn (JIRA)" <de...@myfaces.apache.org>.
[ 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/users@myfaces.apache.org/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.
[jira] Commented: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Harald Kuhn (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565334#action_12565334 ]
Harald Kuhn commented on TRINIDAD-806:
--------------------------------------
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/users@myfaces.apache.org/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.
[jira] Commented: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Jan Görß (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541050 ]
Jan Görß commented on TRINIDAD-806:
-----------------------------------
Linux : Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
WebApp is running under tomcat 6.0.14
libs : Sun jsf 1.2
Trinidad 1.2.3
Tomahawk 1.1.6
Facelets 1.1.13
Spring 2.0.5
Spring Webflow 1.0.5
and all dependencies libs for this libs
I hope, this details are sufficient.
Comment:
We have many requests in one minute by user or selenium test.
For every request is open a new FileHandler for trinidad-impl-1.2.3.jar, is shown by lsof.
Our temp. solution is garbage collector after 100 request.
and filehandler are closed and not display by lsof more.
Thank for help
> 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/users@myfaces.apache.org/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.
[jira] Commented: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541045 ]
Matthias Weßendorf commented on TRINIDAD-806:
---------------------------------------------
Jan,
can you provide more details on your environment etc ?
Looks like Peter's issue never came back again, he told me during a conference
> 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/users@myfaces.apache.org/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.
[jira] Commented: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Darren Rowley (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543756 ]
Darren Rowley commented on TRINIDAD-806:
----------------------------------------
This too is causing a serious issue for us and I can confirm that System.gc() is a workaround for the problem. I have a similar topology to Jan however I would add this this only happens when IE 6 or 7 is the browser, this does not happen with Firefox. We have a large build server with 20 build projects into only 5 of them use IE as a client and these projects run out of files handles against the tomcat process. The others do not and they run the same tests...
thanks.
> 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/users@myfaces.apache.org/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.
[jira] Resolved: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf resolved TRINIDAD-806.
-----------------------------------------
Resolution: Duplicate
dupe of TRINIDAD-978
> 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/users@myfaces.apache.org/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.
[jira] Commented: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Ray Holder (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575787#action_12575787 ]
Ray Holder commented on TRINIDAD-806:
-------------------------------------
This also affects the new trinidad-impl-1.2.7-SNAPSHOT.jar.
https://issues.apache.org/jira/browse/TRINIDAD-978
Thanks.
> 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/users@myfaces.apache.org/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.
[jira] Issue Comment Edited: (TRINIDAD-806) Too many open files
trinidad-impl-1.2.3.jar
Posted by "Darren Rowley (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543756 ]
darrenr edited comment on TRINIDAD-806 at 11/19/07 6:24 PM:
------------------------------------------------------------------
This too is causing a serious issue for us and I can confirm that System.gc() is a workaround for the problem. I have a similar topology to Jan however I would add this this only happens when IE 6 or 7 is the browser, this does not happen with Firefox. We have a large build server with 20 build projects and only 5 of them use IE as the client. These projects run out of files handles against the tomcat process, the others do not and they run the same tests...
thanks.
was (Author: darrenr):
This too is causing a serious issue for us and I can confirm that System.gc() is a workaround for the problem. I have a similar topology to Jan however I would add this this only happens when IE 6 or 7 is the browser, this does not happen with Firefox. We have a large build server with 20 build projects into only 5 of them use IE as a client and these projects run out of files handles against the tomcat process. The others do not and they run the same tests...
thanks.
> 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/users@myfaces.apache.org/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.