ulimits doesn't work in KVM

WolFree

New Member
Sep 5, 2016
2
0
1
35
Hi Guys,

we are using Proxmox Virtual Environment 4.2-17/e1400248 and we have a problem with our KVM guest. We want to raise the nofile limit but we cannot make it work.

We already have:

- edited the limits.conf in the /etc/security folder on the guest (for root and *)
- edited the limits.conf in the /etc/security folder on the host (for root and *)
- raise sysctl fs.inotify limits
- edited the guest.conf file in pve folder and added max_files=32768

ulimit still give me 1024. It's the first time that I am trying to raise this limits on a KVM machine - and I cannot figure it out.

Anyone have a solution? Temporary raising in my shell is working, but I need it when I boot the VM.
 
Hi manu,

thanks for your reply. I already did every step in the thread you posted before posting here :) Still no changing.
 

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!