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

Re: [Xen-devel] Xen 4.0.1 "xc_map_foreign_batch: mmap failed: Cannot allocate memory"



>>> On 1/7/2011 at 04:18 AM, in message
<alpine.DEB.2.00.1101071115280.2390@kaball-desktop>, Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> wrote: 
> On Fri, 7 Jan 2011, Jan Beulich wrote:
>> >>> On 06.01.11 at 21:49, Charles Arnold wrote:
>> > >>> On 1/6/2011 at 10:14 AM, in message <4D25C782.5B74.0091.0@xxxxxxxxxx>, 
> Charles Arnold wrote: 
>> > Attached is the messages file with the printk output.
>> 
>> Hmm, a failure due to may_expand_vm() is really odd. Something
>> must be explicitly setting a non-infinite RLIMIT_AS on qemu-dm (or
>> one of its parents), as the default is "infinite" (as reaching "infinity"
>> - being ~0UL - is simply impossible, and unduly large lengths should
>> be caught by get_unmapped_area() already).
>> 
>> /proc/<pid>/limits would at least tell us what the limit is.
>> 
> 
> Knowing this would be very interesting.

>From the qemu-dm process handling the win2k8r2 guest.

Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            unlimited            unlimited            bytes
Max core file size        1024                 unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             15207                15207                processes
Max open files            1024                 8192                 files
Max locked memory         unlimited            unlimited            bytes
Max address space         3454238720           unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       15207                15207                signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us


>From the xend parent process

Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              unlimited            bytes
Max core file size        1024                 unlimited            bytes
Max resident set          1838370816           unlimited            bytes
Max processes             15207                15207                processes
Max open files            1024                 8192                 files
Max locked memory         65536                262144               bytes
Max address space         3454238720           unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       15207                15207                signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us

- Charles



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.