缺省最大socket连接数是128,因此用Mac OSX做服务器可能会遇到
[url=http://www.wagerlabs.com/blog/2008/09/erlang-sucks.html]Joel Raymont的问题[/url]
将Mac最大socket连接数调到512的修改命令如下:
更多的资料见[url=http://www.macgeekery.com/tips/configuration/mac_os_x_network_tuning_guide_revisited]这里[/url]
[url=http://www.wagerlabs.com/blog/2008/09/erlang-sucks.html]Joel Raymont的问题[/url]
将Mac最大socket连接数调到512的修改命令如下:
sudo sysctl -w kern.ipc.somaxconn=512
更多的资料见[url=http://www.macgeekery.com/tips/configuration/mac_os_x_network_tuning_guide_revisited]这里[/url]