With version 6.5-13 this does not work anymore. The Soft Files limit is still 1024 and we have no clue how to change this. A few months ago everything worked perfectly but now we cannot make it work at all.
When accessing the container via SSH (Termius) all the ulimit -a shows only 1024. When using ulimit -Hn we see the correct number of files but ulimit -Sn shows only 1024.
Do we have to change the limits on the host node (dedicated server) as well?
https://forum.proxmox.com/threads/running-docker-containers-in-proxmox-containers.81660/
This is the thread that made me think about running docker in a unprivileged container. I am a bit concerned about this. As a last resort I would rather create a VM, but I would really prefer to use LXC, as...
We would like to enbable nesting and keyctl for our LXC containers. Our customers demand these features so they can install and use Docker.
There are (fairly old) posts suggesting this would be a security risk and we should be careful if we really want to do it as it could be possible for an...
This actually works, at least for now. I followed these instructions for Proxmox 6 and all the limits are exactly where they should be. Will test more in order to be sure this is a permanent solution.
I changed the VMID.conf file yesterday and added the lxc.prlimit.nofile: 65536 option. After I read your answer I created a file in /usr/share/lxc/config/common.conf.d/prlimit.conf <-- this is the file. When I tried stopping the running LXC container I got the following error:
lxc-stop: 133...
I checked the file and noticed lxc.pty.max = 1024. Does it have something to do with with the open files? I am just asking because I noticed the word pseudo in my first error.
In /usr/share/lxc/config/common.conf I would just need to add lxc.prlimit.nofile: 65536? It seems way to simple and I...
EDIT: I forgot to mention this solutions works great and we added the option to all our lxc containers configuration files.*
Is it possible to add this option to each newly created LXC container, without the need to manually add the option?
We are hosting multiple LXC containers on our dedicated servers (Debian 10). We are mainly hosting game servers and we noticed an oddly annoying pattern.
Our game servers get the following errors and shut down. It happens randomly and when there are most players on each servers.
terminate...
I would like to add a series of IPTables rules for every single new created LXC Container. I used to do that manually but it can become troublesome if you have many such containers.
/sbin/iptables -t mangle -A PREROUTING -p tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
/sbin/iptables -t...
We got some issues with the root partition being too small. When we first installed Proxmox on our dedicated server we did not pay attention to this aspect and now we are struggling to empty a ever filling 20 GB root partition. We cannot reinstall Proxmox as we have valuable customer data on...
For one of our VMs we allocated around 30 GB RAM. Every time we check the usage of resources, using htop, we see that the SWAP memory is always at 100%. Here is a picture:
We are not sure this is normal behavior Even our swap memory in the proxmox GUI, the one for the entire...
Thank you for the response. We ended up switching back to VMs. It felt right. We know little about everything than runs under the hood. We love the proxmox GUI and are trying to master what we can in order to become more efficient. We are running game servers, web servers and containers for our...
Actually I managed to do it. I pressed ESC in when the server first booted. There was a PROXMOX logo and the option to press ESC for the BOOT menu. I don't know how I missed that but I think I was not fast enough to see it before.
I have no clue how to mention a member in this text but avw...
Should I make the changes on the HOST machine where PROXMOX is installed? It is impossible to make this changes on the VM as I forgot the root credentials.
We are working with some software that requires Docker to run. Two years ago when we started using Promox we had no clue how to make Docker work with LXC. There were many threads covering the configuration but we were scared because most of the messages were "but be careful". At least this what...
After a dozen failed attempts and searching the web when meeting a new error I came to the conclusion that the best option is not trying to do something I am not aware of. Nobody in my team is confident enough to try. This is for the live CD method. However, the GRUB method seems easier to...
My team and I made the huge mistake of not saving the credentials of one of our VMs. That VM got populated with customer data and in no time we came to the conclusion we had lost access to that very VM.
We used Ubuntu 18.04. We know the name of the user but the password does not want to work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.