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 2014/03/27 09:44:50 UTC

[Bug 56320] New: DefaultSever leak files

https://issues.apache.org/bugzilla/show_bug.cgi?id=56320

            Bug ID: 56320
           Summary: DefaultSever leak files
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jfclere@gmail.com

While running ab test against tomcat 8 I have the following failure:
+++
44714 27-Mar-2014 04:41:00.605 SEVERE [http-bio-8001-Acceptor-0]
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run Socket accept failed
244715  java.net.SocketException: Too many open files
244716         at java.net.PlainSocketImpl.socketAccept(Native Method)
244717         at
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
244718         at java.net.ServerSocket.implAccept(ServerSocket.java:530)
+++
That doesn't depend on the connector.

And lsof says:
+++
[hudson@messaging-09 tc8]$ lsof | grep ROOT | wc -l
32667
[hudson@messaging-09 tc8]$ lsof | grep ROOT | grep 64KiB.bin | wc -l
32667
+++

64KiB.bin is the file I am requesting in ab.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56320] DefaultServlet leaks file handles

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56320

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Thanks for the report. I've fixed this in trunk and it will be included in
8.0.6 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56320] DefaultSever leak files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56320

jfclere <jf...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Connectors

--- Comment #1 from jfclere <jf...@gmail.com> ---
In fact it seems it is linked with sendfile.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56320] DefaultServlet leaks file handles

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56320

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|DefaultSever leak files     |DefaultServlet leaks file
                   |                            |handles

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org