pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Hill <list@fornax.net>
To: pgsql-admin@postgresql.org
Subject: Re: Freeing Connections
Date: Wed, 14 Nov 2001 08:18:35 +1030
Message-ID: <3BF19533.3010101@fornax.net> (raw)
References: <3BCE2C95.6020002@fornax.net>
	<24728.1003427733@sss.pgh.pa.us>
	<20011018221531.A15435@rice.edu>
	<3BCFB7F4.2000804@fornax.net>
	<3BD4AF79.1040102@fornax.net>

Apologies for replying to my own post, and resurrecting something from 
ages ago, but I though that people may be interested in what had happened.

You may recall that I was seeing a number of processes like this on my 
linux PostgreSQL server:

[bash]
  \_ postmaster -i -D/var/pgsql/data -N 32 -B 64
  \_ [postmaster]

etc...

It was suggested that PHP persistent connections were the cause of this, 
but tracking down all of the PHP boxes that used the database server and 
updating to the latest version of PHP, as well as configuring PHP to not 
use persistent connections, while helping (i.e. reducing the number of 
un-named processes), didn't actually solve the problem.

However, Ross Reedstrom hit the nail on the head when he said:

"...if it's linux, those could just be swapped out processes: since the 
execution state gets swapped, the kernel only has minimal info about the 
process, including the original name."

I finally had the opportunity to take the PostgreSQL server down over 
the weekend and dump a considerable amount of extra RAM in the machine, 
and the problem has dissapeared entirely.

Let it never be said that a database server can have too much RAM :-)

Thanks for all the help everyone!

Cheers,

-- 
Andrew Hill
"RAID - Don't believe the hype." -- 2001-09-22




view thread (7+ messages)

Message-ID: <3BF19533.3010101@fornax.net>
Permalink:  ../3BF19533.3010101@fornax.net/
Also on:    postgresql.org/message-id/3BF19533.3010101@fornax.net

 · 

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: list@fornax.net
  Subject: Re: Freeing Connections
  In-Reply-To: <3BF19533.3010101@fornax.net>
  References: <3BCE2C95.6020002@fornax.net> <24728.1003427733@sss.pgh.pa.us> <20011018221531.A15435@rice.edu> <3BCFB7F4.2000804@fornax.net> <3BD4AF79.1040102@fornax.net> <3BF19533.3010101@fornax.net>

* 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