X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A316432A0AA; Wed, 29 Sep 2004 21:16:59 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88733-09; Wed, 29 Sep 2004 20:16:51 +0000 (GMT) Received: from mr2.surnet.cl (av2.surnet.cl [216.155.73.169]) by svr1.postgresql.org (Postfix) with ESMTP id 2AB3E329DB0; Wed, 29 Sep 2004 21:16:51 +0100 (BST) Received: from smtp2.surnet.cl (216.155.73.169) by mr2.surnet.cl (7.0.024) id 4149C4A50020C547; Wed, 29 Sep 2004 16:12:30 -0400 Received: from av1.surnet.cl ([216.155.73.168]) by smtp2.surnet.cl (MailMonitor for SMTP v1.2.2 ) ; Wed, 29 Sep 2004 16:12:30 -0400 (CLT) Received: from cluster.surnet.cl (216.155.73.165) by smtp1.surnet.cl (7.0.024) id 413F2C34003017FF; Wed, 29 Sep 2004 16:15:10 -0400 Received: from 216.155.88.75.dsl.surnet.cl (216.155.89.166) by cluster.surnet.cl (7.0.024) (authenticated as alvherre@surnet.cl) id 4134D3220033A1F2; Wed, 29 Sep 2004 16:15:16 -0400 Received: by 216.155.88.75.dsl.surnet.cl (Postfix, from userid 500) id 0025719C7C; Wed, 29 Sep 2004 16:15:56 -0400 (CLT) Date: Wed, 29 Sep 2004 16:15:56 -0400 From: Alvaro Herrera To: "Marc G. Fournier" Cc: Josh Berkus , pgsql-advocacy@postgresql.org, Bruce Momjian , PostgreSQL www Subject: Re: [pgsql-advocacy] Server unreliability Message-ID: <20040929201556.GB5275@dcc.uchile.cl> References: <200409291713.i8THDLn14086@candle.pha.pa.us> <200409291152.05741.josh@agliodbs.com> <20040929155958.U93533@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040929155958.U93533@ganymede.hub.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/249 X-Sequence-Number: 5319 On Wed, Sep 29, 2004 at 04:07:20PM -0300, Marc G. Fournier wrote: > as to what advantages the jail's provide ... mainly, security ... we can > easily provide root access to pugs.postgresql.org, as an example, so that > Fred (please tell me I remembered right?) can do whatever work he wants, > without giving him full root on the developer jail ... same with all of > the other jails ... Chris has full root on gborg, so that he doesn't have > to ask someone else to do something when he notices a problem (ie. restart > mailman) ... This business about anyone having to restart anything is strange. I don't run mailman lists personally anymore, but back when I used to, there was no need to restart anything. This sounds like there are other reliability problems that should be attacked. Also I understand that it's a problem that fsck takes 8 hours to run. However, why on earth is fsck running in the first place? Do the servers go down unexpectedly on regular basis? This also screams of a more fundamental problem that should be solved. Another thing: I've seen several times already PHP warnings show up about pg_query not getting a good connection or similar problems. Isn't normal advice to check return codes before even trying to use the connections? Why isn't this done in the main postgresql.org code, where anyone can see it, is beyond me. Of course the solution to the underlying problem is to restart the Postgres server, but why should we inform the user that Postgres' own database server is down, in the worst possible way? Just random thoughts ... -- Alvaro Herrera () "Hay dos momentos en la vida de un hombre en los que no debería especular: cuando puede permitírselo y cuando no puede" (Mark Twain)