Hi, thanks for the response.
I have A few questions regarding your comment:
1. request processors are equivalent to threads?
2. doesn't nio work with one thread? (I thougt that this thread
configuration is irrelevant since nio works with one thread to receive
requests.)
3. I shouldn't work with Executor while working with nio connector?
4. can you send me an example of nio good configuration?

Thank you very much, Michal

Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Michal,
> 
> Michal Singer wrote:
>> I am not sure the stuck as any thing to do with the Request Processor
>> accumulation.
>> I work with nio connector. I use acceptCount="200" so maybe this is why i
>> see the 200 Request Processors.
> 
> acceptCount="200" just means that the socket will accept 200 clients /in
> addition/ to those currently being served by RequestProcessor threads.
> The only way to "see" those waiting clients would be to query the socket
> itself (maybe only available at the C-library level?).
> 
>> This is the full configuration i use for connector:
>> 
>> <Connector executor="AgentExecutor" useExecutor="true" port="8080"
>> protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="false"
>> scheme="http" secure="false" redirectPort="8443"
>> connectionTimeout="20000"
>> enableLookups="false" disableUploadTimeout="true" allowTrace="false"
>> maxSpareThreads="15" maxThreads="500" acceptCount="200"/>
> 
> Your configuration allows for 500 request processors, so seeing only 200
> doesn't seem too bad. I agree with Mark's confusion over your
> configuration: you seem to be trying to use both a standard connector as
> well as an executer. You should pick one and stick with it.
> 
>> After running a high load for about an hour, using jmeter as my simulator
>> for load, the tomcat stops hanling the requests. jmeter stops sending
>> messages since tomcat does not process them. I can't see any stuck on the
>> application side. I see that all requests are handled.
> 
> Thread dump, thread dump, thread dump!
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkkkIvoACgkQ9CaO5/Lv0PDjAQCgorj69K3azqmYCASIexi4cMCN
> qhcAoItqx00LrA4wjAPjLUXgOatJZwie
> =4GQT
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-request-processing-gets-stuck-tp20526036p20581747.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to