Here https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L32
you can see 2 options: -Xms1G -Xmx4G -Xms1G sets initially allocated memory (1GB in this case) -Xmx4G sets maximum amount of memory this java process can use so if you have something like -Xms8G -Xmx8G in your startup script this might lead to the case there all system memory will be taken On Mon, 5 Oct 2020 at 13:32, Denis Noctor <[email protected]> wrote: > Hi there. I needed to make a clean install (OM 5 M4) before recording all > changes and so on... but agree this might be a java process issue. Will set > up another clean AWS instance setup with 5.0.1 most recent snapshot > tomorrow, compare with current installation and report back tomorrow. Apart > from Tomcat4... the only major installations changes I have noticed (not > including improved UI and Android / IOS) improvements / is the > MySQL-connector-Java 8.0.19 to 8.0.20 and “chown -R nobody:nogroup > /opt/open501”... I haven’t used “nogroup” in previous installations / > upgrades. Hope this makes sense. None of my current users use Mac / Safari > etc. Talk soon. All the best, Denis. > > Sent from my iPhone > > On Oct 5, 2020, at 12:45 AM, Ali Alhaidary <[email protected]> > wrote: > > attached an updated (by me) copy of tomcat4, however, memory is not > consumed if OM started after a reboot (2G max for 3 classes, 5 students > each, audio only), but if multiple stop and start is done, all memory is > consumed. > On 10/5/20 3:27 AM, Maxim Solodovnik wrote: > > 98% of RAM might be an issue > was the memory consumed by java process? > What are the `-Xmx` and `-Xms` parameters for OM? > > On Mon, 5 Oct 2020 at 01:29, Denis Noctor <[email protected]> wrote: > >> I experienced this after upgrading to a 5.0.1 snapshot and was about to >> follow up a response to Maxim. Not at a computer at the moment but I >> experienced exactly the same. I am using Ubuntu 18.04 on AWS with 8 gigs >> ram. When SSH’ing to my server (with only one user logged in (me) I noticed >> RAM usage was 98%... >> >> I downgraded to OM 5 M4 and everything is fine again (but lack the >> advantages of the snapshot upgrade)... RAM usage dropped a lot also... a >> lot! >> >> Will take some time to compare tomcat3 and tomcat4 on startup, folder >> permissions and differences between OM 5 M4 and recent snapshot. >> >> All the best, >> >> Denis. >> >> Sent from my iPhone >> >> > On Oct 4, 2020, at 9:18 AM, Ali Alhaidary <[email protected]> >> wrote: >> > >> > the following scenario is almost always happening: >> > >> > 1. the user enters the room >> > >> > 2. connection is not established (fails). >> > >> > 3. the user turns his mic off. >> > >> > 4. wait for few seconds. >> > >> > 5 the user turns his mic on. >> > >> > 6. connection to media server is established and keeps on even if the >> session went for hours. >> > >> > Looking at log files, I could not locate any ERROR or java exception or >> WAR that I assume is related to this case. >> > >> > Any idea of what is happening? >> > >> > > > -- > Best regards, > Maxim > > <tomcat4> > > -- Best regards, Maxim
