Dear Sensei users,Sensei 0.8.0 Release Candidate 1 is out. This marks the first step into releasing 0.8 and towards 1.0. There will be no 0.9 Change log is as follows:Per-process health monitoring. Sensei engine now checks heartbeats from its packet processors and taking the corrective action in case of trouble. We're running 0.7 to 0.8 upgrade tests. As soon as they show that we're good to go, 0.7 users will be reported of the new 0.8 update.Enjoy Sensei team
Just reinstalled OPNsense and the RC1 on APU2C4 with 2GB Swap - so far so good!
Great to hear that @JohnDoe17, thanks for letting us know. @donatom3 hi,Yes, it's also netmap related but a different issue. After many trials, I was able to reproduce your situation. Doing a ifconfig down/up seem to resolve the problem. After Sensei 1.0, we'll have another dive at netmap. It's a great tool, but certainly needs some industry help to get to a super stable state.
2019-05-29T18:28:37 ERROR: Watchdog: Worker [0] failed to send heartbeat for 6 seconds2019-05-29T18:28:37 ERROR: Watchdog: Killing Worker [0]2019-05-29T18:28:37 CRITICAL: Sending TERM signal to worker pid 980832019-05-29T18:28:38 CRITICAL: WaitWorkers: processing dead child: pid: 980832019-05-29T18:28:38 CRITICAL: WaitWorkers: Child worker0, [pid: 98083] terminated with signal: 112019-05-29T18:28:38 CRITICAL: WaitWorkers: Child worker0, [new pid: 60913] re-spawned
2019-05-29T18:28:38 INFO: Packet Processor [60913] started working2019-05-29T18:28:38 INFO: Packet Processor [60913] sleeping a while since we're respawned2019-05-29T18:28:50 INFO: Worker [pid:60913] Pinning to CPU #12019-05-29T18:28:50 INFO: Worker [60913] started working
...overlay on the page says it is waiting for the service to startup. After 10 or so minutes, nothing happens on the page but vmstat in a shell suggest it is back up. Refreshing the OPNsense page and then going to the Configuration page again shows Sensei is up and running. Not sure if it is the OPNsense framework or Sensei page that is not polling for refresh of content/data...
If this was your fix it did it's job very fast. I wouldn't have noticed it unless I was doing some realtime traffic
One question: I guess you have like 4 GB of memory. For how many devices are you running Sensei for?
@MB only 4 devices with normal web browsing
cat /usr/local/libexec/elasticsearch/config/jvm.options | grep "^\-Xm"ps awxu | grep elastic | grep -v grepps awxu | grep eastpect | grep -v grep
@patcsy88, what does the following tell?Code: [Select]cat /usr/local/libexec/elasticsearch/config/jvm.options | grep "^\-Xm"-Xms2g-Xmx2gps awxu | grep elastic | grep -v grepelasticsearch 4875 2.2 46.6 3878304 1927928 - I 08:22 74:00.13 /usr/local/openjdk8/bin/java -Xms2g -Xmx2g -XX:+UseConcMps awxu | grep eastpect | grep -v greproot 7417 0.5 4.5 3094852 185100 - S< 08:35 8:29.81 eastpect: Eastpect Instance 0 (eastpect)root 66470 0.0 0.0 1270428 0 - IW< - 0:00.00 eastpect: Eastpect Streamer Instance (eastpect)root 80093 0.0 2.2 1270428 92760 - S< 08:35 0:04.70 /usr/local/sensei//bin/eastpect -D
cat /usr/local/libexec/elasticsearch/config/jvm.options | grep "^\-Xm"-Xms2g-Xmx2gps awxu | grep elastic | grep -v grepelasticsearch 4875 2.2 46.6 3878304 1927928 - I 08:22 74:00.13 /usr/local/openjdk8/bin/java -Xms2g -Xmx2g -XX:+UseConcMps awxu | grep eastpect | grep -v greproot 7417 0.5 4.5 3094852 185100 - S< 08:35 8:29.81 eastpect: Eastpect Instance 0 (eastpect)root 66470 0.0 0.0 1270428 0 - IW< - 0:00.00 eastpect: Eastpect Streamer Instance (eastpect)root 80093 0.0 2.2 1270428 92760 - S< 08:35 0:04.70 /usr/local/sensei//bin/eastpect -D
Code: [Select]cat /usr/local/libexec/elasticsearch/config/jvm.options | grep "^\-Xm"-Xms2g-Xmx2g
cat /usr/local/libexec/elasticsearch/config/jvm.options | grep "^\-Xm"-Xms2g-Xmx2g
-Xms512m-Xmx512m
For fresh installs we adjust this setting. Any chances you had a prior Sensei installation in this device?