voyent
Reverse proxy AJP and NIO  XML
Forum Index -> Portals & Portlets
Author Message
tmoreira2020


Joined: 25/Sep/2009 00:00:00
Messages: 16
Offline



Hi there,

I'm running some stress tests against an environment that has the following configurations

Apache 2.2.21
Liferay 6.0.11 on top of Tomcat 6.0.32
ICEFaces EE-1.8.2.GA_P03

Apache and Tomcat are configured to connect to each other using the AJP protocol. At some point of the test I got a message in Tomcat log as below:

Code:
GRAVE: All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status
.

I'm not pretty sure but this seems to be due the Tomcat 6 does not have AJP built with support for NIO, right? Is there a workaround for this? Should I move to Tomcat 7 http://www.tomcatexpert.com/blog/2011/06/17/apache-tomcat-7016-released?
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


Support for NIO may be part of the solution but the actual behaviour in question may depend on a couple of things:

1. The use of Ajax Push in the stress testing application:

Ajax Push is enabled by default in ICEfaces applications. The default implementation is to using blocking connections to support Ajax Push which would mean potentially 1 thread per client dedicated to supporting Push. If you are not using Ajax Push, you can disable it with a context parameter. If you are using Ajax Push under load and you want to use NIO, then the Enterprise Push Server may be a something to consider (part of the Enterprise package):

http://www.icefaces.org/main/ajax-java/icefaces-ee-1-8.iface

2. How the application is being stress tested.

Since there can be a few things to be aware of when load testing ICEfaces, you should consider reviewing our EE documentation for testing. (Note: You need to be a supported EE customer to access this documentation.)

http://wiki.icesoft.com/display/ICEpack/Home

The specific section on load testing:

http://wiki.icesoft.com/display/ICEpack/Load+Testing

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
tmoreira2020


Joined: 25/Sep/2009 00:00:00
Messages: 16
Offline



Thanks Deryk,

We are trying to get up and running an instance of Push Server to start a new round of stress tests.
jack.van.ooststroom


Joined: 26/Oct/2004 00:00:00
Messages: 223
Offline


Hello,

It indeed looks like Tomcat 6 NIO is not supported by the AJP connector: Advanced IO and Tomcat. Tomcat 7 NIO does seem to be supported by the AJP connector: Connector Comparison

Please be advised that Push Server does not support Tomcat NIO. The Enterprise Push Server (EPS) does.

Regards,

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
tmoreira2020


Joined: 25/Sep/2009 00:00:00
Messages: 16
Offline



Thanks Jack, we are using EPS since we have a license of EE.
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team