Unix Technical Forum

Closed ports hanging around on Windows

This is a discussion on Closed ports hanging around on Windows within the Pgsql Performance forums, part of the PostgreSQL category; --> We've got a Postgres DB on Win2003 Server that is the back end for some web services (Django/Python). This ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 11:13 AM
proteusguy
 
Posts: n/a
Default Closed ports hanging around on Windows

We've got a Postgres DB on Win2003 Server that is the back end for
some web services (Django/Python). This results in connections being
opened and closed rapidly on the database. We don't have lots of
simultaneous connections and are ensuring that connections are closed
by the client correctly. Unfortunately, Windows, even though it marks
the connections as closed, seems to be leaving these connections
around for a while before cleaning them up. The result is that we end
up with tons of connections taking up resources and blocking new
connections once the connections settings limit is reached. They do
eventually get cleared up and transactions proceed but this is
obviously a capacity limiting issue.

Connection pooling (pgpool) doesn't seem to be an option under
Windows and the stateless nature of our app makes long lived
connections quite impractical. Is anyone else experiencing this issue?
Is there some Windows setting we can change to force it to clean up
after itself faster?

thanx,

-- Ben

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com