You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/05/12 05:48:47 UTC
DO NOT REPLY [Bug 39566] New: - java.io.IOException: Too many open files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39566
Summary: java.io.IOException: Too many open files
Product: Tomcat 5
Version: 5.0.28
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Connector:Coyote
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: hliu@mercury.com
CC: hliu@mercury.com
Hi,
handles or win32 pipes get exhausted to 7000 handles on the jboss-tomcat.
the servlet deployed in tomcat 5.0.28 works in tomcat 4.04 standalone.
the same old .war file.
The problem is that each time the page get accessed, it will open a new
handle without recycling "Win32pipe", while in tomcat 4.04 standalone,
problem does not exist.
I double check the code and it close stream in/output and process destroy
properly. In jboss-tomcat.log with full debug mode. I get the following
after 800 hits on the page.
Please investigate further, it is not an OS issue, because I monitor
the handles with taskinfo and OH.exe. It is growing inside tomcat.
thanks and regards
howard
=======
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
java.io.IOException: Too many open files
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:106)
org.apache.naming.resources.FileDirContext$FileResource.streamContent
(FileDirContext.java:955)
org.apache.catalina.servlets.DefaultServlet$ResourceInfo.getStream
(DefaultServlet.java:2436)
org.apache.catalina.servlets.DefaultServlet.copy
(DefaultServlet.java:1866)
org.apache.catalina.servlets.DefaultServlet.serveResource
(DefaultServlet.java:985)
org.apache.catalina.servlets.DefaultServlet.doGet
(DefaultServlet.java:448)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.mercury.j2f.j2eeutils.GZipSetCharacterEncodingFilter.doFilter
(GZipSetCharacterEncodingFilter.java:189)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
(ReplyHeaderFilter.java:75)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39566] - java.io.IOException: Too many open files
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39566
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From markt@apache.org 2006-06-11 22:18 -------
If it works on Tomcat stand-alone but not tomcat embedded in jboss this is a an
issue for the jboss team rather than the tomcat team. Please follow this up with
them.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org