Wednesday, November 12, 2014

csf Memory Limiter

Problem :
-----Original Message-----
From: root@server.kobirwebhosting.com
[mailto:root@server.kobirwebhosting.com]
Sent: Tuesday, November 11, 2014 10:24 PM
To: root@server.kobirwebhosting.com
Subject: lfd on server.kobirwebhosting.com: Excessive resource usage:
kobir (26558 (Parent PID:26544))
Time: Tue Nov 11 22:24:24 2014 -0500
Account: kobir
Resource: Virtual Memory Size
Exceeded: 330 > 200 (MB)
Executable: /usr/bin/php
Command Line: /usr/bin/php /home/kobir/public_html/index.php
PID: 26558 (Parent PID:26544)
Killed: No
Hosting এর এই সব মেসেজ বন্ধ করার উপায় কি ? কারন আমি চাচ্ছি শুধু যেসব Account theke excessive ইমেইল যাবে শুধু তাদের warning message jante .
এক কথায়, আমি কিভাবে warning messages manage korte parbo .

Solution:

CSF সেটিংয়ে Memory বাড়াইয়া দেন। এই মেমরি usages সমস্যা না।

এবং csf.pignore এ

exe:/usr/bin/freshclam
exe:/usr/sbin/clamd
exe:/usr/bin/spamd
cmd:spamd child

এগুলো exclude করে দেন।


********************************************

Do you have CSF/LFD installed on your system ? If yes you can disable the notifications from the process section.

You can also remove the Apache memory & CPU limiters by commenting the following entries from the httpd.conf file :


RLimitMEM
RLimitCPU
**************************************************
Modify Apache Memory Usage under the Security section of WHM left menu. Might want to click that link and have it set for you.
****************************************
Just add:

exe:/usr/local/cpanel/cpanel

to /etc/csf/csf.pignore and then restart lfd:

service lfd restart

Or increase the memory limit in csf.conf 


No comments:

Post a Comment