Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ta8sB-0001BW-Co for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 17:41:35 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ta8s8-0000pU-9D for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 17:41:34 +0000 Received: from anarazel.de (p5DDC7C56.dip.t-dialin.net [93.220.124.86]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MQd8X-1Thei91Vzp-00U8Sc; Sun, 18 Nov 2012 18:41:24 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 76AFB1C00E5; Sun, 18 Nov 2012 18:41:23 +0100 (CET) Date: Sun, 18 Nov 2012 18:41:23 +0100 From: Andres Freund To: Tom Lane Cc: Igor , pgsql-bugs@postgresql.org Subject: Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument" Message-ID: <20121118174123.GC5091@awork2.anarazel.de> References: <20121118162852.GB14145@awork2.anarazel.de> <3078.1353259769@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3078.1353259769@sss.pgh.pa.us> X-Provags-ID: V02:K0:NgJQ+SwbYJ/xWCvmAeS6QwYa5ghgvNJyXrD9GDqHlWk THZWjbaS97ODdoH9AAoXP/BhhBkD1y0lSfDYwv0OhQQMg2LjYC fz0oAxoN/dnulfejnG+eJKytjgCdQ3BCLnxULiiJq0BjN9c7b6 UsCFuneJhsNUPVK8GnWG69878kxZOIaqNp4stzZMn3+xrCGEHT mPJHYYvAIue9z6q3PZqGdUD2iYlgNMry5jlRFvyPIbI5FZ7xvD fYwGCaPot3bEMohy3bgJvYRMOaxaQywWKoymJ48bMhhMXcZwf2 kJ+s/yD7juWc/q0IBRoP/vfIlIjoOTzNZTyjpIcwXm/hfk8cpz Piw26PUQJV1f38dr82pUDl9iau+Dqtkesjvo1ajbO X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/124 X-Sequence-Number: 34682 On 2012-11-18 12:29:29 -0500, Tom Lane wrote: > Igor 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