Tag

file descriptors

1 views collected around this technical thread.

Architect
Architect
Jun 10, 2025 · Operations

How Many TCP Connections Can a Server Really Handle? Limits and Tuning

This article explains the practical limits on how many TCP connections a Linux server or client can support, covering file‑descriptor parameters, memory consumption per socket, kernel tuning examples, and scaling calculations for large‑scale long‑connection services.

LinuxTCPconnection limits
0 likes · 15 min read
How Many TCP Connections Can a Server Really Handle? Limits and Tuning
Raymond Ops
Raymond Ops
May 20, 2025 · Operations

Master Linux Redirection and Pipes: From File Descriptors to Inter‑Process Communication

This article explains Linux redirection, the three standard streams and their file descriptors, how to adjust descriptor limits, practical redirection examples, and the fundamentals of pipes—including anonymous and named pipes, their characteristics, and typical use cases for inter‑process communication.

IPCLinuxPipes
0 likes · 13 min read
Master Linux Redirection and Pipes: From File Descriptors to Inter‑Process Communication
Raymond Ops
Raymond Ops
Mar 29, 2025 · Operations

Mastering lsof: List Open Files, Processes, and Network Connections on Linux

This guide explains how to use the Linux lsof command‑line utility to list information about files opened by processes—including regular files, directories, sockets, and pipes—while covering options for filtering by file, directory, process name, user, PID, network connections, repeat mode, and more.

LinuxSystem Administrationfile descriptors
0 likes · 10 min read
Mastering lsof: List Open Files, Processes, and Network Connections on Linux
Architecture Digest
Architecture Digest
Nov 1, 2023 · Operations

Maximum Number of TCP Connections a Server Can Support and Related Linux Limits

This article explains how Linux kernel parameters, memory size, and file descriptor limits determine the maximum number of TCP connections a server or client can handle, provides configuration examples for increasing those limits, and discusses practical considerations such as port ranges and connection overhead.

LinuxServer CapacityTCP
0 likes · 15 min read
Maximum Number of TCP Connections a Server Can Support and Related Linux Limits
Architect's Guide
Architect's Guide
Oct 11, 2023 · Operations

How Many Files and TCP Connections a Server Can Support and How to Tune Linux Limits

This article explains the Linux parameters that limit the maximum number of open files and TCP connections on a server, shows how to adjust those limits with configuration examples, and discusses practical constraints such as memory, port ranges, and real‑world scaling scenarios.

LinuxTCPfile descriptors
0 likes · 15 min read
How Many Files and TCP Connections a Server Can Support and How to Tune Linux Limits
Refining Core Development Skills
Refining Core Development Skills
Feb 8, 2021 · Operations

Understanding and Resolving the “Too Many Open Files” Error on Linux

This article explains why the “Too many open files” error occurs on Linux, analyzes the three related kernel parameters (fs.nr_open, nofile, and fs.file-max), shows the relevant source code, and provides step‑by‑step configuration guidance to safely increase file descriptor limits.

Linuxfile descriptorskernel
0 likes · 12 min read
Understanding and Resolving the “Too Many Open Files” Error on Linux
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.

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

LinuxServerTCP
0 likes · 6 min read
Understanding the Maximum Number of TCP Connections a Server Can Support
Efficient Ops
Efficient Ops
Jul 23, 2018 · Operations

Why lsof Misses Thousands of File Handles: Linux Kernel Secrets Revealed

The article explains the discrepancy between the file‑handle count reported by /proc/sys/fs/file‑nr and the numbers shown by lsof, clarifying the difference between file descriptors and file handles, describing how the kernel allocates struct file objects, and showing how shared memory, mmap, and other operations can inflate handle counts unnoticed by lsof.

Linuxfile descriptorskernel
0 likes · 9 min read
Why lsof Misses Thousands of File Handles: Linux Kernel Secrets Revealed
Ctrip Technology
Ctrip Technology
Nov 15, 2016 · Backend Development

Investigation of the "Too many open files" Error in Tomcat with Apollo Configuration Center

This article analyzes a production incident where a Java web application using Apollo configuration center encountered "Too many open files" errors, detailing the fault symptoms, root cause analysis involving Tomcat's classloader and file‑descriptor limits, and presenting remediation and preventive measures.

ApolloClassLoaderJava
0 likes · 13 min read
Investigation of the "Too many open files" Error in Tomcat with Apollo Configuration Center