users@glassfish.java.net

Re: Postgres active connections max out at 5

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Jul 2008 08:37:45 PDT

We're using jmeter to create 100 uses accessing the webapp. Netstat does show the active number of connections increasing and when ps is run you can see th 30 IDLE connections to postgres. The number of ACTIVE connections to the database (viewed with ps) never gets above 5.

If we deploy the same app in tomcat the active connections rocket up to what ever is needed. It's really strange.
[Message sent by forum member 'chickenbandit' (chickenbandit)]

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