Search results

  1. G

    Proxmox ulimit hell : how to really increase open files ?

    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.
  2. G

    Open file limits on unprivileged LXC

    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?
  3. G

    LXC Unprivileged enabling docker - Security risk?

    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...
  4. G

    LXC Unprivileged enabling docker - Security risk?

    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...
  5. G

    Proxmox ulimit hell : how to really increase open files ?

    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.
  6. G

    Open file limits on unprivileged LXC

    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...
  7. G

    Open file limits on unprivileged LXC

    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...
  8. G

    Open file limits on unprivileged LXC

    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?
  9. G

    Open file limits on unprivileged LXC

    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...
  10. G

    Default IPTables rules for new LXC containers

    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...
  11. G

    Resizing HD space (root)

    --- Logical volume --- LV Path /dev/pve/data LV Name data VG Name pve LV UUID TlzOrH-hzsP-k2Qt-Lxl0-YRQJ-sAYg-EqIPyP LV Write Access read/write LV Creation host, time xxxx, 2020-08-28 23:05:57 +0300 LV Status...
  12. G

    Resizing HD space (root)

    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...
  13. G

    VM Swap memory always full

    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...
  14. G

    Is it safe running docker inside a unprivileged container?

    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...
  15. G

    [SOLVED] Reset user password in VM

    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...
  16. G

    [SOLVED] Reset user password in VM

    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.
  17. G

    Is it safe running docker inside a unprivileged container?

    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...
  18. G

    [SOLVED] Reset user password in VM

    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...
  19. G

    [SOLVED] Reset user password in VM

    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...

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!