Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument" - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"
Date
Msg-id 20121118174123.GC5091@awork2.anarazel.de
Whole thread Raw
In response to Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"
List pgsql-bugs
On 2012-11-18 12:29:29 -0500, Tom Lane wrote:
> Igor <igorya.inscriptio@gmail.com> writes:
> > I feel :) that the problem is in "logging_collector" setting - I used this
> > feature. But now I comments this setting in config. And will watching ..
>
> I was just about to ask what you have log_rotation_age set to ...

According to the manpages freebsds poll won't return EINVAL if a
contained fd is invalid... I wonder if the the timeout value is screwed
and overflowed the cast from 'long' to int and got negative.

Igor, I guess youre on a 64bit system?

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"
Next
From: Tom Lane
Date:
Subject: Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"