Internal documentation only
This page has been marked as draft.
Webdashboard loosing/cycling connection with Gateway servers
The issue is related to the network connection between the web dashboard and the gateways that need to connect to collect the information.
Check if you are running out of threads for the use use the command ulimit -a in your system and determine if the current value is a bit low.
Example Output:
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 63374
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
We can see that the soft limit on the number of open files and max user processes is too low if you have multiple gateways and dashboard. One of the solutions to this problem is to increase the value of open files and max user processes.
After you increase them to a higher value or unlimited you will need to restart the processes running for the user so they can pick up the new changes.