-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeouts/connection closed errors with benchmark tests #122
Comments
Hey @demuskov thanks for opening this issue. I will give it a try on this benchmark again this weekend. Thanks for opening this issue |
Thanks, Eduardo! PS. Now I'm trying to redesign your benchmark for the following case:
Thanks once more. |
Hi! I'v practiced with benchmark-based code on a few machines with Ubuntu 16 (poxa server) and Mint 18 (poxa multiple clients). Network settings for Ubuntu adjusted for heavy-load web server. Mints - highest limits (fds - 500000). Poxa on ubuntu used with several start options (daemon, console) - behavior was identical in all cases. Two scripts:
Distributed env behavior:
Consolidated env behavior (all run under ubuntu):
Thanks. PS. Scripts below: |
Ok so we need to find a way to replicate these issues you are finding. It could be just a network slowness caused by the kernel (some resource limit?). TBH I never had more needs than 10k connections with Poxa so I never really tested more than that. I can try to setup a digital ocean machine and try again. I remember having great success running poxa on Linux but terrible results with OS X for example |
I do not think that we reach system limits at Ubuntu server. Consolidated env means that all processes - poxa and test suit ran on the single machine. PS. Ubuntu server sysctl.conf:
|
Hi!
I'm trying to make env for handle, for example 5-7k connections. I'v read (#12), but do not able to reproduce that success story.
Socket/files limits is 500000 on the poxa-machine. Erlang and Elixir versions are (Install instructions from https://gist.github.com/rubencaro/6a28138a40e629b06470):
There is no errors on that side (console log contains just correct messages). But on the other side(s) (where benchmark started) I have errors:
or:
I think, that I'm missing something and any help is appreciate.
Thanks.
The text was updated successfully, but these errors were encountered: