From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanel Kokk Subject: Re: In kvm, a single process cannot allocate more than 3.6GB ram. Why? Date: Fri, 11 Dec 2009 12:14:27 +0200 Message-ID: <4B221B83.8090606@gmail.com> References: <4B220ADF.6030709@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Thomas Mueller Return-path: Received: from mail-ew0-f219.google.com ([209.85.219.219]:56088 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756713AbZLKKOY (ORCPT ); Fri, 11 Dec 2009 05:14:24 -0500 Received: by ewy19 with SMTP id 19so789244ewy.21 for ; Fri, 11 Dec 2009 02:14:29 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 12/11/09 11:55, Thomas Mueller wrote: > > > > Am Fri, 11 Dec 2009 11:03:27 +0200 schrieb Tanel Kokk: > >> Does anybody have a glue why process are not able to allocate more than >> 3.6GB memory ? >> >> What should i do to allow process allocate more than 3.6GB memory? Is it >> possible at all? >> > > just some thoughts: > > * is qemu/kvm 64bit? # file /usr/bin/kvm /usr/bin/kvm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped > * check "ulimit -a" on console if a process is limited on memory usage > (config file /etc/security/limits.conf) # ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 53248 max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 99999 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) unlimited real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 4096 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Tanel