Date: Sat, 14 Jul 2012 03:58:27 -0400 From: Jan Beich <jbeich@tormail.org> To: lev@FreeBSD.org Cc: ports@freebsd.org, gnome@FreeBSD.org Subject: Re: gam_server (gamin-0.1.10_4) consumes 100% CPU (one core) with libinotify (libinotify-20110829) Message-ID: <1SpxEn-000Iev-7I@internal.tormail.org> In-Reply-To: <38147362.20120713210039__36015.2969988578$1342198926$gmane$org@serebryakov.spb.ru> (Lev Serebryakov's message of "Fri, 13 Jul 2012 21:00:39 %2B0400") References: <38147362.20120713210039__36015.2969988578$1342198926$gmane$org@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Lev Serebryakov <lev@FreeBSD.org> writes: > 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. Same here: 10.0-CURRENT, ZFS, gamin from marcuscom repo. It doesn't happen with pkgsrc patches, though.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SpxEn-000Iev-7I>