Tagged articles
100 articles
Page 1 of 1
21CTO
21CTO
Apr 16, 2026 · Operations

How Tweaking Two Linux TCP Settings Cuts Service Outage from 16 Minutes to Seconds

A deep dive into the long‑standing Linux kernel parameters tcp_keepalive_time and tcp_retries2 shows how their default values cause hidden connection timeouts in modern data‑center environments, and how adjusting them dramatically speeds up failure detection and service recovery.

LinuxNetworkingOperations
0 likes · 8 min read
How Tweaking Two Linux TCP Settings Cuts Service Outage from 16 Minutes to Seconds
MaGe Linux Operations
MaGe Linux Operations
Mar 11, 2026 · Information Security

How to Harden Linux Servers: A Step‑by‑Step Guide to Secure SSH, Accounts, Firewalls, and Auditing

This comprehensive guide walks you through Linux host hardening by explaining the security baseline, detailing default configurations, highlighting common pitfalls, and providing concrete, verifiable adjustments for account policies, SSH, firewalls, kernel parameters, file permissions, and audit logging, complete with scripts, examples, and real‑world case studies.

AuditdHardeningLinux
0 likes · 40 min read
How to Harden Linux Servers: A Step‑by‑Step Guide to Secure SSH, Accounts, Firewalls, and Auditing
Architect Chen
Architect Chen
Jan 25, 2026 · Operations

How to Boost Nginx Concurrency to 100k+ Connections: Practical Tuning Guide

This guide explains how to maximize Nginx's concurrent handling capacity by configuring worker_processes, worker_connections, event settings, system limits, and I/O optimizations, providing concrete code snippets and kernel parameters for achieving tens of thousands of simultaneous connections.

NginxOperationsTuning
0 likes · 5 min read
How to Boost Nginx Concurrency to 100k+ Connections: Practical Tuning Guide
Raymond Ops
Raymond Ops
Jan 7, 2026 · Operations

Boost Linux Network Performance: Practical TCP/IP Stack Tuning Guide

This guide explains why network performance becomes a bottleneck in high‑traffic Linux servers and provides a step‑by‑step set of sysctl tweaks, buffer adjustments, congestion‑control choices, interrupt balancing, and monitoring scripts to dramatically improve throughput and latency.

LinuxNetwork TuningTCP
0 likes · 12 min read
Boost Linux Network Performance: Practical TCP/IP Stack Tuning Guide
Raymond Ops
Raymond Ops
Jan 5, 2026 · Operations

Boost K8s Node Network Performance: Proven Linux Kernel Tuning Hacks

This guide explains why network tuning is critical for high‑concurrency Kubernetes clusters and provides step‑by‑step Linux kernel parameter adjustments, scripts, and real‑world case studies that can increase node network throughput by over 30% while reducing latency and connection‑timeout rates.

KubernetesLinuxOperations
0 likes · 11 min read
Boost K8s Node Network Performance: Proven Linux Kernel Tuning Hacks
Ops Community
Ops Community
Nov 19, 2025 · Operations

Why Are Your TCP Packets Dropping? A 3‑Day Capture Walkthrough to Kernel Parameter Fixes

This guide walks you through diagnosing intermittent TCP packet loss and latency spikes on Linux servers, from initial symptom checks and anti‑pattern warnings to detailed sender‑side, network‑link, and receiver‑side investigations using tcpdump, netstat, ss, and kernel tuning, complete with scripts, best‑practice tables and FAQ.

Kernel ParametersLinuxNetwork Diagnostics
0 likes · 37 min read
Why Are Your TCP Packets Dropping? A 3‑Day Capture Walkthrough to Kernel Parameter Fixes
Xiao Liu Lab
Xiao Liu Lab
Nov 12, 2025 · Operations

Why TIME_WAIT Isn't a Problem and How to Optimize It

TIME_WAIT is a normal TCP state designed to prevent stray packets, but high volumes can indicate inefficient connection handling; this guide explains its mechanics, common causes, monitoring commands, and practical kernel and application-level tuning strategies to reduce TIME_WAIT buildup in high‑traffic services.

Connection PoolLinuxTCP
0 likes · 12 min read
Why TIME_WAIT Isn't a Problem and How to Optimize It
MaGe Linux Operations
MaGe Linux Operations
Nov 5, 2025 · Operations

Unlock Million-Connection Web Servers: Essential Linux sysctl Tuning Guide

This comprehensive guide explains how to optimize Linux kernel parameters with sysctl for high‑traffic web services, covering prerequisite hardware, network and memory settings, step‑by‑step configuration, verification, common pitfalls, monitoring, and rollback procedures to achieve stable million‑connection performance.

Kernel ParametersLinuxNetwork Tuning
0 likes · 51 min read
Unlock Million-Connection Web Servers: Essential Linux sysctl Tuning Guide
Raymond Ops
Raymond Ops
Oct 28, 2025 · Operations

Master Linux Kernel Tuning: From Theory to Practical Sysctl Configuration

This guide walks system administrators and DevOps engineers through the purpose of key Linux kernel parameters, how to set them temporarily or permanently—including in Docker and Kubernetes—verify their effect, troubleshoot common issues, and apply best‑practice tuning for improved performance and stability.

ContainerLinuxkernel
0 likes · 9 min read
Master Linux Kernel Tuning: From Theory to Practical Sysctl Configuration
Xiao Liu Lab
Xiao Liu Lab
Oct 27, 2025 · Operations

Boost Nginx to 100k+ Concurrent Connections: Essential Linux Kernel Tweaks

This guide explains why the default Linux kernel limits hinder Nginx performance, lists eight crucial sysctl parameters to increase port ranges, file descriptors, and connection queues, and shows how to verify and safely apply the changes for high‑concurrency workloads.

Linux kernelhigh concurrencynetwork optimization
0 likes · 7 min read
Boost Nginx to 100k+ Concurrent Connections: Essential Linux Kernel Tweaks
Raymond Ops
Raymond Ops
Oct 27, 2025 · Operations

Master Linux Network Tuning for High-Concurrency: Practical Guide

This guide walks through a real‑world high‑concurrency Linux scenario, diagnosing TCP state bottlenecks, analyzing default kernel parameters, and providing step‑by‑step sysctl tweaks, queue and buffer adjustments, monitoring scripts, and stress‑test recommendations to dramatically improve connection handling and throughput.

LinuxNetwork Tuninghigh concurrency
0 likes · 9 min read
Master Linux Network Tuning for High-Concurrency: Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 19, 2025 · Operations

Tune Nginx for Million‑PPS: Kernel & Config Optimizations

This guide walks through step‑by‑step Nginx high‑concurrency tuning—covering Linux kernel network parameters, system limits, worker process settings, connection reuse, HTTP/2, gzip compression, benchmarking, and monitoring—enabling single‑node throughput of over one million packets per second with sub‑50 ms P99 latency.

Linux kernelNginxbenchmark
0 likes · 17 min read
Tune Nginx for Million‑PPS: Kernel & Config Optimizations
Liangxu Linux
Liangxu Linux
Oct 19, 2025 · Operations

Boost Linux Server Throughput: Practical TCP/IP Stack Tuning Guide

This article presents a comprehensive, step‑by‑step guide for Linux network performance optimization, covering real‑world issues, sysctl parameter tweaks for TCP and IP stacks, queue and interrupt tuning, high‑concurrency strategies, monitoring scripts, a detailed e‑commerce case study, best‑practice recommendations, and safety precautions.

BBRLinuxTCP Tuning
0 likes · 13 min read
Boost Linux Server Throughput: Practical TCP/IP Stack Tuning Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 17, 2025 · Operations

20 Proven Linux Performance Tweaks to Supercharge CPU, Memory, and Network

This comprehensive guide walks you through the exact scenarios, prerequisites, a 20‑item checklist, and step‑by‑step implementations for tuning CPU scheduling, memory swappiness, huge pages, disk I/O schedulers, network queues, TCP parameters, IRQ affinity, cgroup limits, and monitoring, providing scripts, alert rules, benchmarks, security hardening, troubleshooting tables, rollback playbooks, and best‑practice recommendations for high‑performance Linux servers.

Tuningmonitoringperformance
0 likes · 51 min read
20 Proven Linux Performance Tweaks to Supercharge CPU, Memory, and Network
Liangxu Linux
Liangxu Linux
Sep 16, 2025 · Operations

Boost Linux Network Performance: Practical TCP/IP Stack Tuning Guide

This article presents a comprehensive, step‑by‑step guide for Linux network performance optimization, covering real‑world issues, TCP and IP stack parameter tweaks, queue and interrupt tuning, high‑concurrency scenarios, monitoring scripts, a detailed e‑commerce case study, best‑practice recommendations, and common pitfalls.

LinuxOperationsTCP Tuning
0 likes · 13 min read
Boost Linux Network Performance: Practical TCP/IP Stack Tuning Guide
Raymond Ops
Raymond Ops
Sep 9, 2025 · Operations

Step‑by‑Step Guide to Install and Configure ocserv VPN on CentOS

This tutorial walks you through installing ocserv, creating a CA and server certificates, configuring ocserv settings, adjusting kernel parameters, setting up iptables firewall rules, managing VPN users, and controlling the ocserv service on a CentOS server.

CertificateLinuxOpenConnect
0 likes · 38 min read
Step‑by‑Step Guide to Install and Configure ocserv VPN on CentOS
Raymond Ops
Raymond Ops
Sep 3, 2025 · Operations

Boost Linux Server Performance: Essential Kernel and Sysctl Tweaks

Learn how to optimize Linux server performance by permanently disabling SELinux, setting runlevel 3, increasing file descriptor limits, fine-tuning kernel network parameters via /etc/sysctl.conf, configuring firewall settings, and handling common issues such as too many open files and connection timeouts.

Kernel ParametersLinuxOperations
0 likes · 7 min read
Boost Linux Server Performance: Essential Kernel and Sysctl Tweaks
Raymond Ops
Raymond Ops
Aug 7, 2025 · Operations

Master Linux TCP Settings: Tuning /proc/sys/net/ipv4 for Better Performance

This article explains the purpose of the /proc/sys/net/ipv4 and /proc/sys/net/core directories, lists essential TCP kernel parameters with their default and recommended values, shows how to view and modify them permanently using sysctl or echo, and provides commands for checking network interface statistics on a Linux system.

NetworkingTCPkernel
0 likes · 15 min read
Master Linux TCP Settings: Tuning /proc/sys/net/ipv4 for Better Performance
MaGe Linux Operations
MaGe Linux Operations
Aug 6, 2025 · Operations

Master Linux Network Performance: Practical TCP/IP Stack Tuning Guide

This comprehensive guide explains why network performance becomes a bottleneck in high‑traffic environments and provides step‑by‑step Linux TCP/IP and IP stack parameter optimizations, high‑concurrency tuning, monitoring scripts, and real‑world e‑commerce case results to dramatically improve throughput and latency.

TCP/IP Tuninghigh concurrencynetwork performance
0 likes · 14 min read
Master Linux Network Performance: Practical TCP/IP Stack Tuning Guide
MaGe Linux Operations
MaGe Linux Operations
Aug 4, 2025 · Operations

Boost K8s Node Network Performance by 30% with Linux Kernel Tuning

This article explains how fine‑tuning Linux kernel parameters—such as TCP connection queues, buffer sizes, conntrack limits, interrupt affinity, and container network settings—can improve Kubernetes node network throughput by over 30% in high‑concurrency microservice environments, with real‑world examples and verification scripts.

Kubernetesconntracknetwork performance
0 likes · 11 min read
Boost K8s Node Network Performance by 30% with Linux Kernel Tuning
Liangxu Linux
Liangxu Linux
Jul 14, 2025 · Operations

Master Linux Kernel Tuning: From Theory to Practical Verification

This guide explains why Linux kernel parameters matter, lists key sysctl settings, shows how to apply them temporarily or permanently—including in Docker and Kubernetes—and provides step‑by‑step methods to verify and troubleshoot the changes for optimal system performance.

DockerKuberneteskernel
0 likes · 9 min read
Master Linux Kernel Tuning: From Theory to Practical Verification
Raymond Ops
Raymond Ops
Jul 8, 2025 · Operations

Master Linux Kernel Tuning: Boost Network, File Limits & Disk Scheduling for High‑Performance Servers

This guide walks you through optimizing Linux kernel parameters—including sysctl network settings, local port ranges, and file descriptor limits—shows a real‑world Nginx high‑traffic case, and explains disk scheduler choices, providing concrete commands and recommended values for robust server performance.

Kernel TuningLinuxdisk-scheduler
0 likes · 11 min read
Master Linux Kernel Tuning: Boost Network, File Limits & Disk Scheduling for High‑Performance Servers
Deepin Linux
Deepin Linux
Jun 24, 2025 · Operations

Master Linux Cache Tuning: Boost Performance with Proven Tools & Techniques

This comprehensive guide explains Linux cache fundamentals, performance metrics, essential tuning tools, step‑by‑step optimization procedures, and a real‑world case study, helping you diagnose low hit rates, adjust kernel parameters, clean caches, and improve overall system responsiveness.

LinuxMemorysysctl
0 likes · 24 min read
Master Linux Cache Tuning: Boost Performance with Proven Tools & Techniques
Open Source Linux
Open Source Linux
Jun 10, 2025 · Operations

Master Linux Network Tuning for High‑Concurrency: A Practical Guide

This article walks through real‑world high‑concurrency Linux network bottlenecks, explains critical kernel parameters, shows how to diagnose connection‑state issues, and provides step‑by‑step sysctl and script tweaks that dramatically reduce TIME_WAIT buildup, expand queue capacities, and double throughput for millions of simultaneous connections.

Network TuningTCPperformance optimization
0 likes · 8 min read
Master Linux Network Tuning for High‑Concurrency: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
May 27, 2025 · Operations

Master Linux Kernel Tuning: From Theory to Practical Sysctl Configuration

Learn how to configure and verify essential Linux kernel parameters using sysctl, covering temporary and permanent settings, container-specific adjustments, validation techniques, common pitfalls, and best practices to boost network performance, stability, and security for system administrators and DevOps engineers.

DevOpsKernel Parametersperformance tuning
0 likes · 9 min read
Master Linux Kernel Tuning: From Theory to Practical Sysctl Configuration
Liangxu Linux
Liangxu Linux
Apr 13, 2025 · Operations

Boost Linux Server Performance: Essential Kernel and Sysctl Tweaks

This guide explains how to permanently disable SELinux, set the system runlevel, enlarge file descriptor limits, fine‑tune kernel networking parameters via /etc/sysctl.conf, configure firewall settings, and troubleshoot common Linux socket errors to significantly improve server performance.

LinuxNetwork SettingsSELinux
0 likes · 7 min read
Boost Linux Server Performance: Essential Kernel and Sysctl Tweaks
Raymond Ops
Raymond Ops
Mar 13, 2025 · Operations

Boost Nginx Performance: Essential Linux Kernel Tweaks for High Concurrency

This guide explains why default Linux kernel settings are insufficient for high‑traffic Nginx servers and provides a curated list of sysctl parameters—such as file‑max, tcp_tw_reuse, and net.core buffers—along with explanations and tuning tips to maximize concurrent connections and overall performance.

Kernel TuningNginxOperations
0 likes · 8 min read
Boost Nginx Performance: Essential Linux Kernel Tweaks for High Concurrency
Liangxu Linux
Liangxu Linux
Mar 11, 2025 · Fundamentals

Understanding TCP Connection States and Linux Backlog Tuning

This article explains the 11 TCP connection states, the three‑way handshake, the distinction between half‑open and full‑open queues, common backlog‑related problems, diagnostic commands, and key Linux kernel sysctl parameters for tuning TCP performance.

BacklogConnection StatesLinux
0 likes · 19 min read
Understanding TCP Connection States and Linux Backlog Tuning
Linux Kernel Journey
Linux Kernel Journey
Nov 27, 2024 · Operations

How to Resolve Linux Out‑of‑Memory Issues with a Swap Partition

When a small 2 CPU / 2 GB Alibaba Cloud instance runs Java, Nginx, MySQL, and Redis, memory quickly exhausts; this guide shows how to create and configure a swap file, set appropriate permissions, enable it at boot, and tune the swappiness parameter to mitigate out‑of‑memory failures.

LinuxMemory ManagementSwap
0 likes · 4 min read
How to Resolve Linux Out‑of‑Memory Issues with a Swap Partition
Liangxu Linux
Liangxu Linux
Jun 26, 2024 · Operations

How to Optimize Linux Kernel Parameters for Better Performance

This guide explains how to fine‑tune Linux kernel settings—including sysctl network parameters, shared memory limits, local port ranges, and disk scheduler options—using configuration files and command‑line tools to improve system stability and throughput.

Linuxdisk-schedulerkernel
0 likes · 11 min read
How to Optimize Linux Kernel Parameters for Better Performance
Liangxu Linux
Liangxu Linux
Apr 22, 2024 · Operations

How to Safely Clear Linux RAM Cache, Buffers, and Swap – Best Practices

This guide explains Linux memory management fundamentals and provides step‑by‑step commands for safely clearing RAM caches, file system buffers, and swap space, while highlighting the risks of doing so on production servers and offering advanced tuning techniques.

Swapcache-clearingmemory-management
0 likes · 10 min read
How to Safely Clear Linux RAM Cache, Buffers, and Swap – Best Practices
Open Source Linux
Open Source Linux
Aug 14, 2023 · Operations

9 Essential Linux Server Optimization Tips for Faster, Safer Operations

This article presents nine practical Linux server optimization techniques—including time synchronization, SYN cookie activation, Squid and Nginx tuning, increasing file descriptor limits, disabling unnecessary services, turning off IPv6, enabling RHEL NIC ONBOOT, and understanding memory management—to achieve precise, stable, efficient, and secure server performance.

Linuxserver optimizationsysctl
0 likes · 7 min read
9 Essential Linux Server Optimization Tips for Faster, Safer Operations
MaGe Linux Operations
MaGe Linux Operations
May 31, 2023 · Fundamentals

Master Linux Kernel Essentials: Modules, Commands, and System Configuration

This article provides a comprehensive overview of the Linux kernel, explaining its core components, memory and process management, device drivers, system calls, and security, while detailing essential commands such as uname, lsmod, modinfo, modprobe, depmod, insmod, rmmod, sysctl, and guiding readers through kernel compilation and configuration using /proc and /sys.

CompilationLinuxModules
0 likes · 22 min read
Master Linux Kernel Essentials: Modules, Commands, and System Configuration
Tencent Cloud Developer
Tencent Cloud Developer
May 8, 2023 · Cloud Native

Troubleshooting Common Kubernetes Networking Issues: Cross-VPC NodePort Timeouts, LB Pressure Test CPS Low, DNS Delays, and More

This guide walks through eight frequent Kubernetes networking problems in Tencent Cloud Kubernetes Service—such as cross‑VPC NodePort timeouts, low load‑balancer CPS, DNS resolution delays, apiserver access lag, mis‑configured resolv.conf, liveness‑probe failures, and externalTrafficPolicy = Local timeouts—explaining their root causes and providing concrete kernel, iptables, DNS, and configuration fixes.

DNSKubernetesLB
0 likes · 29 min read
Troubleshooting Common Kubernetes Networking Issues: Cross-VPC NodePort Timeouts, LB Pressure Test CPS Low, DNS Delays, and More
Open Source Linux
Open Source Linux
Feb 27, 2023 · Operations

How Many Files and Connections Can a Linux Server Actually Handle?

This article explains the Linux kernel limits that determine how many files a server can open and how many TCP connections it can sustain, covering the key parameters (fs.file-max, soft/hard nofile, fs.nr_open), practical configuration examples, memory constraints, client-side limits, and related performance considerations.

LinuxTCP connectionsfile-descriptors
0 likes · 15 min read
How Many Files and Connections Can a Linux Server Actually Handle?
Liangxu Linux
Liangxu Linux
Jul 22, 2022 · Fundamentals

When Does Socket Buffer Size Actually Impact TCP Performance? A Practical Linux Experiment

This article builds a simple two‑VM testbed to explore how Linux socket buffer parameters affect TCP throughput, demonstrates baseline speeds, adds artificial network delay, analyzes the bandwidth‑delay product, and shows how tuning tcp_wmem, tcp_rmem and related sysctl settings can recover performance on high‑latency links.

Socketbuffersysctl
0 likes · 21 min read
When Does Socket Buffer Size Actually Impact TCP Performance? A Practical Linux Experiment
Efficient Ops
Efficient Ops
Apr 6, 2022 · Operations

How Many TCP Connections Can One Server Really Handle? A Deep Dive

This article demystifies the common confusion about a server’s maximum concurrent TCP connections, explaining the theoretical limits of the TCP four‑tuple, Linux file‑descriptor restrictions, kernel buffer settings, and demonstrates achieving one million active connections through careful configuration and tuning.

Server TuningTCPconcurrency
0 likes · 7 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive
Architecture Digest
Architecture Digest
Mar 20, 2022 · Information Security

Comprehensive Linux Hardening Guide: Kernel, Sysctl, Boot Parameters, and Security Best Practices

This guide provides a detailed, step‑by‑step hardening strategy for Linux systems, covering distro selection, kernel choices, extensive sysctl tweaks, boot‑loader parameters, MAC policies, sandboxing, memory allocator hardening, compile‑time mitigations, root account protection, firewall rules, swap configuration, PAM policies, microcode updates, IPv6 privacy, partition mounting options, entropy sources, and physical security measures.

HardeningLinuxboot
0 likes · 51 min read
Comprehensive Linux Hardening Guide: Kernel, Sysctl, Boot Parameters, and Security Best Practices
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Feb 7, 2022 · Cloud Native

How to Double Nginx‑Ingress Performance in Kubernetes: IPVS, Kernel Tweaks, and Keep‑Alive Optimizations

This guide explains why routing traffic through an Nginx Ingress controller can halve Kubernetes service QPS and provides step‑by‑step instructions—including switching to IPVS, tuning kernel and file‑descriptor limits, and configuring keep‑alive settings—to restore and even exceed the original performance.

Keep-Alivekube-proxynginx-ingress
0 likes · 9 min read
How to Double Nginx‑Ingress Performance in Kubernetes: IPVS, Kernel Tweaks, and Keep‑Alive Optimizations
Liangxu Linux
Liangxu Linux
Nov 25, 2021 · Operations

How to Check and Increase Linux Open File Limits

This guide explains how to view current soft and hard file descriptor limits on Linux, adjust them per session with ulimit, modify system-wide limits via sysctl and /etc/security/limits.conf, and make the changes persistent across reboots.

file descriptorlimits.confsysctl
0 likes · 4 min read
How to Check and Increase Linux Open File Limits
Ops Development Stories
Ops Development Stories
Aug 4, 2021 · Operations

Mastering TCP Handshakes, Queues, and Linux Tuning for High‑Performance Servers

This article explains TCP’s connection establishment and termination processes, details the roles of half‑ and full‑connection queues in Linux, demonstrates how to simulate and detect queue overflows using tools like netstat, ss, hping3 and ab, and provides kernel tuning parameters to mitigate SYN flood and TIME_WAIT issues.

LinuxNetworkingQueue
0 likes · 23 min read
Mastering TCP Handshakes, Queues, and Linux Tuning for High‑Performance Servers
MaGe Linux Operations
MaGe Linux Operations
May 17, 2021 · Information Security

How to Harden Linux: Essential Security Settings and Best Practices

This comprehensive guide walks you through selecting a secure Linux distribution, configuring kernel and sysctl parameters, applying boot‑time hardening, managing network and firewall rules, restricting root access, enabling MAC policies, sandboxing applications, and employing advanced memory and entropy techniques to dramatically improve system privacy and resilience against attacks.

$rootHardeningLinux
0 likes · 55 min read
How to Harden Linux: Essential Security Settings and Best Practices
Open Source Linux
Open Source Linux
May 11, 2021 · Information Security

Ultimate Guide to Hardening Linux: Boost Security & Privacy

This comprehensive guide explains how to dramatically improve Linux security and privacy by selecting hardened distributions, configuring kernel and boot parameters, applying sysctl tweaks, disabling unnecessary services, using MAC frameworks, sandboxing applications, hardening memory allocation, and following best‑practice system administration steps.

$rootHardeningLinux
0 likes · 59 min read
Ultimate Guide to Hardening Linux: Boost Security & Privacy
Liangxu Linux
Liangxu Linux
May 2, 2021 · Operations

How to Harden Linux for Maximum Security and Privacy

This comprehensive guide explains how to choose a secure Linux distribution, apply kernel hardening, configure sysctl and boot parameters, enforce mandatory access controls, sandbox applications, use hardened compilers and memory allocators, tighten root and user permissions, and adopt best‑practice privacy measures to dramatically reduce the attack surface of a Linux system.

sysctl
0 likes · 63 min read
How to Harden Linux for Maximum Security and Privacy
Architecture Digest
Architecture Digest
Jan 23, 2021 · Fundamentals

Understanding Linux TCP Socket Implementation and System Tuning

This article explains how Linux manages TCP sockets at the kernel level, demonstrates how to adjust port ranges and file‑descriptor limits, and shows the key data structures and lookup functions that enable high‑concurrency TCP connections, providing practical guidance for scaling client connections.

Linux kernelNetworkingPort Range
0 likes · 8 min read
Understanding Linux TCP Socket Implementation and System Tuning
ITPUB
ITPUB
Dec 31, 2020 · Operations

How Many TCP Connections Can One Server Really Handle? A Deep Dive into Linux Limits

This article demystifies common misconceptions about server concurrency, explains the theoretical maximum TCP connections based on the four‑tuple, details Linux file‑descriptor and buffer limits, and walks through a practical experiment that achieves over one million simultaneous connections on a single machine.

LinuxTCPconcurrency
0 likes · 7 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive into Linux Limits
Liangxu Linux
Liangxu Linux
Dec 14, 2020 · Backend Development

How Many TCP Connections Can One Server Really Handle? A Deep Dive

This article explains the true limits of simultaneous TCP connections on a single Linux server, debunking common myths about the 65,535 port ceiling, detailing kernel and user‑level file‑descriptor restrictions, sysctl buffer settings, and a practical experiment achieving one million concurrent connections.

LinuxNetwork ConnectionsTCP
0 likes · 7 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive
ITPUB
ITPUB
Dec 8, 2020 · Operations

How Many TCP Connections Can One Server Really Handle? A Deep Dive into Linux Limits

This article demystifies the true maximum number of concurrent TCP connections a single Linux server can sustain, explaining the theoretical limits of the TCP four‑tuple, the practical constraints imposed by file descriptor and memory settings, and walks through a real‑world experiment achieving one million connections.

LinuxNetworkingServer
0 likes · 6 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive into Linux Limits
ITPUB
ITPUB
Nov 23, 2020 · Fundamentals

Master TCP Handshake & Teardown: Linux TIME_WAIT Tuning Explained

This article explains the TCP three‑way handshake and four‑way termination processes, clarifies the TIME_WAIT state, shows how to inspect socket states with netstat, and provides practical Linux sysctl settings to reduce excessive TIME_WAIT sockets and improve network performance.

HandshakeLinuxNetworking
0 likes · 7 min read
Master TCP Handshake & Teardown: Linux TIME_WAIT Tuning Explained
Liangxu Linux
Liangxu Linux
Oct 1, 2020 · Operations

Boost Linux High‑Concurrency Performance with Essential Kernel Tweaks

This guide explains how to configure Linux system limits, kernel TCP parameters, and I/O event mechanisms to enable a single process to handle a large number of simultaneous connections, improving server throughput and stability under high‑concurrency workloads.

Kernel TuningLinuxhigh concurrency
0 likes · 13 min read
Boost Linux High‑Concurrency Performance with Essential Kernel Tweaks
ITPUB
ITPUB
Jun 1, 2020 · Operations

How to Diagnose and Fix UDP Packet Drops on Linux

This guide explains the Linux packet‑receive path, shows how to verify UDP loss with tools like ethtool, ifconfig, and netstat, and provides step‑by‑step methods to identify NIC, driver, kernel, firewall, buffer‑size, and application causes while offering concrete commands to adjust ring buffers, sysctl parameters, and socket settings.

LinuxNetworkingUDP
0 likes · 13 min read
How to Diagnose and Fix UDP Packet Drops on Linux
Liangxu Linux
Liangxu Linux
May 4, 2020 · Operations

How to Diagnose and Fix Linux UDP Packet Drops

This guide explains the Linux packet‑receiving process, shows how to identify where UDP drops occur, and provides practical commands and kernel tuning tips to troubleshoot network‑card, driver, system, and application‑level packet loss.

Packet LossUDPdropwatch
0 likes · 13 min read
How to Diagnose and Fix Linux UDP Packet Drops
360 Tech Engineering
360 Tech Engineering
Dec 6, 2019 · Operations

Linux System Parameter and Nginx Configuration Optimization Guide

This guide explains how to improve web service performance by tuning Linux system parameters and Nginx configuration, covering file descriptor limits, TCP connection queues, temporary port ranges, worker processes, keepalive settings, and access‑log buffering, with concrete sysctl and Nginx directives.

NginxTuningsysctl
0 likes · 9 min read
Linux System Parameter and Nginx Configuration Optimization Guide
FunTester
FunTester
Aug 15, 2019 · Backend Development

Boost Your Mac Load Test: Tuning sysctl and HttpClient for 20k+ Connections

This guide shares practical steps to overcome TIME_WAIT port exhaustion on macOS and optimize Apache HttpClient settings for high‑concurrency load testing, including sysctl tweaks for maximum file descriptors, port range adjustments, connection‑pool parameters, timeout configurations, and a custom connection‑recycling thread, enabling over 20 k concurrent requests without bottlenecks.

Connection PoolHttpClientLoad Testing
0 likes · 5 min read
Boost Your Mac Load Test: Tuning sysctl and HttpClient for 20k+ Connections
360 Quality & Efficiency
360 Quality & Efficiency
Dec 14, 2018 · Operations

Performance Testing of Long-Connection Services: Identifying and Resolving Connection Limits in MQTT with JMeter

This article explains how to conduct performance testing for long‑connection services such as MQTT using JMeter, highlights common factors that restrict connection counts like system port limits and file descriptor caps, and provides step‑by‑step instructions to adjust sysctl and ulimit settings to obtain accurate results.

JMeterMQTTPerformance Testing
0 likes · 3 min read
Performance Testing of Long-Connection Services: Identifying and Resolving Connection Limits in MQTT with JMeter
Efficient Ops
Efficient Ops
Oct 14, 2018 · Operations

How to Diagnose and Fix UDP Packet Loss on Linux Servers

Learn step-by-step how to verify UDP packet loss on Linux, interpret driver and kernel statistics, adjust ring buffers and socket buffers, and use tools like ethtool, netstat, dropwatch, and perf to pinpoint and resolve network drops caused by hardware, configuration, or system load.

LinuxPacket LossUDP
0 likes · 13 min read
How to Diagnose and Fix UDP Packet Loss on Linux Servers
MaGe Linux Operations
MaGe Linux Operations
May 16, 2018 · Operations

Why Your E‑commerce Site Faces Intermittent Outages: Diagnosing SYN Socket Overflow and TCP Handshake Failures

The article walks through a real‑world case where an e‑commerce homepage intermittently became unreachable, explains how SYN socket overflow and full accept queues cause TCP handshake failures, demonstrates kernel and Nginx tuning, and provides Python scripts for load testing and SYN‑Flood simulation.

LinuxSYN FloodTCP
0 likes · 8 min read
Why Your E‑commerce Site Faces Intermittent Outages: Diagnosing SYN Socket Overflow and TCP Handshake Failures
Efficient Ops
Efficient Ops
May 13, 2018 · Operations

Diagnosing and Fixing TCP SYN Queue Overflows that Crash E‑commerce Sites

This article walks through a real‑world incident where an e‑commerce site suffered intermittent outages due to TCP SYN and accept queue overflows, explains the underlying handshake mechanics, shows how kernel and Nginx parameters can be tuned, and provides Python scripts for testing and SYN‑flood simulation.

SYN FloodTCPbackend operations
0 likes · 9 min read
Diagnosing and Fixing TCP SYN Queue Overflows that Crash E‑commerce Sites
360 Quality & Efficiency
360 Quality & Efficiency
Feb 8, 2018 · Fundamentals

Understanding TCP TIME_WAIT State and Optimization Techniques

This article explains the TCP TIME_WAIT state, its role in connection termination, the performance impact of large numbers of TIME_WAIT sockets, and practical optimization methods such as using keep‑alive and tuning Linux kernel parameters to mitigate the issue.

LinuxNetwork TuningPerformance Testing
0 likes · 8 min read
Understanding TCP TIME_WAIT State and Optimization Techniques
ITPUB
ITPUB
Jul 19, 2017 · Information Security

Essential Linux Hardening: Minimalism, Port Tweaks, and Kernel Optimizations

This guide walks through practical Linux hardening steps—including minimal installation, SSH port changes, sudo privilege tailoring, extensive kernel sysctl tuning, firewall adjustments, system version hiding, file protection, and package installation strategies—to boost security and performance while keeping the system lean.

SSHSudoSystem Hardening
0 likes · 6 min read
Essential Linux Hardening: Minimalism, Port Tweaks, and Kernel Optimizations
ITPUB
ITPUB
Jun 6, 2017 · Operations

Essential Linux Kernel Tweaks to Boost Nginx Performance

This guide explains why the default Linux kernel settings are unsuitable for high‑concurrency Nginx servers, shows how to edit /etc/sysctl.conf, and provides a curated list of TCP and network parameters with practical comments to improve throughput and latency.

Kernel TuningNginxTCP
0 likes · 7 min read
Essential Linux Kernel Tweaks to Boost Nginx Performance
ITPUB
ITPUB
Sep 13, 2016 · Fundamentals

Why Does TCP TIME_WAIT Exist and How to Manage It in High‑Concurrency Servers

The article explains why TCP’s TIME_WAIT state is essential for reliable data delivery, describes how excessive TIME_WAIT sockets can exhaust port resources in high‑concurrency short‑connection servers, and offers principled and practical mitigation techniques such as kernel sysctl tweaks and careful use of SO_LINGER.

LinuxNetworkingSocket
0 likes · 9 min read
Why Does TCP TIME_WAIT Exist and How to Manage It in High‑Concurrency Servers
MaGe Linux Operations
MaGe Linux Operations
Sep 5, 2016 · Information Security

Secure Your Nginx on Linux: SELinux, Sysctl Tweaks, Module Stripping & Firewall

This guide walks through hardening an Nginx web server on Linux by configuring default files, testing and reloading, enabling SELinux, mounting least‑privilege partitions, applying sysctl security parameters, removing unnecessary modules, and deploying an iptables‑based firewall with detailed command examples.

HardeningLinux securitySELinux
0 likes · 14 min read
Secure Your Nginx on Linux: SELinux, Sysctl Tweaks, Module Stripping & Firewall
ITPUB
ITPUB
Feb 25, 2016 · Information Security

Hardening Linux Against SYN Flood & DDoS: sysctl, iptables & DDoS Deflate

This guide explains how to protect Linux servers from SYN flood and DDoS attacks by tuning sysctl parameters, applying iptables rules, installing the free DDoS‑deflate script, and monitoring nginx logs to identify and block malicious IPs and user agents.

DDoS mitigationLinuxfirewall
0 likes · 10 min read
Hardening Linux Against SYN Flood & DDoS: sysctl, iptables & DDoS Deflate
MaGe Linux Operations
MaGe Linux Operations
Jun 15, 2015 · Backend Development

How to Tune Nginx for Over 900k Requests per Second on Linux

This guide walks you through installing and configuring Nginx for extreme request rates, optimizing kernel TCP settings, and using Tsung to benchmark a server that can sustain more than 900,000 requests per second, with detailed command examples and configuration snippets.

Load TestingNginxTCP Tuning
0 likes · 10 min read
How to Tune Nginx for Over 900k Requests per Second on Linux
MaGe Linux Operations
MaGe Linux Operations
Jul 29, 2014 · Operations

Boost Linux Server Performance: Essential Kernel and File Limit Tweaks

This guide shows how to increase file descriptor limits, adjust TCP settings, and tune kernel parameters such as net.ipv4.tcp_max_syn_backlog on Linux systems, providing step‑by‑step commands for both individual users and all users to improve network performance and handle more concurrent connections.

File LimitsKernel TuningLinux
0 likes · 3 min read
Boost Linux Server Performance: Essential Kernel and File Limit Tweaks