From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqjKV-000667-Nt for qemu-devel@nongnu.org; Thu, 03 Jan 2013 06:51:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqjKU-0005pi-MA for qemu-devel@nongnu.org; Thu, 03 Jan 2013 06:51:23 -0500 Received: from cantor2.suse.de ([195.135.220.15]:54931 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqjKU-0005kx-Fi for qemu-devel@nongnu.org; Thu, 03 Jan 2013 06:51:22 -0500 Message-ID: <50E57089.7080805@suse.de> Date: Thu, 03 Jan 2013 12:50:33 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] pthread_create failed: Resource temporarily unavailable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoffer Dall Cc: Peter Maydell , "qemu-devel@nongnu.org Developers" , Stefan Hajnoczi , "kvmarm@lists.cs.columbia.edu" Hi, Am 02.01.2013 20:17, schrieb Christoffer Dall: > I am seeing some brutal crashes with QEMU running virtio using KVM/ARM. >=20 > The culprit seems to be when the process runs out of virtual address > space on 32-bit systems due to some subsystem (virtio?) creating a > large number of pthreads under heavy workloads. >=20 > Unfortunately my QEMU expertise is too limited to pin-point the exact > fix, nor do I have resources right now to go into it, but I wanted to > raise this issue and spread general awareness. >=20 > Is this a known issue or something that needs to be tracked/documented = at least? It is a known issue that I reported long ago, but there have been higher priorities. ;) Note that this failure is not specifically about creating threads but about thread creation being one of several operations requiring some free virtual mem, it might as well be a malloc another run. If you trace memory usage of the process you will likely see dramatic changes over time... why exactly is still to be investigated. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg