Reply To: Maximum active connections

Home Page Forums Network Management ZeroShell Maximum active connections Reply To: Maximum active connections

#49519

AtroposX
Member

Looks like the default tcp timeout established of a default install is 432000, which is why the active connections kept going up, and crashing the system. the ram would get all used up, OOM killer kept killing named, sshd, httpd, telnetd, so no management.

From here:
http://www.zeroshell.net/eng/forum/viewtopic.php?t=489&highlight=swap

“echo “600” > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established”

This seems to time them out quite well now, ram is kept way down now.

Somehow also before, after having to hard reset it, and connected to a monitor, the startup services would hang at LDAP, then next line recovering LDAP DB, and wouldn’t go past. Reinstalled, and set tcp timeout lower, and all is fine so far.