is there a way to free up sockets more quickly in debian and fedora ?

i tweaked the hell out of most settings but i still have a bottleneck in the sockets managment...

servers run out of sockets and drops peers...

i used most tricks out of this document


this is how these settings are set

echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "3129344 3137536 4194304" > /proc/sys/net/ipv4/tcp_mem
echo "65536 1398080 4194304" > /proc/sys/net/ipv4/tcp_rmem
echo "65536 1398080 4194304" > /proc/sys/net/ipv4/tcp_wmem
echo "163840" > /proc/sys/net/core/optmem_max
echo "1048560" > /proc/sys/net/core/rmem_default
echo "2097136" > /proc/sys/net/core/rmem_max
echo "1048560" > /proc/sys/net/core/wmem_default
echo "2097136" > /proc/sys/net/core/wmem_max

is there another way to tweak things ? compile a special kernel ?

there is enough ram on the machines as the ram is never used completely and swap files are NEVER used..

servers also run smooth on cpu usage so i can handle more if i can free up sockets quicker...