Tag

sysctl

0 views collected around this technical thread.

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.

LinuxNginxkernel-tuning
0 likes · 8 min read
Boost Nginx Performance: Essential Linux Kernel Tweaks for High Concurrency
Linux Ops Smart Journey
Linux Ops Smart Journey
Nov 25, 2024 · Operations

Automate sysctl, SELinux, and Mount Configurations with Ansible

This guide shows how to use Ansible to automate Linux sysctl parameter tuning, manage SELinux policies, and configure filesystem mount points, providing step‑by‑step examples and code snippets that simplify operations and improve system stability and security.

AnsibleAutomationSELinux
0 likes · 7 min read
Automate sysctl, SELinux, and Mount Configurations with Ansible
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
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.

ConcurrencyLinuxTCP
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.

HardeningKernelLinux
0 likes · 51 min read
Comprehensive Linux Hardening Guide: Kernel, Sysctl, Boot Parameters, and Security Best Practices
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.

LinuxTCPnetworking
0 likes · 23 min read
Mastering TCP Handshakes, Queues, and Linux Tuning for High‑Performance Servers
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 kernelSocketTCP
0 likes · 8 min read
Understanding Linux TCP Socket Implementation and System Tuning
Architecture Digest
Architecture Digest
Jan 3, 2021 · Operations

Understanding How Many Concurrent TCP Connections a Server Can Actually Support

This article explains the true limits of concurrent TCP connections on a server, debunks common misconceptions about port numbers, details the TCP four‑tuple theory, outlines Linux file‑descriptor restrictions, shows how to tune kernel buffers with sysctl, and shares a real‑world test achieving one million active connections.

ConcurrencyLinuxTCP
0 likes · 6 min read
Understanding How Many Concurrent TCP Connections a Server Can Actually Support
Refining Core Development Skills
Refining Core Development Skills
Dec 7, 2020 · Operations

Understanding the Maximum Number of TCP Connections a Server Can Support

This article explains the true limits of concurrent TCP connections on a server, debunks common misconceptions about port numbers and TCP four‑tuple space, and shows how Linux file‑descriptor and socket buffer settings affect real‑world scalability, illustrated with a million‑connection experiment.

ConcurrencyLinuxServer
0 likes · 6 min read
Understanding the Maximum Number of TCP Connections a Server Can Support
Sohu Tech Products
Sohu Tech Products
Nov 11, 2020 · Information Security

Using Inline ARM64 Assembly in iOS for Debug Detection and Security Hardening

This article explains how to write and integrate ARM64 inline assembly in iOS applications to implement anti‑debugging checks, discusses the syntax, constraints, calling conventions, common pitfalls, and provides complete assembly‑only solutions for secure runtime detection.

ARM64anti-debuggingiOS
0 likes · 18 min read
Using Inline ARM64 Assembly in iOS for Debug Detection and Security Hardening
Cloud Native Technology Community
Cloud Native Technology Community
Sep 7, 2020 · Cloud Native

Performance Tuning of Nginx Ingress Controller on Tencent Cloud TKE

This article explains how to optimize Nginx Ingress Controller on Tencent Cloud TKE for high‑concurrency workloads by adjusting kernel parameters, sysctl settings, and Nginx configuration values, and provides concrete initContainer and ConfigMap examples to apply these optimizations.

KubernetesNginxPerformance Tuning
0 likes · 9 min read
Performance Tuning of Nginx Ingress Controller on Tencent Cloud TKE
vivo Internet Technology
vivo Internet Technology
Aug 19, 2020 · Operations

Linux Page Cache Optimization for Kafka: Concepts, Parameter Tuning, and Performance Evaluation

The article explains Linux page cache fundamentals, shows how to inspect and reclaim cache, and provides detailed tuning of vm.dirty_* and vm.swappiness parameters to smooth Kafka write traffic, reduce I/O spikes, and improve overall performance, illustrated with before‑and‑after benchmarks.

KafkaLinuxPerformance Tuning
0 likes · 14 min read
Linux Page Cache Optimization for Kafka: Concepts, Parameter Tuning, and Performance Evaluation
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.

LinuxNginxoperations
0 likes · 9 min read
Linux System Parameter and Nginx Configuration Optimization Guide
360 Tech Engineering
360 Tech Engineering
Dec 19, 2018 · Operations

Resolving Port and File Descriptor Limits in MQTT Performance Testing with JMeter

This article explains how to identify and resolve two common factors—port number limits and file descriptor limits—that restrict server connection counts during MQTT performance testing with JMeter, providing step‑by‑step guidance and command‑line adjustments such as updating the ulimit value.

JMeterMQTTconnection limits
0 likes · 3 min read
Resolving Port and File Descriptor Limits in MQTT Performance Testing with JMeter
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.

JMeterMQTTconnection limits
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.

LinuxNetwork TroubleshootingUDP
0 likes · 13 min read
How to Diagnose and Fix UDP Packet Loss on Linux Servers
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.

LinuxNetwork TroubleshootingSYN flood
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 TuningTCP
0 likes · 8 min read
Understanding TCP TIME_WAIT State and Optimization Techniques
Practical DevOps Architecture
Practical DevOps Architecture
Jan 4, 2018 · Operations

Optimizing System Performance by Tuning Kernel Parameters with sysctl

This guide explains how to maximize system performance by debugging and adjusting kernel parameters using sysctl, detailing command options, key network and security settings, recommended values, and related /proc/sys entries for tuning TCP, UDP, socket buffers, and other kernel behaviors.

LinuxNetwork Performancekernel-tuning
0 likes · 10 min read
Optimizing System Performance by Tuning Kernel Parameters with sysctl