From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 15 15:50:04 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60DDC696 for ; Tue, 15 Apr 2014 15:50:04 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34A0C1A61 for ; Tue, 15 Apr 2014 15:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3FFo3wk013121 for ; Tue, 15 Apr 2014 15:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3FFo3Dh013120; Tue, 15 Apr 2014 15:50:03 GMT (envelope-from gnats) Date: Tue, 15 Apr 2014 15:50:03 GMT Message-Id: <201404151550.s3FFo3Dh013120@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "E.Richiardone" Subject: Re: kern/166071: High CPU Utilization on HylaFAX processes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: "E.Richiardone" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2014 15:50:04 -0000 The following reply was made to PR kern/166071; it has been noted by GNATS. From: "E.Richiardone" To: bug-followup@FreeBSD.org, rnoll.bsd@gmail.com Cc: Subject: Re: kern/166071: High CPU Utilization on HylaFAX processes Date: Tue, 15 Apr 2014 17:23:37 +0200 I noticed still this problem after upgrading to 10.0-RELEASE from a 8.4-STABLE on an HP DL380G5 and USRobotics USB modem. Upgraded all from binaries with freebsd-update and portupgrade. The problem is that /usr/local/sbin/faxgetty on /dev/cuaU0 is looping on a select() and consumes 100% of CPU when in idle. # uname -a FreeBSD xxx.local 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:43:36 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 # pkg info | grep hylafax hylafax-6.0.6_1 Fax software # ps -aux | grep getty uucp 1366 100.0 0.1 12480 3876 - R 3:32PM 90:07.56 /usr/local/sbin/faxgetty cuaU0 # top ... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1366 root 1 103 0 12480K 3876K CPU1 1 105:27 100.00% faxgetty ... ktrace shows a loop on select() ... 1366 faxgetty 0.000003 CALL select(0x8,0xbfbfdce8,0xbfbfdc68,0xbfbfdbe8,0x80daf08) 1366 faxgetty 0.000004 RET select 1 1366 faxgetty 0.000003 CALL read(0x4,0xbfbfd36c,0x7ff) 1366 faxgetty 0.000003 RET read 0 1366 faxgetty 0.000003 CALL select(0x8,0xbfbfdce8,0xbfbfdc68,0xbfbfdbe8,0x80daf08) 1366 faxgetty 0.000004 RET select 1 1366 faxgetty 0.000003 CALL read(0x4,0xbfbfd36c,0x7ff) 1366 faxgetty 0.000003 RET read 0 1366 faxgetty 0.000004 CALL select(0x8,0xbfbfdce8,0xbfbfdc68,0xbfbfdbe8,0x80daf08) 1366 faxgetty 0.000004 RET select 1 1366 faxgetty 0.000003 CALL read(0x4,0xbfbfd36c,0x7ff) 1366 faxgetty 0.000003 RET read 0 1366 faxgetty 0.000004 CALL select(0x8,0xbfbfdce8,0xbfbfdc68,0xbfbfdbe8,0x80daf08) 1366 faxgetty 0.000003 RET select 1 ... Tried to recompile from ports but identical behaviour. -- E.Richiardone http://richiardone.eu