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: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to