5 ms·
I wonder if this guy tuned his network card. OS X default for max open sockets is 128, can make it hard to max out the cpu running network based loads generator
by sunkencity 18y ago
I wonder if this guy tuned his network card. OS X default for max open sockets is 128, can make it hard to max out the cpu running network based loads generators.
sudo sysctl -w kern.ipc.somaxconn=512
http://www.macgeekery.com/tips/configuration/mac_os_x_network_tuning_guide_revisited http://www.macgeekery.com/tips/configuration/mac_os_x_networ...
- cjenkins 18y agoLooks like you might be right from the update he posted on his blog. http://www.wagerlabs.com/blog/2008/09/erlang-sucks.html#more http://www.wagerlabs.com/blog/2008/09/erlang-sucks.html#more
- wagerlabs 18y agoTried this. Still got timeouts. I much prefer Hacker News, btw, compare the coverage on Reddit ;-).
- sunkencity 18y agoToo bad it didn't help. I've run into that limit trying to use the tool "siege" to stress test apache, tomcat and different rails apps. Hope you find what the problem is. I think I recall one a podcast about an erlang project (i'm 70% sure it was an erlang project and not smalltalk), where they wanted to run on bsd, but eventually gave up because of some network issue and switched to linux. I'd suggest trying to boot the machine in ubuntu and give it a spin there, or see if you can max out a linux box that you already have access too. Linux has so many more users that the real world kinks are much more worked out than on OS X or BSD (I'm talking about server apps here).