From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 20:36:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF8101065670 for ; Sat, 28 Jul 2012 20:36:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCEF8FC0A for ; Sat, 28 Jul 2012 20:36:58 +0000 (UTC) Received: from r56.edvax.de (port-92-195-22-218.dynamic.qsc.de [92.195.22.218]) by mx02.qsc.de (Postfix) with ESMTP id DA41F27CF3; Sat, 28 Jul 2012 22:36:56 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6SKauI9003175; Sat, 28 Jul 2012 22:36:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 28 Jul 2012 22:36:56 +0200 From: Polytropon To: Jens Schweikhardt Message-Id: <20120728223656.c0b16935.freebsd@edvax.de> In-Reply-To: <20120728201737.GA1965@schweikhardt.net> References: <20120728201737.GA1965@schweikhardt.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD questions Subject: Re: acroread9 makes CPU spin (busy loop?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 20:36:58 -0000 On Sat, 28 Jul 2012 22:17:37 +0200, Jens Schweikhardt wrote: > hello, world\n > > I'm wondering if it's just here or if other people also observe that > acroread9 makes the CPU spin at 100% (one load point), as if in a busy > loop. This happens for me on 9-STABLE and 10-CURRENT alike (amd64), with > up-to-date ports tree. It has done this as long as I can remember. Maybe > there's something wrong with the way I compile my system and custom > kernel, and if so, I'd like to get to the bottom of it. The only > diagnostics I get are > > (process:33229): Gtk-WARNING **: Locale not supported by C library. > Using the fallback 'C' locale. That seems to be a result of sloppy programming. That message is also printed by many "modern" Gtk applications. > and dmesg says > > linux: pid 33229 (acroread): syscall inotify_init not implemented Same here, also seems to refer to acroread accessing a Linux kernel call which FreeBSD's ABI does not implement. > Anybody know what's causing acroread to spin? No idea, but I can conform this on my home system too. It's OS version 8.2-STABLE (from August 2011) i386, and I have acroread9-9.4.2 and acroreadwrapper-0.0.20110529 installed. The program is still responsive (as far as you can say this for bloated programs). In "top", the WCPU value increases until it reaches 100.00%, and CPU utilization monitor shows a "bar". When the program is closed, everything goes back to normal. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...