Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

c1000k

> 编程语言
Open source

A tool to test if your OS supports 1 million connections(c1000k/c1m)

609 stars0 likes1 views
WebsiteGitHub

About

A tool to test if your OS supports 1 million connections(c1000k/c1m)

c1000k

This is the TCP server-client suit to help you test if your OS supports c1000k(1 million connections).

Usage

Download and compile

bash
wget --no-check-certificate https://github.com/ideawu/c1000k/archive/master.zip
unzip master.zip
cd c1000k-master
make

start the server, listen on port 7000~7099

./server 7000

run the client

./client 127.0.0.1 7000

The server will ouput message like this and quit:

connections: 153
error: Too many open files

It says the server can only accept 153 connections, it reaches the max-open-files limitation so it quit.

The client will output message like this:

connections: 154
error: Connection refused

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言