On 01/03/2012 18:22, Costin Manolache wrote: > On Thu, Mar 1, 2012 at 9:54 AM, Mark Thomas <ma...@apache.org> wrote: > >> On 01/03/2012 17:13, Filip Hanik - Dev Lists wrote: >>> Mark, what buffer size are you referring to increase for the web socket >>> tests to all pass? >> >> Sorry, should have been clearer about that. >> >> In o.a.c.websocket.MessageInbound >> >> // 2MB - like maxPostSize >> private int byteBufferMaxSize = 2097152; >> private int charBufferMaxSize = 2097152; >> >> I normally multiple those by 16. The buffers need to be 16M plus a bit >> for the headers so I allow a large margin ;) >> > > I hope neither 2M or 16M will be allocated by default - that's the limit on > growth ?
Yes. Hence the "max" in the name which would be clear if you had looked at the code. > I'm curious, did you do any load test - and what's the max number of > websocket connections that can be kept alive with APR/NIO ? No, not yet. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org