32 bit process memory

AlDemion

New Member
Mar 26, 2013
7
0
1
Hi all.
I have a latest proxmox installation and OVZ guests based on ubuntu 12.04 x86_64 template.
For some reasons i need to run 32 bit app that maps behind 3.1g of memory.
As for as i know 32 bit app can allocate only 4g of memory (This is architecture restriction), and in linux this app can allocate only 3gb of memory.
(This described here http://www.spack.org/wiki/LinuxRamLimits and here http://docs.oracle.com/cd/E14072_01/server.112/e10839/appi_vlm.htm)
Please tell me how i can configure system to use more than 3g of memory for my process.


root@host:~# pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-18-pve
proxmox-ve-2.6.32: 2.3-88
pve-kernel-2.6.32-17-pve: 2.6.32-83
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-18-pve: 2.6.32-88
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-17
pve-firmware: 1.0-21
libpve-common-perl: 1.0-48
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-6
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-6
ksm-control-daemon: 1.1-1
 
most importantly, you should contact whomever is developing these 32bit applications you need to run and inform them thats its the 21st century, which means that 32bit is a legacy technology.

You should probably explain what youre trying to do in more detail because a 32bit program that needs more than 3GB of memory would be horrible software design and I wouldnt think anybody would do that
 
most importantly, you should contact whomever is developing these 32bit applications you need to run and inform them thats its the 21st century, which means that 32bit is a legacy technology.

You should probably explain what youre trying to do in more detail because a 32bit program that needs more than 3GB of memory would be horrible software design and I wouldnt think anybody would do that

Yeah, i know it. And my first question to service owner was "What the h**l are you doing?" :)
But this is not my decision, so i just need to resolve this issue. :(
 
And i try to explain, what's going on here.
We need to statically link large file with specific linker. This linker exists only in 32 bit edition.
All linker optimizing options don't take any effect. So i just need to a little increase userspace for 32 bit application.
 
Yeah, this is one of simplest solutions. And if i don't find any other solution i use that one. I think this is kernel problem cause physical machine with ubuntu x86_64 can map needed memory.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!