Re: Freeing Connections

From: Andrew Hill <list(at)fornax(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Freeing Connections
Date: 2001-11-13 21:48:35
Message-ID: 3BF19533.3010101@fornax.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nikk Anderson 2001-11-14 08:20:19 Re: PostgreSQL->JDBC->Tomcat->Apache resource uses
Previous Message Chad R. Larson 2001-11-13 21:41:15 Re: PostgreSQL->JDBC->Tomcat->Apache resource uses