Received: from m1.horizonlive.com (slim-eth0.horizonlive.net [208.185.78.2]) by postgresql.org (8.11.3/8.11.4) with SMTP id f9J2YGP11936 for ; Thu, 18 Oct 2001 22:34:17 -0400 (EDT) (envelope-from lenny@horizonlive.com) Received: (qmail 910 invoked by uid 50108); 19 Oct 2001 02:34:12 -0000 Date: Thu, 18 Oct 2001 22:34:12 -0400 From: Lenny Mastrototaro To: pgsql-admin@postgresql.org Subject: Re: Freeing Connections Message-ID: <20011018223412.I23213@m1.horizonlive.com> Mail-Followup-To: pgsql-admin@postgresql.org References: <3BCE2C95.6020002@fornax.net> <24728.1003427733@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <24728.1003427733@sss.pgh.pa.us>; from tgl@sss.pgh.pa.us on Thu, Oct 18, 2001 at 01:55:33PM -0400 X-Archive-Number: 200110/201 X-Sequence-Number: 2445 On Thu, Oct 18, 2001 at 01:55:33PM -0400, Tom Lane wrote: > 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. I believe the processes displayed as [foo] are paged out which is why you don't see their full commandlines. Regards, Lenny -- Lenny Mastrototaro VP System Operations HorizonLive.com lenny@horizonlive.com collaborate . interact . learn (212)813-3867