Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9IHuEP02589 for ; Thu, 18 Oct 2001 13:56:15 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f9IHtXc24731; Thu, 18 Oct 2001 13:55:38 -0400 (EDT) To: Andrew Hill cc: pgsql-admin@postgresql.org Subject: Re: Freeing Connections In-reply-to: <3BCE2C95.6020002@fornax.net> References: <3BCE2C95.6020002@fornax.net> Comments: In-reply-to Andrew Hill message dated "Thu, 18 Oct 2001 10:42:53 +0930" Date: Thu, 18 Oct 2001 13:55:33 -0400 Message-ID: <24728.1003427733@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200110/179 X-Sequence-Number: 2423 Andrew Hill 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