HEX
Server: nginx/1.28.0
System: Linux w3c-2 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:34:18 UTC 2025 x86_64
User: inpa_co_1 (1082)
PHP: 8.3.29
Disabled: NONE
Upload Files
File: //etc/sysctl.conf
#############################################
# ⚡ SYSTEM PERFORMANCE OPTIMIZATION (Ryzen + NVMe + WooCommerce)
#############################################

# ===== FILE & PROCESS LIMITS =====
fs.file-max = 2097152
fs.inotify.max_user_watches = 1048576
fs.inotify.max_user_instances = 1024

# ===== VIRTUAL MEMORY / I/O =====
vm.swappiness = 1
vm.vfs_cache_pressure = 50
vm.dirty_ratio = 15
vm.dirty_background_ratio = 5
vm.overcommit_memory = 1
vm.min_free_kbytes = 131072
vm.dirty_expire_centisecs = 6000
vm.dirty_writeback_centisecs = 1500
vm.page-cluster = 0

# ===== NETWORK STACK =====
net.core.somaxconn = 65535
net.core.netdev_max_backlog = 65536
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.optmem_max = 65536

# ===== TCP / IP =====
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_fastopen = 3               # Enabled on both client & server
net.ipv4.tcp_low_latency = 1            # Prioritize low latency
net.ipv4.tcp_fin_timeout = 10
net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.ip_local_port_range = 10240 65535
net.ipv4.tcp_congestion_control = cubic  # Stable & proven for WooCommerce
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_mtu_probing = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_timestamps = 1

# ===== SECURITY / ICMP =====
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1

# ===== KERNEL / THREADS =====
kernel.pid_max = 65536
kernel.threads-max = 2097152
kernel.sched_autogroup_enabled = 0
kernel.watchdog_thresh = 10

#############################################
# END OF PERFORMANCE TUNING
#############################################