[ejabberd] how do _you_ close bosh sessions?
sma at turtle-entertainment.de
Tue Jan 26 11:37:25 MSK 2010
yeah, that figure was what i was getting from guides and benchmarks
all over the net. the strange thing for us is, we do not
run into memory problems or anything like that, it just seems that
we are running into some kind of limit with our use of the
could you give me some pointers on where to look for "proper OS tuning"?
thanks in advance,
Von: ejabberd-bounces at jabber.ru im Auftrag von Mickaël Rémond
Gesendet: Di 26.01.2010 07:09
An: ejabberd at jabber.ru
Betreff: Re: [ejabberd] how do _you_ close bosh sessions?
Regarding the scale it depends on you server and scenario but with
proper OS tuning you should not have many problem reaching 10k-15k per
Le 25 janv. 2010 à 13:02, Stephan Maihöfer <sma at turtle-
entertainment.de> a écrit :
> yes, i know that, but you'd have to either have the user
> click on a "disconnect" button or something like that to
> disconnect that way.
> in normal application programming you could just disconnect
> before you actually close the application, since you got
> some kind of "event". unformtunately the "onUnload" event
> in a browser is triggered in very different places in
> different browsers.
> fron the jquery documentation, for example:
> "The exact handling of the unload event has varied from version to
> version of browsers.
> For example, some versions of Firefox trigger the event when a
> link is followed, but not
> when the window is closed. In practical usage, behavior should be
> tested on all
> supported browsers, and contrasted with the proprietary
> beforeunload event."
> this potentially leaves a lot of "dangling" connections that
> need to be closed by the server in any case...does this
> affect performance?
>> -----Original Message-----
>> From: ejabberd-bounces at jabber.ru
>> [mailto:ejabberd-bounces at jabber.ru] On Behalf Of Mickaël Rémond
>> Sent: Monday, January 25, 2010 12:56 PM
>> To: ejabberd at jabber.ru
>> Subject: Re: [ejabberd] how do _you_ close bosh sessions?
>> The way to close Bosh session is with terminate:
>> Le 25 janv. 2010 à 11:18, Stephan Maihöfer a écrit :
>>> we are still struggling to get more thant 2000 users per node
>>> connected to the http_bind interface of ejabberd. on friday
>> we updated
>>> to the new bugfix release of ejabberd 2.1.1 and now we see a lot of
>>> =ERROR REPORT==== 24-Jan-2010::14:03:54 === Jan 24 14:03:54 jabber3
>>> EJABBERD: W(<0.31555.393>:ejabberd_http_bind:486) :
>>> Session timeout. Closing the HTTP bind session:
>>> would that be a problem to server performance? how can i set that
>>> timeout and more importantly:
>>> how do you guys using bosh and ejabberd close bosh sessions
>> that you
>>> open in the browser? we have implemented the disconnect on
>>> window.onUnload, but this seems to be not really well suited since
>>> browsers interpret that differently. do you worry about that at all?
>>> what is your numbers in "users per node" using ejabberd http_bind?
>>> ejabberd mailing list
>>> ejabberd at jabber.ru
>> ejabberd mailing list
>> ejabberd at jabber.ru
> ejabberd mailing list
> ejabberd at jabber.ru
ejabberd mailing list
ejabberd at jabber.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 4881 bytes
Desc: not available
More information about the ejabberd