From owner-freebsd-ports@FreeBSD.ORG Fri Jul 13 17:00:49 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D3A1065672; Fri, 13 Jul 2012 17:00:49 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 54A508FC12; Fri, 13 Jul 2012 17:00:49 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:88ae:734:80aa:c1c1]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id E4BFC4AC2D; Fri, 13 Jul 2012 21:00:47 +0400 (MSK) Date: Fri, 13 Jul 2012 21:00:39 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <38147362.20120713210039@serebryakov.spb.ru> To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gnome@FreeBSD.org Subject: gam_server (gamin-0.1.10_4) consumes 100% CPU (one core) with libinotify (libinotify-20110829) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 17:00:49 -0000 Hello, Ports. I've installed "darktable" port, which brings up "gamin" (configured with libinotify), and now when I run darktable gam_Server consumes 100% of my CPU (one core). ktrace shows that it spins in tight loop with kevent() call, which always failed: 71730 gam_server 0.000175 CALL kevent(0x3,0x8043bc000,0xb5,0x7fffffbfdf90,0x1,0) 71730 gam_server 0.000239 GIO fd 3 wrote 4096 bytes 71730 gam_server 0.000252 RET kevent -1 errno 9 Bad file descriptor 71730 gam_server 0.000255 CALL kevent(0x3,0x8043bc000,0xb5,0x7fffffbfdf90,0x1,0) 71730 gam_server 0.000312 GIO fd 3 wrote 4096 bytes 71730 gam_server 0.000323 RET kevent -1 errno 9 Bad file descriptor 71730 gam_server 0.000325 CALL kevent(0x3,0x8043bc000,0xb5,0x7fffffbfdf90,0x1,0) 71730 gam_server 0.000382 GIO fd 3 wrote 4096 bytes 71730 gam_server 0.000392 RET kevent -1 errno 9 Bad file descriptor and so on... I'm using FreeBSD blob.home.serebryakov.spb.ru 9.0-STABLE FreeBSD 9.0-STABLE #32: Fri Jun 1 00:49:11 MSK 2012 root@blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB amd64 FS is UFS2. -- // Black Lion AKA Lev Serebryakov