pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Madison <jeff@ikano.com>
To: pgsql-admin@postgresql.org
Subject: Connection terminates but postmaster proc lives on...?
Date: Wed, 17 Apr 2002 12:35:37 -0600
Message-ID: <007201c1e63e$aad57040$58c2d0cd@JEFF> (raw)

I have seen several postings in the list archives regarding this exact
issue but have never seen any response or resolution.  We are running
pgsql 7.1.3 installed from the RedHat RPM on RedHat Linux 7.2.  We are
running a fairly large accounting application written in PERl using the
PERL DBI and DBD:Postgres on PERL 5.6.1.  What we are seeing is when
people terminate the application in the middle of a query many times
postmaster does not see the connection terminate or at least ignores it
and then proceeds to take a large amount of system resources and never
dies.  It only takes 5 or 6 of these postmaster processes to make the
system unusable since each one will take 25 to 35% of the processor
capacity of the system.  Eventually the system will just cease to
respond - after 18 to 24 hours.  This is a web based application so it
does happen very frequently where someone will get tired of waiting for
a page to return and just close the browser.  We have adjusted the
max_connection, shared_buffers, fsync=false and increased the amount of
shared memory in the kernel to 1GB.

Thanks,

Jeff




view thread (2+ messages)  latest in thread

Message-ID: <007201c1e63e$aad57040$58c2d0cd@JEFF>
Permalink:  ../007201c1e63e$aad57040$58c2d0cd@JEFF/
Also on:    postgresql.org/message-id/007201c1e63e$aad57040$58c2d0cd@JEFF

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jeff@ikano.com
  Subject: Re: Connection terminates but postmaster proc lives on...?
  In-Reply-To: <007201c1e63e$aad57040$58c2d0cd@JEFF>
  References: <007201c1e63e$aad57040$58c2d0cd@JEFF>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox