On Wed, May 23, 2012 at 11:43 AM, Brian Cardarella
<
bcard...@gmail.com> wrote:
> I should have included this, I am on OSX. The server and clients are
> running from the same machine. I understand that I am not creating a
> very accurate test by doing this but I wanted to try on my dev machine
> before I go onto a dedicated server.
EM.kqueue = true
You'll have better luck on linux though, with EM.epoll = true
Aman
>
> On May 23, 2:19 pm, Brian Cardarella <
bcardare...@gmail.com> wrote:
>> So I have an em-websocket server running and I'm trying to see how
>> well it can scale. So I've written a small script that loops through
>> and creates a ton of em-http-requests that each connect to the server.
>> It scales just fine to around 1008 connections then the server blows
>> up.
>>
>> I have already searched through this group and have tried the
>> following:
>>
>> * increasing the ulimit -n to 5000
>> * switching to EM.epoll
>> * setting EM.set_max_timers(10_000)
>> * setting EM.set_descriptor_table_size(10_000)
>>
>> I have done all of this and the server still craps out after 1008
>> connections. Thoughts?
>
> --
> You received this message because you are subscribed to the Google Groups "EventMachine" group.
> To post to this group, send email to
eventm...@googlegroups.com.
> To unsubscribe from this group, send email to
eventmachine...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/eventmachine?hl=en.
>