Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 568E74769B8 for ; Tue, 10 Dec 2002 15:06:33 -0500 (EST) Received: from mail.incofisa.com (213-96-16-90.uc.nombres.ttd.es [213.96.16.90]) by postgresql.org (Postfix) with ESMTP id 7A41047618E for ; Tue, 10 Dec 2002 15:03:40 -0500 (EST) Received: from www (www.incofisa.com [192.168.0.5]) by mail.incofisa.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id gBAK86R09503; Tue, 10 Dec 2002 21:08:06 +0100 Message-ID: <001301c2a087$3ba28150$0500a8c0@incofisa.com> From: =?iso-8859-1?Q?Sime=F3_Reig?= To: , "Tom Lane" References: <200212071947.35439.aklaver@attbi.com> <001001c29fdf$737499e0$0500a8c0@incofisa.com> <21459.1039482712@sss.pgh.pa.us> Subject: Re: kill 'zombies' Date: Tue, 10 Dec 2002 21:03:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/55 X-Sequence-Number: 2444 > If it shows as "zombie" in ps, then you can't kill it (because it's > already dead). kill will have absolutely zero effect. > > This should not happen, though. The only way a Postgres child process > could stay as "zombie" for more than a few milliseconds is if the > postmaster is hung up and unable to notice the dead child process. > If the postmaster were hung, you'd have a lot worse problems than zombie > processes --- you'd not be able to make new connections at all. So I > think you aren't giving us the straight scoop. Are you sure that these > zombie processes are actually Postgres processes? Look to see what > their parent process is. Well, I'm saying 'zombie' not like *nix terminology. I'm talking about server proces that are waiting for a client that die unexpectly and can't close connection. > > PostgreSQL 7.1.3 under freeBSD > > You could do worse than update to 7.2. It's *much* harder for a > misbehaving client to hang the postmaster than it was pre-7.2. > But I'm not convinced that you're describing a Postgres problem. > > regards, tom lane No, no sorry, Postgres is HARDER a lot, we have more than 70 simultaneos connection over ODBC, 107 tables, millions of rows and nothing has happened since april, really good job ! Update the database is in our TODO LIST but we try to wait for a version with native replication (We have heard that is possible to be available in 7.4.X ) . We have still a lot of work and there is a problem with time representation that has changed between 7.1.X to 7.2.X that we can't resolve (decimal fraction of time) and we have a lot of server side code. Thanks! Simeó Reig