Re: 7.0.22+ fd leak with APR/native

2012-01-04 Thread Konstantin Kolinko
2012/1/4 Mark Thomas ma...@apache.org: On 03/01/2012 21:32, Mark Thomas wrote: On 03/01/2012 21:26, André Warnier wrote: Mark Thomas wrote: I am trying to bring together all the information I have gleaned on this so far from the multiple threads to try and find the common factors. snip/

Re: 7.0.22+ fd leak with APR/native

2012-01-04 Thread Konstantin Kolinko
2012/1/4 Konstantin Kolinko knst.koli...@gmail.com: 2. The processSocket(desc[n*2+1], SocketStatus.DISCONNECT); call just above the fixed line. It looks like a NOOP, because processSocket(long,SocketStatus) has an if() that does not mention SocketStatus.DISCONNECT. I think it is one more

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Konstantin Kolinko
2012/1/4 S Ahmed sahmed1...@gmail.com: Say I have a simple servlet or spring mvc application running on tomcat. Tomcat is running as a webserver on port 80. A client makes a http POST request to my page www.example.com/submit If the client adds a very large file with the POST, does this

Re: 7.0.22+ fd leak with APR/native

2012-01-04 Thread Mike Wertheim
On Tue, Jan 3, 2012 at 1:17 PM, Mark Thomas ma...@apache.org wrote: I am trying to bring together all the information I have gleaned on this so far from the multiple threads to try and find the common factors. So far I have: - 7.0.21 is OK - 7.0.22 has an fd leak - 7.0.23 has an fd leak and

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread S Ahmed
Tomcat 6 Spring MVC, where my controllers method has both httpservletrequest and httpservletresponse as parameters. The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a form post). I'm assuming once it is sent by the client as

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread André Warnier
S Ahmed wrote: Tomcat 6 Spring MVC, where my controllers method has both httpservletrequest and httpservletresponse as parameters. The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a form post). I'm assuming once it is sent

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Daniel Mikusa
On Wed, 2012-01-04 at 10:47 -0800, S Ahmed wrote: Tomcat 6 Spring MVC, where my controllers method has both httpservletrequest and httpservletresponse as parameters. The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a

SSL Configuration Errors

2012-01-04 Thread Justin Larose
Hello Group, I am seeing this error when starting Tomcat 7 on Windows. SEVERE: Failed to initialize end point associated with ProtocolHandler [http-bio-8443] java.io.IOException: SSL configuration is invalid due to No available certificate or key corresponds to the SSL cipher suites which are

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread S Ahmed
But if you call certain APIs (e.g. getParameter()) the call will hang until entire POST request body is received from the client and processed. So this means if you don't reference request.getParameter then it won't be streamed from the client? The reason I am asking is I will perform api

Re: SSL Configuration Errors

2012-01-04 Thread Pid
On 04/01/2012 19:33, Justin Larose wrote: Hello Group, I am seeing this error when starting Tomcat 7 on Windows. SEVERE: Failed to initialize end point associated with ProtocolHandler [http-bio-8443] java.io.IOException: SSL configuration is invalid due to No available certificate or

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread André Warnier
S Ahmed wrote: But if you call certain APIs (e.g. getParameter()) the call will hang until entire POST request body is received from the client and processed. So this means if you don't reference request.getParameter then it won't be streamed from the client? The reason I am asking is I will

Re: help analyzing thread dump for Tomcat 7.0.23 issue

2012-01-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, On 1/2/12 9:55 PM, Mike Wertheim wrote: On Mon, Jan 2, 2012 at 3:09 PM, Christopher Schultz What were those 4 RUNNABLE threads doing? They were processing POST requests from the client with a somewhat large data payload. Here's the

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 1/4/12 1:03 PM, Konstantin Kolinko wrote: But if you call certain APIs (e.g. getParameter()) the call will hang until entire POST request body is received from the client and processed. It is said that those methods consume the body

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahmed, On 1/4/12 1:47 PM, S Ahmed wrote: The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a form post). I'm assuming once it is sent by the client as a http post, and my