From owner-freebsd-threads@FreeBSD.ORG Mon Aug 14 07:28:13 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE44716A526 for ; Mon, 14 Aug 2006 07:28:12 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C06543D96 for ; Mon, 14 Aug 2006 07:28:12 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7E7SCF3038627 for ; Mon, 14 Aug 2006 07:28:12 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7E7SAtq038624 for freebsd-threads@FreeBSD.org; Mon, 14 Aug 2006 07:28:10 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 14 Aug 2006 07:28:10 GMT Message-Id: <200608140728.k7E7SAtq038624@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 07:28:13 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s threa/76690 threads fork hang in child for (-lc_r & -lthr) 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/20016 threads pthreads: Cannot set scheduling timer/Cannot set virtu s threa/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVTIMEO socket o s threa/24632 threads libc_r delicate deviation from libc in handling SIGCHL s bin/32295 threads pthread dont dequeue signals s threa/34536 threads accept() blocks other threads o kern/38549 threads the procces compiled whith pthread stopped in pthread_ s threa/39922 threads [threads] [patch] Threaded applications executed with s threa/48856 threads Setting SIGCHLD to SIG_IGN still leaves zombies under s threa/49087 threads Signals lost in programs linked with libc_r s kern/64313 threads FreeBSD (OpenBSD) pthread implicit set/unset O_NONBLOC o threa/70975 threads unexpected and unreliable behaviour when using SYSV se o threa/72353 threads Assertion fails in /usr/src/lib/libpthread/sys/lock.c, o threa/72429 threads threads blocked in stdio (fgets, etc) are not cancella o threa/72953 threads fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYST o threa/75273 threads FBSD 5.3 libpthread (KSE) bug o threa/75374 threads pthread_kill() ignores SA_SIGINFO flag s threa/76694 threads fork cause hang in dup()/close() function in child (-l o threa/79683 threads svctcp_create() fails if multiple threads call at the o threa/80435 threads panic on high loads o threa/83914 threads [libc] popen() doesn't work in static threaded program s threa/84483 threads problems with devel/nspr and -lc_r on 4.x o threa/85160 threads [libthr] [patch] libobjc + libpthread/libthr crash pro p threa/89262 threads [kernel] [patch] multi-threaded process hangs in kerne o threa/90278 threads libthr, ULE and -current produces >100% WCPU with apac o kern/91266 threads [threads] Trying sleep, but thread marked as sleeping s threa/94467 threads send(), sendto() and sendmsg() are not correct in libc f threa/98256 threads gnome-system-monitor core dumps from pthread_testcance s threa/100815 threads FBSD 5.5 broke nanosleep in libc_r o threa/101323 threads fork(2) in threaded programs broken. o threa/101355 threads threaded application spents too much time in _umtx_op 30 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/19247 threads uthread_sigaction.c does not do anything wrt SA_NOCLDW s kern/22190 threads A threaded read(2) from a socketpair(2) fd can sometim s threa/30464 threads pthread mutex attributes -- pshared s threa/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwrite() need wra s threa/40671 threads pthread_cancel doesn't remove thread from condition qu s threa/69020 threads pthreads library leaks _gc_mutex o threa/74180 threads KSE problem. Applications those riched maximum possibl o threa/79887 threads [patch] freopen() isn't thread-safe o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/81534 threads [libc_r] [patch] libc_r close() will fail on any fd ty 10 problems total. From owner-freebsd-threads@FreeBSD.ORG Wed Aug 16 20:18:55 2006 Return-Path: X-Original-To: threads@freebsd.org Delivered-To: freebsd-threads@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FF7B16A4DF; Wed, 16 Aug 2006 20:18:55 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id C29B443D45; Wed, 16 Aug 2006 20:18:54 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.7/8.13.7) with ESMTP id k7GKIlSw005187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Aug 2006 16:18:53 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from [172.21.130.86] (mx-broadway [38.98.68.18]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k7GKIfIo001504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Aug 2006 16:18:41 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: stable@freebsd.org Date: Wed, 16 Aug 2006 16:18:34 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_b234EWiI62Dw0Xc" Message-Id: <200608161618.35199.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV 0.88.4/1670/Wed Aug 16 09:49:00 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: threads@freebsd.org, sound@freebsd.org Subject: Extremely high-load -- due to pcm's IRQ-handling X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 20:18:55 -0000 --Boundary-00=_b234EWiI62Dw0Xc Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline kmail prompted me for password, which I supplied. Then, all of a sudden, the system slowed to a crawl -- even the mouse curse was barely moving. It took many minutes to login from the outside and some more to start top. Below you can see kmail in kserel keeping the processor(s) EXTREMELY busy. Note also, the "load" figures. According to `systat -vm', exactly 50% of the time is spent in "user", and the other 50% -- either "sys" or in "irq" -- all of them in the pcm driver. [...] 1.6%Sys 43.7%Intr 49.1%User 0.0%Nice 5.7%Idl 1903516 inact 12: psm | | | | | | | | | | 122920 cache 15: ata =++++++++++++++++++++++>>>>>>>>>>>>>>>>>>>>>>>> 15688 free 16: ahc daefr 86002 17: pcm [...] The computer has two Opterons (single chip 275 with two cores) and is running a recent 6.1-stable (amd64). This happens about once a week. Sometimes a reboot is required, sometimes killing the stuck process and kldunload-ing the snd_ich is sufficient... Kmail is not using the audio in any way and the irq-17 is not shared with any other device (dmesg attached). When snd_ich is loaded, it says, as expected: pcm0: port 0xc800-0xc8ff,0xcc00-0xcc3f irq 17 at device 7.5 on pci0 pcm0: What's going on? Thanks! -mi last pid: 5150; load averages: 49.23, 52.22, 45.23 up 13+03:13:30 16:01:30 158 processes: 2 running, 154 sleeping, 1 stopped, 1 zombie CPU states: 50.0% user, 0.0% nice, 1.7% system, 22.6% interrupt, 25.8% idle Mem: 1487M Active, 1859M Inact, 303M Wired, 120M Cache, 214M Buf, 16M Free Swap: 4465M Total, 52K Used, 4465M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 5893 mi 3 20 0 298M 177M kserel 1 323:18 7634.18% kmail 90397 root 1 5 0 7400K 1768K ttyin 1 97:01 1.12% systat 80809 i 1 120 0 238M 224M select 0 160:18 0.68% firefox-bin 2265 root 1 96 0 261M 144M select 0 49.0H 0.00% Xorg 2267 root 1 96 0 184M 76428K select 0 149:40 0.00% Xorg 18203 mi 4 20 0 179M 67696K kserel 0 135:45 0.00% kopete 2336 i 1 96 0 134M 32132K select 0 71:43 0.00% kdeinit 87056 i 1 96 0 118M 64392K select 0 52:09 0.00% acroread [...] --Boundary-00=_b234EWiI62Dw0Xc--