Re: Fwd: websocket connections consume too much memory

2019-02-25 Thread Maxim Solodovnik
Hello All, Maybe this behavior is caused by the fact defaultMaxSessionIdleTimeout is not set for websockets? Can be updated as follows final WsServerContainer sc = (WsServerContainer)getServletContext().getAttribute(SERVER_CONTAINER_SERVLET_CONTEXT_ATTRIBUTE); if (sc != null) {

Re: Fwd: websocket connections consume too much memory

2019-02-25 Thread Иналь Кятов
I retest with *8.5.38* ... org.apache.tomcat.embed tomcat-embed-websocket ${tomcat-embedded.version} org.apache.tomcat.embed tomcat-embed-core ${tomcat-embedded.version} org.apache.tomcat.embed tomcat-embed-el ${tomcat-embedded.version}

Re: Parallel Tomcat Instances On Same Server

2019-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 2/23/19 10:52, Jerry Malcolm wrote: > Good point. This is a tactical solution only. Ultimately moving > to AWS. But for now, I'm not as worried about actual failures as I > am about the need to continue to do dev and test with new