System Settings

The System Settings category includes core system configurations and optimizations for Proxmox VE, focusing on performance, stability, and resource management.

Available Optimizations

1
Enable Fast Reboots

This optimization enables kexec, allowing the system to boot directly into a new kernel without going through the BIOS/firmware and bootloader.

Why it's beneficial:Fast reboots reduce system downtime during updates and maintenance. This is particularly useful in virtualization environments where minimizing host downtime helps maintain service availability.

This adjustment automates the following commands:


sudo apt-get install -y kexec-tools
sudo systemctl enable kexec-pve.service
echo "alias reboot-quick='systemctl kexec'" >> ~/.bash_profile
      

2
Configure Kernel Panic Behavior

This setting configures the system to automatically reboot after a kernel panic instead of remaining unresponsive.

Why it's beneficial:Automatic recovery reduces downtime and prevents the need for manual intervention, which is critical in remote or unattended environments where physical access is limited.

This adjustment automates the following commands:


echo "kernel.panic = 10" | sudo tee /etc/sysctl.d/99-kernelpanic.conf
echo "kernel.panic_on_oops = 1" | sudo tee -a /etc/sysctl.d/99-kernelpanic.conf
sudo sysctl -p /etc/sysctl.d/99-kernelpanic.conf
      

3
Increase System Limits

This optimization increases system resource limits, including the maximum number of file watches and open file descriptors.

Why it's beneficial:Higher limits enhance resource utilization, improving performance for applications that monitor large numbers of files or handle high concurrent connections. This is essential for servers running multiple VMs or containers.

This adjustment automates the following commands:


echo "fs.inotify.max_user_watches = 1048576" | sudo tee /etc/sysctl.d/99-maxwatches.conf
echo "* soft nofile 1048576" | sudo tee /etc/security/limits.d/99-limits.conf
sudo sysctl -p
      

4
Optimize Journald

This setting configures systemd-journald to limit disk usage and optimize logging performance.

Why it's beneficial:Restricting log size prevents excessive disk consumption, reducing the risk of system partitions filling up. Optimized logging also decreases I/O operations, improving system performance, especially in disk-constrained environments.

This adjustment automates the following commands:


echo "SystemMaxUse=64M" | sudo tee -a /etc/systemd/journald.conf
sudo systemctl restart systemd-journald
      

5
Optimize Memory Management

This optimization adjusts kernel parameters to improve memory allocation and system responsiveness.

Why it's beneficial:Efficient memory management prevents out-of-memory (OOM) conditions, enhances stability, and optimizes resource allocation in virtualization environments. This is particularly important for hosts running memory-intensive workloads or multiple VMs.

This adjustment automates the following commands:


echo "vm.swappiness = 10" | sudo tee /etc/sysctl.d/99-memory.conf
echo "vm.vfs_cache_pressure = 50" | sudo tee -a /etc/sysctl.d/99-memory.conf
sudo sysctl -p /etc/sysctl.d/99-memory.conf
      

Automatic Application

All of these optimizations are automatically applied when selected in the System section. This automation ensures that these beneficial settings are applied consistently and correctly, saving time and reducing the potential for human error during manual configuration.