المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : فايروول السي بانل Whm / Cpanel CSF Firewall مشكلة excessive resource usage alert



Rise Company
03-12-2018, 22:23
حل مشكلة Lfd/CSF وظهور excessive resource usage alert نهائيا 100 %
LFD Excessive Resource Usage - Normal for PHP-FPM?
How to disable LFD excessive resource usage alert?
How to disable Lfd/CSF excessive resource usage alert without disabling any option
Getting tons of Excessive resource usage emails | ...

https://www.rise.company/upload/uploads/158610664966561.jpg

الحل الاول :

المشكلة هى وصول ايميلات تنبيه لديك بان CSF يستهلك الرام المخصص لك وهو غير كافى و تعدى المسموح

ولكن يجب العلم ان هذه الرسالة قد تظهر نتيجة تفعيل PHP-FPM والتى تقوم بعمل Pool

وبالتالى قد يكون كافى فالحل اما تكبير Pool او الغاء خاصية PHP-FPM

لكى تتمتع بكامل موارد السيرفر دون تحديد و بالتالى لن تظهر لك مشكلة

تم التجربة و هو حل سليم يعمل 100 %

الحال الاخر :

هو وقف التنبيهات فى CSF من خلال احدى الطرق التالية

https://www.youtube.com/watch?v=LHky5xzZQtQ&feature=youtu.be

Method 1

This method will permanently disable the LFD excessive resource usage alert. Performing this method will pose a security issue.
1) Login to your WHM
2) Open the CSF Firewall configuration
3) Modify the value of directives PT_USERMEM and PT_USERTIME to 0.

PT_USERMEM = 0

PT_USERTIME = 0

4) Save the settings.
Method 2

In this method, we will increase the values of both memory and time to disable the LFD alerts. This method is a temporary one. If any process/service uses more resources than defined, you will continue to receive the LFD alerts.
1) Login to your WHM
2) Open the CSF Firewall configuration
3) Modify the value of directives PT_USERMEM and PT_USERTIME to desired.


PT_USERMEM = 500

PT_USERTIME = 150000

4) Save the settings
Method 3

This method is a standard technique to disable the LFD alerts. In this method, we will include the particular process/service in pignore of CSF. The pignore of CSF will ignore the particular process/service included in it and hence disables the LFD alerts.
1) Login to your server as root user.
2) Using your favorite editor open pignore of CSF. The common location of pignore is /etc/csf/csf.pignore.
3) Add the command line path specified in the alert to the pignore of CSF.
4) Save changes.


المرجع:
https://forums.cpanel.net/threads/lfd-excessive-resource-usage-normal-for-php-fpm.592583/
https://www.interserver.net/tips/kb/disable-lfd-excessive-resource-usage-alert/