I would recommend:

1) drop tomcat3 script from the system
1.1) remove it from autostart
2) run `sudo killall java`
3) use this script
https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service
(bundled with OM)
   as described here
https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L15
   correct paths lines 28-30, 34, 35
   modify line 31 set `-Xmx=8G` (this should be enough)

I guess that's it

On Sun, 26 Apr 2020 at 03:33, kaffeesurrogat <[email protected]> wrote:
>
> in my cataline.out file i've found a few lines stating
>
> "java.lang.OutOfMemoryError: unable to create native thread: possibly
> out of memory or process/resource limits reached"
>
> "59 c.h.s.i.e.ExecutionService:69 [heduled.thread-] -
> [81.169.223.177]:5701 [dev] [4.0] Failed to execute
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@71bc43b8[Completed
> exceptionally: java.lang.OutOfMemoryError: unable to create native
> thread: possibly out of memory or process/resource limits reached]"
>
>
> i've although found that there is a limit(?) of pthreads for the kms ....
>
> sudo cat
> /sys/fs/cgroup/pids/system.slice/kurento-media-server.service/pids.max
>
> returns 165
>
>
> could this be related ...
>
> The catalina output file is attached to my previous email .....
>
> now i guess it is time to go to bed ;-)
>
> Have a good rest,
>
> kaffeesurrogat
>
>
> On 25/04/2020 21:00, Alvaro wrote:
> > ...be attention if "tomcat3" script appoint to
> > open503 or open504:
> >
> > CATALINA_HOME=/opt/open503 or 504
> >
> >
> >
> > .................
> >
> >
> > El sáb, 25-04-2020 a las 20:25 +0200, kaffeesurrogat escribió:
> >> Dear Everybody,
> >>
> >> my Openmeetings instance is up an running  on a Virtual Machine from
> >> strato. It has about 32GB of ram, 8 vCores and last but not least 800GB
> >> of ssd driven space.
> >>
> >> But I do have a lot of problems, they are popping up quite fast so its
> >> hard to keep track.
> >>
> >>
> >> 1) My tomcat3 crashed once. Restarting was refused because jdk didn't
> >> have enough memory. I've killed a couple of java processes, to be able
> >> to restart kms and tomcat3. I thought about adding a swapfile, but i'm
> >> not allowed to do a swapon, not enough rights i guess. I do have root
> >> access though. Strange.
> >>
> >>
> >> 2) kms likes to crash quite often too.
> >>
> >>
> >> 3) Right now I have "two" users logged in. Since the connection is quite
> >> unstable, i've reloaded the page several times (address ending is
> >> htpps://..../#rom/13). That got the user back in.
> >>    The last one who was kicked out by a failing connection was
> >> unfortunately the admin user. Admin can't get into the room anymore
> >> cause the group is full. I have two users left in the group and the user
> >> panel shows six users, several of them with the same user name. Thats
> >> weird ;-)
> >>
> >> 4) I don't know what is going on ;-)
> >>
> >> 5) I do not have coturn, turn, stun .... i've got myself a domain and an
> >> ip ...
> >>
> >> I did install OM 5.0.3 on my laptop for testing purposes and i was
> >> thrilled, cause openmeetings is doing exactly what I want to do my
> >> teaching online. I did not have any problems like this ...
> >>
> >> Unfortunately I can't give u the error messages. They popped up, and
> >> vanished shortly after.
> >>
> >>
> >> Mmmmm, well have a nice evening,
> >>
> >>
> >> kaffeessurrogat
> >>
> >>
> >>
>


-- 
Best regards,
Maxim

Reply via email to