Received: from toto.mat.cc (IDENT:postfix@toto.mat.cc [212.43.217.25]) by hub.org (8.10.1/8.10.1) with ESMTP id e66FvdW97053 for ; Thu, 6 Jul 2000 11:57:40 -0400 (EDT) Received: by toto.mat.cc (Postfix, from userid 10) id 9701310404; Thu, 6 Jul 2000 17:57:38 +0200 (CEST) Received: from club-internet.fr (gandalf.in.mat.cc [192.168.5.2]) by bilbo.in.mat.cc (Postfix) with ESMTP id BC27A3251D; Thu, 6 Jul 2000 17:57:32 +0200 (CEST) Message-ID: <3964AC6C.7F4E2F7@club-internet.fr> Date: Thu, 06 Jul 2000 17:57:32 +0200 From: Mathieu Arnold Organization: http://www.mat.cc/ X-Mailer: Mozilla 4.73 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Mike Field Cc: pgsql-admin@postgresql.org Subject: Re: Postmaster crashes References: <012701bfe750$0a536260$e80a0a0a@data.it> <39648E7B.68999861@club-internet.fr> <01a201bfe75d$e7036f40$e80a0a0a@data.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200007/22 i figured out in launching strace postmaster :) and seeing some open failing, causing the master postmaster to crash and with it all it's sons. It was with a PG 6.5.3, and I haven't seen it happen again since a added an echo 16384 > /proc/sys/fs/file-max in my rc.local. Mike Field wrote: > > Thanks for the tips. A few questions: how does the lack of filehandles > relate to the postmaster crashing? Filehandles to what files? How did you > figure it out? (ie. did you look at logs? If so, which and how?) > > Thanks in advance for the help. > > Mike > mike@fieldco.com > > ----- Original Message ----- > From: Mathieu Arnold > To: Mike Field > Cc: > Sent: Thursday, July 06, 2000 9:49 AM > Subject: Re: [ADMIN] Postmaster crashes > > > I've had quite the same thing on a busy server, it was due to a lack of > > filehandles. > > > > Mike Field wrote: > > > > > > Hi- > > > > > > My php website interacts with a postrgres database, and every now and > then, > > > postgres just seems to crash. A simple restart of postmaster fixes the > > > problem, until it crashes again. However, I have no idea EXACTLY when > it > > > crashes (what the website users are doing at the time, if anything) and > WHY. > > > If someone has any ideas as to why it might be crashing, or how I can > find > > > out why, and what to do about it, I would appreciate the help. > > > > > > Thanks, > > > > > > Mike > > > mike@fieldco.com > > > > -- > > Mathieu Arnold > > > > -- Mathieu Arnold