Can you share the logs? On Tue, 2 Jun 2020 at 20:36, Nelson Gomez <[email protected]> wrote:
> Hello Maxin, I hope you are very well. > > Maxin, *I'm using OM Last Version OM5.0.0-M5 on ubuntu 18.04 LTS on VP*S. > When I upload file to whiteboard, a file with size 1mb, its do crash. > I try refresh my webpage but This site can’t be reached. *In some cases > the cpu reach to 100% and the files size max is 2mb* > [image: image.png] > I modified "TasksMax=infinity" but the problems continues. Do you can > give me some ideas? > > Regards, > Nelson > [image: Mailtrack] > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> > Sender > notified by > Mailtrack > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> > 02/06/20 > 08:33:00 > > El mar., 2 jun. 2020 a las 0:59, kaffeesurrogat (<[email protected]>) > escribió: > >> Thanks Maxim for your work and patience >> >> On 02/06/2020 03:39, Maxim Solodovnik wrote: >> > Thanks for report! >> > >> > I have added "TasksMax=infinity" to the default openmeetings.service >> > (any number might be exhausted if more users will enter) >> > >> > On Sun, 31 May 2020 at 21:21, kaffeesurrogat <[email protected] >> > <mailto:[email protected]>> wrote: >> > >> > Hello Everybody, >> > >> > i found some time to fiddle around with openmeetings. Did a fresh >> > install of OM5.0.0-M5 Snapshot revision c5c0381 on ubuntu 18.04 >> > LTS on VPS. >> > >> > In the beginning users lost their connections to the server and had >> to >> > relogin. I used >> > >> > watch -n 1 systemctl status openmeetings >> > >> > to check the number of threads openmeetings is using. The upper >> limit >> > was set to 165 which was quickly reached by turning the cam or mic >> on >> > and off. >> > >> > I've modified the file openmeetings.service from Maxim which i >> > copied to >> > /etc/systemd/system/openmeetings.service to start openmeetings .... >> > >> > The file looks like this right now: >> > >> > >> >> --------------------------------------------------------------------------------- >> > >> > ############################################## >> > # Licensed under the Apache License, Version 2.0 (the "License"); >> > # you may not use this file except in compliance with the License. >> > # You may obtain a copy of the License at >> > # >> > # http://www.apache.org/licenses/LICENSE-2.0 >> > # >> > # Unless required by applicable law or agreed to in writing, >> software >> > # distributed under the License is distributed on an "AS IS" BASIS, >> > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or >> > implied. >> > # See the License for the specific language governing permissions >> and >> > # limitations under the License. >> > ############################################## >> > >> > # /etc/systemd/system/openmeetings.service >> > # sudo systemctl daemon-reload >> > # sudo systemctl restart openmeetings >> > >> > [Unit] >> > Description=Apache OpenMeetings server >> > After=network.target >> > >> > [Service] >> > Type=forking >> > >> > Environment=JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 >> > Environment=CATALINA_PID=/var/run/openmeetings.pid >> > WorkingDirectory=/opt/open505 >> > Environment=CATALINA_HOME=/opt/open505 >> > Environment=CATALINA_BASE=/opt/open505 >> > Environment='CATALINA_OPTS=-Xms1G -Xmx15G -server >> -XX:+UseParallelGC' >> > Environment='JAVA_OPTS=-Djava.awt.headless=true >> > -Djava.security.egd=file:/dev/./urandom' >> > >> > ExecStart=/opt/open505/bin/startup.sh >> > ExecStop=/opt/open505/bin/shutdown.sh >> > >> > User=kurento >> > Group=nogroup >> > UMask=0007 >> > RestartSec=10 >> > Restart=always >> > >> > TasksMax=500 >> > >> > [Install] >> > WantedBy=multi-user.target >> > >> > >> >> --------------------------------------------------------------------------------- >> > >> > I've added the line TasksMax=500. Using >> > >> > watch -n 1 systemctl status openmeetings >> > >> > again, I could see, that the number of tasks mounts up to 200 >> > until it >> > lowers to something like >> > 100 again ... >> > >> > Did help, connections now stable ... >> > >> > >> > catalina.out: >> > >> > ERROR 05-30 21:48:34.407 o.a.o.c.u.WebSocketHelper:77 [Thread-1666] >> - >> > Error while sending message to client >> > java.lang.OutOfMemoryError: unable to create native thread: >> > possibly out >> > of memory or process/resource limits reached >> > >> > ERROR 05-30 21:59:10.135 o.a.o.c.u.WebSocketHelper:64 [Thread-1213] >> - >> > Error while sending binary message to client >> > java.io.IOException: java.io.EOFException >> > >> > 354,835s][warning][os,thread] Failed to start thread - >> pthread_create >> > failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, >> > detached. >> > [354,836s][warning][os,thread] Failed to start thread - >> pthread_create >> > failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, >> > detached. >> > >> > >> > 30-May-2020 22:12:08.880 SCHWERWIEGEND [https-jsse-nio-5443-exec-3] >> > org.apache.coyote.AbstractProtocol$ConnectionHandler.process >> > Verarbeitung der Anfrage fehlgeschlagen >> > java.lang.OutOfMemoryError: unable to create native thread: >> > possibly out of memory or process/resource limits reached >> > >> > Have fun and a happy weekend, >> > >> > Kaffeesurrogat >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > -- >> > Best regards, >> > Maxim >> >> > > -- > A la espera de su valiosa respuesta, se despide, > > > Nelson Gomez > Gerente General > Develop & Design C.A > +58 414-6096796 > http://www.develop-design.com.ve > -- Best regards, Maxim
