A VPS can refuse new memory mappings while free RAM is plentiful. Learn to read vm.max_map_count, count a process’s VMAs in /proc/PID/maps, and fix ENOMEM failures that are not about RAM.
Read MoreDiagnosing TLS Handshake Failures on a VPS with tcpdump and tshark
When a TLS handshake fails, the application log usually offers one line — handshake failure, no shared cipher, or a bare 400 in the access log — with no peer…
Read MoreTuning Linux File Cache Pressure (vm.vfs_cache_pressure) on a VPS
vm.vfs_cache_pressure controls how aggressively the kernel reclaims dentry and inode caches relative to page cache. Most tuning guides set it to 50 or 200 without explaining what it actually changes….
Read MoreLinux Socket Memory Tuning on a VPS: tcp_mem, tcp_wmem and the Overcommit Trap
Every byte the kernel buffers for TCP has to come from somewhere. On a VPS with a fixed RAM ceiling, socket buffers compete directly with your application, your page cache,…
Read MoreDiagnosing CPU Thermal Throttling and Frequency Scaling on a VPS: A Measurement Method
A VPS that benchmarks well on a fresh boot and degrades over a long run has a specific class of cause: the CPU is not running at the frequency you…
Read Morebtrfs zstd vs ext4 on a Small VPS: Real Compression Benchmarks
Filesystem-level compression sounds like free disk space, and on a small VPS with a 25-40 GB root volume it often is. The catch is CPU cost and the write-amplification that…
Read MoreTuning Linux Swap on an NVMe VPS Without Causing Latency Spikes
Swap has a bad reputation on servers, and mostly for good reason: if a workload actively pages to a slow disk, latency explodes. But swap is not inherently harmful. On…
Read MoreLog Rotation on a VPS: Compression, Retention Windows and Reclaiming Disk Before You Panic
A full disk is the most common avoidable outage on a small VPS, and logs are almost always the culprit. The default logrotate configuration ships with retention tuned for generous…
Read Moresystemd Timer OnCalendar Accuracy: Replay Storms, AccuracySec and RandomizedDelaySec on Small Hosts
How systemd Persistent timers replay missed activations on small VPS hosts, why co-scheduled OnCalendar jobs storm after reboot, and how AccuracySec and RandomizedDelaySec spread the load.
Read MoreMeasuring Queue Latency vs Device Latency on a Shared-NVMe VPS: A fio + bpftrace Method
When a VPS feels slow, most operators blame CPU first. On a modern hypervisor that is usually wrong: the erratic latency comes from storage, where your writes join a shared…
Read More