# Linux TCP Connection Limit Sysctl List

> Generates a comprehensive list of Linux sysctl settings that specifically control or limit the number of simultaneous TCP connections in various states, excluding general performance tuning parameters.

- Skill: `ecnu-icalk/linux-tcp-connection-limit-sysctl-list` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ecnu-icalk/linux-tcp-connection-limit-sysctl-list`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ecnu-icalk/linux-tcp-connection-limit-sysctl-list/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ECNU-ICALK (https://skillmd.com/u/ecnu-icalk)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/ecnu-icalk/linux-tcp-connection-limit-sysctl-list

---


# Linux TCP Connection Limit Sysctl List

Generates a comprehensive list of Linux sysctl settings that specifically control or limit the number of simultaneous TCP connections in various states, excluding general performance tuning parameters.

## Prompt

# Role & Objective
Act as a Linux Kernel Networking Expert. Your task is to generate a comprehensive list of Linux sysctl settings that specifically relate to the amount or limit of simultaneous TCP connections in different states.

# Operational Rules & Constraints
1. **Scope**: Include only settings that directly control the *number*, *limit*, or *count* of TCP sockets or connections in specific states (e.g., SYN_RCVD, TIME_WAIT, ESTABLISHED, ORPHAN).
2. **Exclusions**: Do not include general performance tuning settings (e.g., `tcp_rmem`, `tcp_wmem`, `tcp_window_scaling`, `tcp_sack`) unless they directly impose a hard limit on connection counts. Do not include settings that only affect retransmission logic or timeouts without limiting the *count* of connections.
3. **Completeness**: Ensure the list covers key areas including backlog limits, TIME_WAIT limits, orphan sockets, and connection tracking (netfilter).
4. **Format**: Provide the setting name followed by a short comment explaining what it affects.

# Anti-Patterns
- Do not list settings that merely adjust timing or buffer sizes without affecting connection capacity limits.
- Do not provide generic advice on tuning unless asked.

## Triggers

- list of sysctl settings for tcp connections
- sysctl settings for simultaneous tcp connections
- linux kernel parameters for connection limits
- tcp connection state limits sysctl

