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

           Summary: read timeout while reading response
           Product: Tomcat Native
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: krzysztof.madej...@agora.pl


I'm using version 1.1.16 of Tomcat Native, with apr-1.3.3 with port-c patch, 
Apache Tomcat 6.0.18 on Solaris 5.10 Generic_127127-11 sun4v sparc
SUNW,Sun-Fire-T200. When using HTTP/1.1 connector (without shared thread pool)
I get read timeout on the client that uses persistant connection pool for
sending requests. It happens after several request send, sometimes after 1
second, sometimes after 1 minute of sending requests. Read timeout on the
client application is set to reasonable value (5 seconds) and responses are
quick enough (max. 50 milisecs). After the read timeout occurs, I cannot
receive response from the server on the opened connections, the client was
using. Java trace dump shows several waits like this:

"http-8041-5" daemon prio=3 tid=0x00a3b000 nid=0x3e in Object.wait()
[0xdc07f000..0xdc07fbf0]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xfac00068> (a
org.apache.tomcat.util.net.AprEndpoint$Worker)
        at java.lang.Object.wait(Object.java:485)
        at
org.apache.tomcat.util.net.AprEndpoint$Worker.await(AprEndpoint.java:1465)
        - locked <0xfac00068> (a org.apache.tomcat.util.net.AprEndpoint$Worker)
        at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1490)
        at java.lang.Thread.run(Thread.java:619)

When I disable Native on the Tomcat everything works fine.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to