[jitsi-users] Help with nginx setup questions and HeapDumpOutOfMemoryError process seen running in htop

Hi

I recently setup a jitsi meet server on digital ocean droplet. Everything
is fine I have held a 4 way video / audio conference successfully but have
a few questions for changing the setup of nginx. I'm not sure if this is
the right place to ask. Just for some background I'm using:

Ubuntu 1404 on the Digital ocean $5 droplet ie 1 cpu 512 Ram and used the
quick install through apt-get to setup jitsi meet. I have also setup and
configured ufw (allow 10000-20000/udp, 80 443 incomming ) and fail2ban as
per DO guides/ recommendations.

Nginx config:
I would like to configure nginx to show a different page when going to the
server. This page would have a sign in with google / openid verification
and only proceed to the jitsi-meet page once the user is verified against a
database of users.

Is it as simple as changing the root location in the conf file
/nginx/sites-enabled/servername.conf to point at the new location of lets
say login.php (not including any external stuff google/openid stuff)?

Are there any other nginx settings or considerations that I need to
make/change to accomplish this?

Htop process HeapDumpOutOfMemoryError

Htop reports a lots of "java -Xmx3072m -XX:-HeapDumpOutOfMemoryError
-Djava.library.path=" lots of differents paths.

Is this normal behavior in a jitsi meet setup or is this a proper error due
to the limited hardware of the droplet or a setting that need to be changed
or perhaps because there is no swap on the droplet. I know this is the java
vm running out of memory from what I can tell if I understand correctly but
is there a fix or can it be ignored ?

Any help would be greatly appreciated.

Cheers

Christian

Hi,

···

On Wed, Sep 23, 2015 at 12:11 AM, Christian O'Callaghan <thedukereturns@gmail.com> wrote:

Htop process HeapDumpOutOfMemoryError

Htop reports a lots of "java -Xmx3072m -XX:-HeapDumpOutOfMemoryError
-Djava.library.path=" lots of differents paths.

Is this normal behavior in a jitsi meet setup or is this a proper error due
to the limited hardware of the droplet or a setting that need to be changed
or perhaps because there is no swap on the droplet. I know this is the java
vm running out of memory from what I can tell if I understand correctly but
is there a fix or can it be ignored ?

This is just the processes(and its threads) of jicofo and jvb, and
these are instructions to the jvm to make a memory heap dump, in cause
of out of memory error. It is not an actual error, so you can ignore
this.

Regards
damencho

As Damencho said, this is normal, but you may want to limit the memory for videobridge's jvm by setting VIDEOBRIDGE_MAX_MEMORY in /etc/jitsi/videobridge/config.

Regards,
Boris

···

On 23/09/15 00:11, Christian O'Callaghan wrote:

Hi

I recently setup a jitsi meet server on digital ocean droplet.
Everything is fine I have held a 4 way video / audio conference
successfully but have a few questions for changing the setup of nginx.
I'm not sure if this is the right place to ask. Just for some background
I'm using:

Ubuntu 1404 on the Digital ocean $5 droplet ie 1 cpu 512 Ram and used
the quick install through apt-get to setup jitsi meet. I have also setup
and configured ufw (allow 10000-20000/udp, 80 443 incomming ) and
fail2ban as per DO guides/ recommendations.

Nginx config:
I would like to configure nginx to show a different page when going to
the server. This page would have a sign in with google / openid
verification and only proceed to the jitsi-meet page once the user is
verified against a database of users.

Is it as simple as changing the root location in the conf file
  /nginx/sites-enabled/servername.conf to point at the new location of
lets say login.php (not including any external stuff google/openid stuff)?

Are there any other nginx settings or considerations that I need to
  make/change to accomplish this?

Htop process HeapDumpOutOfMemoryError

Htop reports a lots of "java -Xmx3072m -XX:-HeapDumpOutOfMemoryError
-Djava.library.path=" lots of differents paths.

Is this normal behavior in a jitsi meet setup or is this a proper error
due to the limited hardware of the droplet or a setting that need to be
changed or perhaps because there is no swap on the droplet. I know this
is the java vm running out of memory from what I can tell if I
understand correctly but is there a fix or can it be ignored ?