Re: Freeing Connections - Mailing list pgsql-admin

From Tom Lane
Subject Re: Freeing Connections
Date
Msg-id 24728.1003427733@sss.pgh.pa.us
Whole thread Raw
In response to Freeing Connections  (Andrew Hill <list@fornax.net>)
Responses Re: Freeing Connections  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Re: Freeing Connections  (Lenny Mastrototaro <lenny@horizonlive.com>)
List pgsql-admin
Andrew Hill <list@fornax.net> writes:
> Normally, 32 connections is heaps for what I need. However, I often get
> connections that seem to be doing nothing. For example:

> [bash]
>   \_ postmaster -i -D/var/pgsql/data -N 32 -B 64
>   \_ [postmaster]
>   \_ /var/pgsql/bin/postgres 202.174.32.67 postgres anb idle
>   \_ /var/pgsql/bin/postgres 202.174.32.68 postgres anb idle
>   \_ [postmaster]
>   \_ /var/pgsql/bin/postgres 203.34.190.137 postgres bmf idle
>   \_ [postmaster]
>   \_ [postmaster]
>   \_ [postmaster]
>   \_ [postmaster]
>   \_ /var/pgsql/bin/postgres 202.174.32.8 radius bmf idle

Curious.  Can you attach to some of the unidentified processes with
a debugger, and get a stack traceback from 'em?  Offhand I can't
think of a reason for 7.0 to have any subprocesses that haven't
changed their PS display.  It would help to know what they are doing.

            regards, tom lane

pgsql-admin by date:

Previous
From: Joel Burton
Date:
Subject: Re: Please help - tks
Next
From: Tom Lane
Date:
Subject: Re: Mirroring with WAL?