Increase max connection in redsocks proxy

hi i have a busy network and want increase max_conn more than 128 in redsocks there is any way for more connections,here is something but i was unsuccessful to change 128 max_conn in redsocks my network is unstable lots of connection drop

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

More like this:

ulimit -n results in 1024 by default, you need to rise that.

SOMAXCONN is new connection queue for service, exceeding it must be logged in dmesg

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

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;
}

Wrong answer.