qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [kvmarm] pthread_create failed: Resource temporarily un


From: Adrian Taylor
Subject: Re: [Qemu-devel] [kvmarm] pthread_create failed: Resource temporarily unavailable
Date: Thu, 3 Jan 2013 00:45:16 +0000

Hi Christoffer,

On Wed, Jan 2, 2013 at 7:17 PM, Christoffer Dall <address@hidden> wrote:

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.


One possibility - qemu uses coroutines for IO. There are various backends for coroutines, and the qemu configure script will try to choose the best one. Perhaps your environment is lacking system calls such as makecontext and the configure script is falling back to a coroutine backend using pthreads. I've found that this can cause 50000+ threads to be spawned just during a loadvm operation, for instance.

If this fits the symptoms, try using the --with-coroutine option during qemu configure.

Regards

Adrian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]