Hey Vinod,

For some reason we are not able to go over 33K concurrent connections. I
still have to figure out where the bottleneck is. Interestingly, the CPU
looks fine (7%), memory fine (50% of max heap), thread dumps fine, no
errors....all is fine but the system slows down up to the point of no
longer working.

Do you have more info about your experience? I would like to know how
you were able to establish when you hit a hardware limit, when it was a
JVM-epoll limitation or whatever. In your experience, which JVM
implementation was the best one (scalable) and epoll
implementation/version. If you can suggest tools or commands to use to
monitor our linux/solaris environments it would be great.

Thanks for your help.

Regards,

  -- Gato

-----Original Message-----
From: Vinod Panicker [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 22, 2006 10:59 PM
To: [email protected]
Subject: Re: Limitations on open sessions?

On 12/22/06, Trustin Lee <[EMAIL PROTECTED]> wrote:
> On 12/22/06, Vinod Panicker <[EMAIL PROTECTED]> wrote:
> >
> > On 12/22/06, Michael Bauroth <[EMAIL PROTECTED]> wrote:
> > > Hi Vinod,
> > >
> > > that's the solution! I called ulimit with the wrong parameter.
ulimit -n
> > > gives me 50000 as result, so now it's clear.
> > >
> > > Remaining my second question, but this one I will discuss in the
other
> > > thread so far.
> >
> > Rather than calling ulimit each time, just make the necessary
entries
> > in /etc/security/limits.conf on a Debian system.
> >
> > If you enter something like this -
> >
> > * soft nofile 100000
> > * hard nofile 100000
> >
> > And reboot, all users on the system will have an open file limit of
100k
>
>
> Hey, isn't it too big? :)
>
> It would be great if you managed to make MINA handle that amount of
> connections in production environment.  If so, please let us know!

It is very much possible to handle these many connections.  The
limitations are currently imposed by the hardware and the JVM
implementation of epoll.  If you remember my earliest tests, we were
able to reach 100k connected sessions using MINA.  Doing I/O is
another matter, though.

Regards,
Vinod.

Reply via email to