sysctl

  1. R

    Trying to set IPv6 token, adding LXC options in container config file

    Context: I'm using an up-to-date rocky linux 9 container template on Proxmox 7.2-1. What I'm trying to achieve is to set an IPv6 token for the container. I know this is possible, because if i add IPV6_TOKEN=::[TOKEN] to /etc/sysconfig/network-scripts/ifcfg-eth0 and do a systemctl restart...
  2. G

    persistent nf_conntrack sysctl

    Hello. I am trying to modify nf_conntrack options in /etc/sysctl.conf i have : net.netfilter.nf_conntrack_generic_timeout=60 net.netfilter.nf_conntrack_icmp_timeout=10 #net.netfilter.nf_conntrack_tcp_timeout_close=10 net.netfilter.nf_conntrack_tcp_timeout_close_wait=20...
  3. F

    hugepages setting in sysctl.* ignored

    Hello, I noticed proxmox seems ignoring nr_hugepages setting in sysctl.* if I have a qemu vm with hugepages: any? My issue is that I have other lxc which need hugepages and proxmox allocates only nr_hugepages of the size of my qemu vm. After boot, I am able to manually increase nr_hugepages...
  4. T

    Setting max_user_watches on container level

    I'm stuck in a situation where I'm either running out of memory, or running out of inotify watches. I have a container (running crashplan) that wants to open too many watches. If I set fs.inotify.max_user_watches too low on the host, then the container will use up all the watches, leaving none...
  5. D

    Installing gitlab into LXC container (sysctl kernel.shmmax)

    Hi, I tried to install gitlab into LXC CT, but during the installation I received an error that PostgreSQL requires kernel.shmmax = 17179869184 I verify kernel.shmmax in CT: # cat /proc/sys/kernel/shmmax 18446744073692774399 If I try set this parameter in CT, I get error: sysctl -w...
  6. F

    swappiness on container

    Hi, I use Proxmox version '5.1-38'. I've 30 containers and VM-s. I want to change swappiness variable from 60 to 15 on several containers and it says 'sysctl: setting key "vm.swappiness": Read-only file system'. I think I should to change this on node but I don't want. Can I change it on only...
  7. N

    setting key "vm.max_map_count": Read-only file system

    I'm running into the same issue as https://github.com/elastic/elasticsearch/issues/19458 when running Elasticsearch in Ubuntu 16.04 LXD It was solved here: https://github.com/lxc/lxd/issues/2206#issuecomment-236393880 But I was hoping Proxmox to have dealt with all of these issues What are...