OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: sorano on June 29, 2021, 11:45:55 am
-
Saw this error when I logged into OPNsense today:
[28-Jun-2021 22:47:18 Europe/Stockholm] PHP Warning: unlink(/tmp/mongodb_dahsboard60da35511c350.json): No such file or directory in /usr/local/opnsense/mvc/app/controllers/OPNsense/Sensei/Api/WidgetController.php on line 97
[28-Jun-2021 22:47:18 Europe/Stockholm] PHP Warning: unlink(/tmp/mongodb_dahsboard60da35511c350_result.json): No such file or directory in /usr/local/opnsense/mvc/app/controllers/OPNsense/Sensei/Api/WidgetController.php on line 98
If you look at the filename it's looking for a file called dahsboard.
-
Hi,
What about the reports and widget? All works or?
-
Well, the mongodb service had stopped again for some unknown reason.
Just starting the service normally (without erasing reporting data) got it up and running.
However I seem to get alot of mongodb stops for no apparent reason, the fw is up and running all other services works fine but mongodb keeps taking a dump from time to time.
Edit:
Looking at this further I found the following:
root@fw01:/var/log # grep -i mongod dmesg.*
dmesg.today:pid 20481 (mongod), jid 0, uid 922, was killed: out of swap space
dmesg.yesterday:pid 20481 (mongod), jid 0, uid 922, was killed: out of swap space
So out of memory seems like a solid guess, just weird that no other services was affected. I have 8GB RAM and 2 days retention for Sensei.
Looks like Suricata is using alot of RAM though.