From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 14:49:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF3D106564A for ; Tue, 17 Feb 2009 14:49:43 +0000 (UTC) (envelope-from lgoodboi@googlemail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id 97EFE8FC0C for ; Tue, 17 Feb 2009 14:49:42 +0000 (UTC) (envelope-from lgoodboi@googlemail.com) Received: by bwz18 with SMTP id 18so5023435bwz.19 for ; Tue, 17 Feb 2009 06:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=kHjW4Bc5exAluRqHADB+CyfbaYihxtIuHIJ4DF5r4RU=; b=dU7xXYNDTnU99v2Kjvz/by44hhOkvt1JNfoeVReCQegxDs3Qfdl38pc+pa+bVXrO0v RzKnca06xA5yWcIJjgVs5a4bhgXi9J174b0d8qA141Ln4gFEULMq5BulTnnPBk/mnAcC LJl3ajpzaS2oN9jdGB8lST5/zmExtzbk0eLGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=Ovi2Gf2i0G24/JYK73qIdkqTeEESYWOK6BssGCEKs/fmSgQTbDOFdqkiotzQj1xWX3 GgiULDPOqSCHaM2RvrynAXMkNMjsGVlU0hak8Sf3KVWNic6didqrN5m4q37b99aVQpV9 Vf0dLwo2Z2AYPDBW8HyQXE9d8Ti/DqtQKT86A= Received: by 10.223.122.15 with SMTP id j15mr1062290far.10.1234880359522; Tue, 17 Feb 2009 06:19:19 -0800 (PST) Received: from g225048066.adsl.alicedsl.de (g225048066.adsl.alicedsl.de [92.225.48.66]) by mx.google.com with ESMTPS id y15sm4394847fkd.12.2009.02.17.06.19.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Feb 2009 06:19:19 -0800 (PST) Message-Id: <596E71F5-CF59-4921-93E0-12C0DF9B3EDE@googlemail.com> From: Johannes Scholz To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 17 Feb 2009 15:19:17 +0100 X-Mailer: Apple Mail (2.929.2) Subject: processes hanging in _umtx_op #2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 14:49:43 -0000 Today i have upgraded python to 2.5.4 and all of the sudden most of my python processes seem to hang. I have managed to track down the problem to the MySQLdb module. A simple python -c "import MySQLdb" seemed to hang forever and i could only terminate it with kill -9. A similar problem seems to be documented in http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/183675.html After reinstalling mysq51-client and py-MySQLdb everything went back to normal. Before doing so i ran ktrace on python -c "import MySQLdb". The result can be found on http://dpaste.com/121672/. Im just reporting this because i am not sure whether this is a library problem or an issue with freebsd. uname -a: FreeBSD somehost.fr 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #4: Tue Feb 3 15:41:02 CET 2009 root@somehost.fr:/usr/obj/usr/src/sys/IPEYES i386 options SCHED_4BSD # 4BSD scheduler Johannes Scholz