Bug 120841 - Coyote HTTP/1.1 connector throws SocketExceptions
Summary: Coyote HTTP/1.1 connector throws SocketExceptions
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gary Benson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-14 13:50 UTC by Gary Benson
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: 4.1.27-14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-11 15:42:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gary Benson 2004-04-14 13:50:32 UTC
After a while, tomcat starts refusing requests and filling tomcat.out
with backtraces (java.net.SocketException: Too many open files) when
using the Coyote HTTP/1.1 connector.  Presumably it is leaking sockets
somewhere.

Version-Release number of selected component (if applicable):
tomcat-4.1.27-11

How reproducible:
Always

Steps to Reproduce:
1. Start your tomcat server.
2. ab -n 10000 -c 50 http://h:p/examples/servlet/RequestInfoExample
3. Watch it die. Horribly.
  
Actual results:
ApacheBench completes its test.

Expected results:
apr_recv: Connection reset by peer (104)
Total of $something_like_1000 requests completed

Additional info:
Use the AJP connector and mod_jk2 to work around this problem.

Comment 1 Oliver Falk 2004-04-14 14:23:16 UTC
Same for me. I can only tell, that my Fedora installation is up 2 
date....


Note You need to log in before you can comment on or make changes to this bug.