From: Andres Freund <andres@2ndquadrant.com>
To: Peter Geoghegan <peter@2ndquadrant.com>
Cc: Igor <igorya.inscriptio@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"
Date: Sun, 18 Nov 2012 18:45:19 +0100
Message-ID: <20121118174519.GD5091@awork2.anarazel.de> (raw)
In-Reply-To: <CAEYLb_VqQ+p-eR+hgbKHqu5Bocuim_G+F3pPyw5j8io7_Ar+yw@mail.gmail.com>
References: <E1TZpVE-0005d4-50@wrigleys.postgresql.org>
<20121118162852.GB14145@awork2.anarazel.de>
<CALdM5eqgGyGChJWxmtbyuWeZ363mmMCmx9JfrWNgp3HjHKv3-A@mail.gmail.com>
<20121118171206.GA30822@awork2.anarazel.de>
<CAEYLb_VqQ+p-eR+hgbKHqu5Bocuim_G+F3pPyw5j8io7_Ar+yw@mail.gmail.com>
On 2012-11-18 17:36:40 +0000, Peter Geoghegan wrote:
> On 18 November 2012 17:12, Andres Freund <andres@2ndquadrant.com> wrote:
> > Ok, this is already helpful. Do you have anything the log that shows
> > what process pid 95528 is? Could you grep for it?
>
> I haven't looked at this in detail, but are you sure that this isn't
> the bug that was fixed by commit
> e81e8f9342b037246b284bad15e42e21b1929301 ? The "invalid argument"
> poll() error is too generic to be sure what is really at fault, but
> this doesn't need to be a FATAL error, it seems.
I looked at that commit at first as well, but I don't really see how it
could have fixed that issue.
Btw, its not a FATAL but a plain ERROR.
> Is this a 32-bit platform? It's probably just that there is a large
> number of sockets, which Google seems to think can cause this error
> with poll(), so this seems like a slight variant of the problem
> reported by Sean Chittenden (kernel resource exhaustion causes pipe
> creation to fail, with unnecessarily bad consequences for Postgres).
We never have more than 3 fds in the poll. And a failure to create the
pipe should have caused problems at other locations before this...
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
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-bugs@postgresql.org
Cc: andres@2ndquadrant.com, peter@2ndquadrant.com, igorya.inscriptio@gmail.com
Subject: Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"
In-Reply-To: <20121118174519.GD5091@awork2.anarazel.de>
References: <E1TZpVE-0005d4-50@wrigleys.postgresql.org> <20121118162852.GB14145@awork2.anarazel.de> <CALdM5eqgGyGChJWxmtbyuWeZ363mmMCmx9JfrWNgp3HjHKv3-A@mail.gmail.com> <20121118171206.GA30822@awork2.anarazel.de> <CAEYLb_VqQ+p-eR+hgbKHqu5Bocuim_G+F3pPyw5j8io7_Ar+yw@mail.gmail.com> <20121118174519.GD5091@awork2.anarazel.de>
* 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