Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase max conn more than 128 #184

Open
abjadhoz opened this issue Aug 13, 2024 · 2 comments
Open

increase max conn more than 128 #184

abjadhoz opened this issue Aug 13, 2024 · 2 comments

Comments

@abjadhoz
Copy link

hi i have a busy server and want increase max conn more than 128 there is any solution or another program that support more connection

@abjadhoz
Copy link
Author

https://github.com/darkk/redsocks/blob/master/redsocks.conf.example

// listenq = 128; // SOMAXCONN equals 128 on my Linux box.
what is this line

@abjadhoz
Copy link
Author

hi i use this configuration and speed get wild

base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
redsocks_conn_max = 4096;
connpres_idle_timeout = 7440;
max_accept_backoff = 6000;
}

redsocks {
local_ip = 127.0.0.1;
local_port = 12345;
listenq = 4096;
splice = true;
ip = 127.0.0.1;
port = 10808;
type = socks5;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant