From 1583434cfe68ce2a74be61a8cc29ef847658d168 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sat, 1 Mar 2025 21:27:06 +0100 Subject: [PATCH] update --- web/app/docs/post-install/system/page.tsx | 114 +++++++++++----------- 1 file changed, 56 insertions(+), 58 deletions(-) diff --git a/web/app/docs/post-install/system/page.tsx b/web/app/docs/post-install/system/page.tsx index 0db7157..4ed47f4 100644 --- a/web/app/docs/post-install/system/page.tsx +++ b/web/app/docs/post-install/system/page.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next" import { Server } from 'lucide-react' import CopyableCode from "@/components/CopyableCode" +import { Steps } from "@/components/ui/steps" export const metadata: Metadata = { title: "ProxMenux Post-Install: System Settings", @@ -44,74 +45,71 @@ export default function SystemSettingsPage() {

Available Optimizations

-
-

Enable Fast Reboots

-

- This optimization enables kexec, a mechanism that allows the system to boot directly into a new kernel from an existing running kernel, bypassing the BIOS/firmware and bootloader stages. -

-

- Why it's important: Fast reboots significantly reduce system downtime during maintenance or updates. In a virtualization environment where multiple VMs might be running, minimizing host downtime is crucial for maintaining high availability and reducing disruption to services. -

-

To apply this setting manually, run:

- + +

+ This optimization enables kexec, a mechanism that allows the system to boot directly into a new kernel from an existing running kernel, bypassing the BIOS/firmware and bootloader stages. +

+

+ Why it's important: Fast reboots significantly reduce system downtime during maintenance or updates. In a virtualization environment where multiple VMs might be running, minimizing host downtime is crucial for maintaining high availability and reducing disruption to services. +

+

To apply this setting manually, run:

+ > ~/.bash_profile`} /> -
+ -
-

Configure Kernel Panic Behavior

-

- This setting configures the system to automatically reboot after a kernel panic occurs, rather than hanging indefinitely. -

-

- Why it's important: Automatic reboots after kernel panics help maintain system availability. Instead of requiring manual intervention, which could lead to extended downtime, the system attempts to recover on its own. This is particularly crucial in remote or lights-out data center environments where immediate physical access might not be possible. -

-

To apply this setting manually, run:

- +

+ This setting configures the system to automatically reboot after a kernel panic occurs, rather than hanging indefinitely. +

+

+ Why it's important: Automatic reboots after kernel panics help maintain system availability. Instead of requiring manual intervention, which could lead to extended downtime, the system attempts to recover on its own. This is particularly crucial in remote or lights-out data center environments where immediate physical access might not be possible. +

+

To apply this setting manually, run:

+ -
- -
-

Increase System Limits

-

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

-

- Why it's important: Higher system limits allow for better resource utilization, especially in high-density virtualization environments. Increased file watch limits improve performance for applications that monitor many files (like backup systems or development environments). Higher open file limits allow more concurrent connections and file operations, which is crucial for busy servers hosting multiple VMs or containers. -

-

To apply this setting manually, run:

- + + +

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

+

+ Why it's important: Higher system limits allow for better resource utilization, especially in high-density virtualization environments. Increased file watch limits improve performance for applications that monitor many files (like backup systems or development environments). Higher open file limits allow more concurrent connections and file operations, which is crucial for busy servers hosting multiple VMs or containers. +

+

To apply this setting manually, run:

+ -
- -
-

Optimize Journald

-

- This setting configures systemd's journald logging service to limit its disk usage and optimize performance. -

-

- Why it's important: Proper log management is crucial for system health and troubleshooting. By limiting the maximum size of the journal, you prevent logs from consuming excessive disk space, which could potentially fill up the system partition. This is especially important in virtualization environments where disk space is often at a premium. Additionally, optimized logging reduces I/O operations, potentially improving overall system performance. -

-

To apply this setting manually, run:

- + + +

+ This setting configures systemd's journald logging service to limit its disk usage and optimize performance. +

+

+ Why it's important: Proper log management is crucial for system health and troubleshooting. By limiting the maximum size of the journal, you prevent logs from consuming excessive disk space, which could potentially fill up the system partition. This is especially important in virtualization environments where disk space is often at a premium. Additionally, optimized logging reduces I/O operations, potentially improving overall system performance. +

+

To apply this setting manually, run:

+ -
- -
-

Optimize Memory Management

-

- This optimization adjusts various memory-related kernel parameters to improve system performance and stability. -

-

- Why it's important: Proper memory management is critical in virtualization environments where multiple VMs compete for resources. These optimizations can help prevent out-of-memory situations, improve memory allocation efficiency, and enhance overall system responsiveness. This is particularly beneficial for hosts running memory-intensive workloads or a high number of VMs. -

-

To apply this setting manually, run:

- + + +

+ This optimization adjusts various memory-related kernel parameters to improve system performance and stability. +

+

+ Why it's important: Proper memory management is critical in virtualization environments where multiple VMs compete for resources. These optimizations can help prevent out-of-memory situations, improve memory allocation efficiency, and enhance overall system responsiveness. This is particularly beneficial for hosts running memory-intensive workloads or a high number of VMs. +

+

To apply this setting manually, run:

+ -
+ +

Automatic Application