root@Release:~# cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
root@Release:~# echo "1024 65535"> /proc/sys/net/ipv4/ip_local_port_range
root@Release:~# cat /proc/sys/net/ipv4/ip_local_port_range
1024 65535
root@Release:~# ulimit -n
1024
root@Release:~# ulimit -n 65535
root@Release:~# ulimit -n
65535
after tcp socket test till to full port occupied
root@Release:/etc# netstat -ant| grep "ESTABLISHED" | wc -l
65535
阅读(1161) | 评论(0) | 转发(0) |