From: Mathieu Arnold <arn_mat@club-internet.fr>
To: Mike Field <mike@fieldco.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postmaster crashes
Date: Thu, 06 Jul 2000 17:57:32 +0200
Message-ID: <3964AC6C.7F4E2F7@club-internet.fr> (raw)
References: <012701bfe750$0a536260$e80a0a0a@data.it>
<39648E7B.68999861@club-internet.fr>
<01a201bfe75d$e7036f40$e80a0a0a@data.it>
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 <arn_mat@club-internet.fr>
> To: Mike Field <mike@fieldco.com>
> Cc: <pgsql-admin@postgresql.org>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: arn_mat@club-internet.fr, mike@fieldco.com
Subject: Re: Postmaster crashes
In-Reply-To: <3964AC6C.7F4E2F7@club-internet.fr>
References: <012701bfe750$0a536260$e80a0a0a@data.it> <39648E7B.68999861@club-internet.fr> <01a201bfe75d$e7036f40$e80a0a0a@data.it> <3964AC6C.7F4E2F7@club-internet.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox