This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:proxmox [2023/12/26 03:00] – oemb1905 | computing:proxmox [2024/01/07 00:09] (current) – oemb1905 | ||
---|---|---|---|
Line 156: | Line 156: | ||
30 2 * * 1 / | 30 2 * * 1 / | ||
+ | | ||
+ | On one of my VMs, which is running apache and behind the nginx reverse proxy, I got a client sync error for the nextcloud service running on it. It was complaining about the file size. Note: the GNU/Linux clients had no such error. Anyway, the following was needed on PVE / reverse proxy configs to resolve this error: | ||
- | Now the reverse proxy / PVE instance has matching certs to the clients its serving. This project achieves VMs that are publicly accessible, internally accessible, TLS-secured, | + | sudo nano /etc/nginx.proxy_params |
+ | < | ||
+ | < | ||
+ | sudo nano /etc/nginx/nginx.conf | ||
+ | < | ||
+ | < | ||
+ | Now the reverse proxy / PVE instance has matching certs to the clients its serving. This project achieves VMs that are publicly accessible, internally accessible, TLS-secured, | ||
- | --- // | + | * Physical Cores * Threads * Physical CPUs = Assignable Virtual Cores |
+ | * If using zfs for the storage, estimate 50% of RAM used by it | ||
+ | |||
+ | If ram is an issue, make sure to throttle arc. In my case, I let zfs run free and tightly provision the VMs. Each rig and use case will be different; adjust accordingly. Above, I already shared the command to determine your physical CPUs / sockets. Here's how to determine all three: | ||
+ | |||
+ | lscpu | grep " | ||
+ | lscpu | grep "per socket" | ||
+ | lscpu | grep " | ||
+ | Thread(s) per core: 2 | ||
+ | Core(s) per socket: 12 | ||
+ | Socket(s): 2 | ||
+ | |||
+ | To determine vCPUs, you do threads*cores*physical-sockets, | ||
+ | |||
+ | sudo nano / | ||
+ | options zfs zfs_arc_max=1073741824 [1 gigabyte example] | ||
+ | update-initramfs -u -k all | ||
+ | reboot | ||
+ | |||
+ | Adjust arc throttle to fit your system. If you need to stop a system at the CLI because you can't reboot/ | ||
+ | |||
+ | / | ||
+ | |||
+ | Next entry ... | ||
+ | |||
+ | --- // |