From owner-freebsd-current@FreeBSD.ORG Fri Jun 22 13:42:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30F1216A46E for ; Fri, 22 Jun 2007 13:42:55 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 1597C13C489 for ; Fri, 22 Jun 2007 13:42:54 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from dia.lan128.lombardisoftware.com ([64.3.1.253]:4842 helo=LROSENMAN) by thebighonker.lerctr.org with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I1jPY-000JfO-Uv for freebsd-current@freebsd.org; Fri, 22 Jun 2007 08:42:54 -0500 From: "Larry Rosenman" To: Date: Fri, 22 Jun 2007 08:42:42 -0500 Message-ID: <003f01c7b4d3$3b547b80$b1fd7280$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ace00zUXxxVzxN3USIiVaiTcOFHbgg== Content-language: en-us X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0 X-LERCTR-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0 DomainKey-Status: no signature Subject: PostgreSQL Stats Collector: EINTR on POLL? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 13:42:55 -0000 Has anyone else seen an issue where the PostgreSQL stats collector will get into a loop on poll/EINTR? This seems to be happening a LOT on my amd64 -CURRENT from 6/16 sources. I don't *THINK* it's a PostgreSQL issue, as this same code runs fine on 6-STABLE. the ktrace of the process is full of: 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call 9788 postgres CALL poll(0x7fffffffd4b0,0x1,0x7d0) 9788 postgres RET poll -1 errno 4 Interrupted system call # if I kill it off, it'll go back to normal for a while, then get into that state again. this is on a dual 5120 system (4 cores). I *CAN* give ssh access to a developer if they'd like. # uname -a FreeBSD borg.lerctr.org 7.0-CURRENT FreeBSD 7.0-CURRENT #28: Sat Jun 16 13:09:27 CDT 2007 root@borg.lerctr.org:/usr/obj/usr/src/sys/BORG amd64 # Ideas? Thanks! -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893