Received: from fondos.net ([212.80.170.130]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f28AFRx02354 for ; Thu, 8 Mar 2001 05:15:38 -0500 (EST) (envelope-from oserra@fondos.net) Received: (qmail 1838 invoked from network); 8 Mar 2001 10:13:44 -0000 Received: from unknown (HELO orcas) (192.0.16.243) by svr2.fondos.net with SMTP; 8 Mar 2001 10:13:44 -0000 From: "Oscar Serrano" To: Subject: RE: Backend dies for DBI Date: Thu, 8 Mar 2001 11:15:30 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <24449.984016287@sss.pgh.pa.us> Importance: Normal X-Archive-Number: 200103/80 X-Sequence-Number: 1241 > -----Mensaje original----- > De: pgsql-interfaces-owner@postgresql.org > [mailto:pgsql-interfaces-owner@postgresql.org]En nombre de Tom Lane > Enviado el: jueves, 08 de marzo de 2001 2:51 > Para: Bjorn Halvor Solberg > CC: pgsql-interfaces@postgresql.org > Asunto: Re: [INTERFACES] Backend dies for DBI > > > > What confuses me is that it ran fine for a couple of months. > Then, after > > the power outage, it crashes every few hours, resulting in having to > > restart the web server to regain the DB handle. > > Hmm. Possibly some corrupted data in the database now? > > regards, tom lane > Recently I had a problem similar to this. I don't know why, once or twice a day, some backend died abnormaly so killing all other backends. The problem was some index got corrupted. Using the command REINDEX TABLE table_name FORCE, it fixed the problem with the index. But the problem started again. Finally I've found that the problem was in NFS. My databases where in another computer (different from the postgres binaries) mounted by NFS. Now I've put postmaster and databases in the same hard disk and now it works. BTW, I have a conexion to the postmaster on every cgi (mod_perl) because I thought that it was not possible to open a conexión from within the httpd.conf and use it for every cgi. > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >