Closed alireza-salehi closed 4 years ago
This is not CyberPanel related.
Agree its not Cyberpanel problem per say. It is however due to the high memory requirements when installing and activating the optional mailscanner service. @alireza-salehi if your having performance issues please uninstall the mailscanner service.
This is the mailscanner process in case anyone else comes across it. If you are installing and activating mailscanner in a very low ram vps then this is bound to happen as the helper processes for the scanner are running near constantly. I found this out when testing the other day.
@usmannasir I did mention this in my pull request that we should have a disclaimer or warning when people try to install this in a not suitable environment with less than 4GB of ram https://github.com/usmannasir/cyberpanel/pull/401
I believe this is a selinux issue. Yes, it can be related to mailscanner but only if selinux is enabled
Agree its not Cyberpanel problem per say. It is however due to the high memory requirements when installing and activating the optional mailscanner service. @alireza-salehi if your having performance issues please uninstall the mailscanner service.
This is the mailscanner process in case anyone else comes across it. If you are installing and activating mailscanner in a very low ram vps then this is bound to happen as the helper processes for the scanner are running near constantly. I found this out when testing the other day.
@usmannasir I did mention this in my pull request that we should have a disclaimer or warning when people try to install this in a not suitable environment with less than 4GB of ram
401
MailScanner is not installed
Check your SELINUX status
On Thu, Aug 13, 2020 at 10:34 AM Alireza Salehi notifications@github.com wrote:
Agree its not Cyberpanel problem per say. It is however due to the high memory requirements when installing and activating the optional mailscanner service. @alireza-salehi https://github.com/alireza-salehi if your having performance issues please uninstall the mailscanner service.
This is the mailscanner process in case anyone else comes across it. If you are installing and activating mailscanner in a very low ram vps then this is bound to happen as the helper processes for the scanner are running near constantly. I found this out when testing the other day.
@usmannasir https://github.com/usmannasir I did mention this in my pull request that we should have a disclaimer or warning when people try to install this in a not suitable environment with less than 4GB of ram
401 https://github.com/usmannasir/cyberpanel/pull/401
MailScanner is not installed
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/usmannasir/cyberpanel/issues/410#issuecomment-673373083, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSAQJSNGPRI4X5QPD3L5IDSAOXRVANCNFSM4P4E7JWA .
Check your SELINUX status … On Thu, Aug 13, 2020 at 10:34 AM Alireza Salehi @.***> wrote: Agree its not Cyberpanel problem per say. It is however due to the high memory requirements when installing and activating the optional mailscanner service. @alireza-salehi https://github.com/alireza-salehi if your having performance issues please uninstall the mailscanner service. This is the mailscanner process in case anyone else comes across it. If you are installing and activating mailscanner in a very low ram vps then this is bound to happen as the helper processes for the scanner are running near constantly. I found this out when testing the other day. @usmannasir https://github.com/usmannasir I did mention this in my pull request that we should have a disclaimer or warning when people try to install this in a not suitable environment with less than 4GB of ram #401 <#401> MailScanner is not installed — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#410 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSAQJSNGPRI4X5QPD3L5IDSAOXRVANCNFSM4P4E7JWA .
i have checked, selinux audit log:
sudo tail -f /var/log/audit/audit.log
every second there is :
type=SERVICE_STOP msg=audit(1597561198.963:1139669): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=pdns comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=SERVICE_START msg=audit(1597561199.061:1139670): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=pdns comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'UID="root" AUID="unset"
this is the cyberpanel default installation, and centos 8 minimal installation with no modifications.
Cyberpanel CPU loads at 100% after installing mailscanner
there is always high cpu usage on setroubleshootd
Centos 8 / Cyberpanel 2.0.2 default installation