These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Postgresql "idle in transaction" annoyance.
PostPosted: Fri Sep 08, 2006 10:00 am 
Newbie

Joined: Sun Oct 23, 2005 9:45 am
Posts: 3
Location: Tinton Falls, NJ
Hi folks,

Hoping someone can shed some light here.

I have a web application that I'm developing under Tomcat 5.x using Hibernate 3 against a Postgresql 8.2 server. What I'm seeing happen is after a few "visits" to the web site I see in the Unix process table a lot of Postgres postmater processes running that are in a "idle in transaction" state.

Since I am in the development phase of my project this becomes a problem when I try to modify my schema. Dropping and recreating tables "hangs" the psql client when those processes exist.

My JDBC driver is postgresql-8.2dev-500.jdbc2.jar which I got from the Postgresql web site a while back.

Any thoughts on this matter would be greatly appreciated.

_________________
Peter L. Berghold Peter at Berghold do Net
Old fashioned Unix Professional...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.