users@glassfish.java.net

Re: Glassfish scaling/contention problems in http queue and jdbc pool

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 May 2010 08:32:24 PDT

That's a very good blog post. I did read it a couple of weeks back and changed my configuration a bit according to the recommendations. We are running Glassfish 2.1.1 and cannot really change that right now.

You can find the implmentation of the queue and pool here:

HTTP-queue:
http://fisheye5.cenqua.com/browse/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/LinkedListPipeline.java?r=1.25

JDBC Pool:
http://fisheye5.cenqua.com/browse/glassfish/entity-persistence/src/java/oracle/toplink/essentials/threetier/ExternalConnectionPool.java?r=1.4

I have also attached the thread dumps that show the contention..

Cheers,
-Kristoffer
[Message sent by forum member 'ekrisjo']

http://forums.java.net/jive/thread.jspa?messageID=469554