Start top.Press "o" for "order".Type "res" for "resident memory" and ENTER.The process at the top is the one with the highest memory consumption.If it's a scripting language like PHP or Python, note the process ID (PID), exit top ("q"), type "ps awwux" and ENTER, look for the process - you should see the full command line, i.e. the name of the script and its parameters.
OTOH - why throw an alarm for 90% memory usage? Free memory is wasted memory. A long running system will always tend to use up all there is.
Start top.Press "o" for "order".Type "res" for "resident memory" and ENTER.The process at the top is the one with the highest memory consumption.If it's a scripting language like PHP or Python, note the process ID (PID), exit top ("q"), type "ps awwux" and ENTER, look for the process - you should see the full command line, i.e. the name of the script and its parameters.Thank you for the explanation.I will try it out next time.
I have now also tried kill -9 {PID}. The OPNsense first hung up and then rebooted automatically.
terminate the second process (kill -9 40515) and upgrade to 1.6.3. This changes the script to send a "stronger" signal to stop the process.
Hi,could you test this# fetch -o /usr/local/etc/rc.d/crowdsec https://github.com/crowdsecurity/plugins/releases/download/crowdsec-1.6.3-2-hotfix/crowdsecand try start/stop.Thanks
Quote from: mmetc on October 07, 2024, 03:34:24 pmHi,could you test this# fetch -o /usr/local/etc/rc.d/crowdsec https://github.com/crowdsecurity/plugins/releases/download/crowdsec-1.6.3-2-hotfix/crowdsecand try start/stop.ThanksDo I have to use an additional command to install the hotfix?I suspect that the update did not work. (Screenshots attached)
Quote from: anym001 on October 07, 2024, 04:21:13 pmQuote from: mmetc on October 07, 2024, 03:34:24 pmHi,could you test this# fetch -o /usr/local/etc/rc.d/crowdsec https://github.com/crowdsecurity/plugins/releases/download/crowdsec-1.6.3-2-hotfix/crowdsecand try start/stop.ThanksDo I have to use an additional command to install the hotfix?I suspect that the update did not work. (Screenshots attached)No it's ok. The fetch command overwrites a script without installing a new package version. Now if you click start/stop from the UI it should just work.
Quote from: mmetc on October 08, 2024, 09:13:08 amQuote from: anym001 on October 07, 2024, 04:21:13 pmQuote from: mmetc on October 07, 2024, 03:34:24 pmHi,could you test this# fetch -o /usr/local/etc/rc.d/crowdsec https://github.com/crowdsecurity/plugins/releases/download/crowdsec-1.6.3-2-hotfix/crowdsecand try start/stop.ThanksDo I have to use an additional command to install the hotfix?I suspect that the update did not work. (Screenshots attached)No it's ok. The fetch command overwrites a script without installing a new package version. Now if you click start/stop from the UI it should just work.Thank you for the information. I have noticed that the service can be stopped via the GUI. (Visible because service status is deactivated in the crowdsec overview)However, the service is displayed as active in the dashboard and in the overview of services.
Quote from: anym001 on October 08, 2024, 10:09:23 amQuote from: mmetc on October 08, 2024, 09:13:08 amQuote from: anym001 on October 07, 2024, 04:21:13 pmQuote from: mmetc on October 07, 2024, 03:34:24 pmHi,could you test this# fetch -o /usr/local/etc/rc.d/crowdsec https://github.com/crowdsecurity/plugins/releases/download/crowdsec-1.6.3-2-hotfix/crowdsecand try start/stop.ThanksDo I have to use an additional command to install the hotfix?I suspect that the update did not work. (Screenshots attached)No it's ok. The fetch command overwrites a script without installing a new package version. Now if you click start/stop from the UI it should just work.Thank you for the information. I have noticed that the service can be stopped via the GUI. (Visible because service status is deactivated in the crowdsec overview)However, the service is displayed as active in the dashboard and in the overview of services.You have orphan crowdsec processes and possibly notification plugins."killall crowdsec" and check if there are processes that go by the name "notification-*"
I have executed the command "killall crowdsec". 12834 of 13158 are processes by the name "notification-*".How can I stop these processes?
Why does this problem occur?