pasargad

Member
May 29, 2009
22
1
53
UAE
cPanel Access Level
Root Administrator
Hi All
I'm using CentOS 7.9, cXs, LiteSpeed, CSF and Cloudlinux on my server.
But recently I have a problem with Cloud Linux.
Some website have problem and receive some mail from LFD!

Code:
Time:         Mon Nov  8 11:00:31 2021 +0330
Account:      username1
Resource:     Process Time
Exceeded:     50712 > 1800 (seconds)
Executable:   /opt/alt/php74/usr/bin/newrelic-daemon
Command Line: /opt/alt/php74/usr/bin/newrelic-daemon --agent --logfile /var/log/alt-php74-newrelic/newrelic-daemon.log --port /tmp/.newrelic.sock --wait-for-port 0s --define utilization.detect_aws=true --define utilization.detect_azure=true --define utilization.detect_gcp=true --define utilization.detect_pcf=true --define utilization.detect_docker=true
PID:          1840440 (Parent PID:1840440)
Killed:       No
What's the problem?

thank you
 

ankeshanand

Well-Known Member
Mar 29, 2021
203
61
103
India
cPanel Access Level
Root Administrator
It's just LFD excessive resource usage alert when a cPanel uses more than allotted resources. You can disable it from CSF by modifying directives PT_USERMEM and PT_USERTIME to 0 or increasing them as you assigned to all users.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,649
323
438
Finland
cPanel Access Level
Root Administrator
... You can disable it from CSF by modifying directives PT_USERMEM and PT_USERTIME to 0 or increasing them as you assigned to all users.
I would not suggest doing either of those (setting to 0),
If it's normal that that kind of process is running long time it's better to add it to /etc/csf/csf.pignore
 
  • Like
Reactions: cPanelAnthony

ankeshanand

Well-Known Member
Mar 29, 2021
203
61
103
India
cPanel Access Level
Root Administrator
I would not suggest doing either of those (setting to 0),
If it's normal that that kind of process is running long time it's better to add it to /etc/csf/csf.pignore
You didn't saw correctly! He has CloudLinux already installed on Monitoring and Limiting Resource usage, then why does he need to ignore it in CSF at all! The thing is like in Cloudlinux its set to 1024 and in LDF, its set to 100, so LFD will send a mail everytime when 100 exceeds whereas he has already kept some other limit onto it. Also, if Processes exceeds Resource Limits, CloudLinux has inbuilt feature of sending Resource Usage mails which can be enabled for both Admin and End users
 
  • Like
Reactions: cPanelAnthony

quietFinn

Well-Known Member
Feb 4, 2006
1,649
323
438
Finland
cPanel Access Level
Root Administrator
Good point. But I am one of those who wear both a belt and straps :rolleyes:
 

pasargad

Member
May 29, 2009
22
1
53
UAE
cPanel Access Level
Root Administrator
It's just LFD excessive resource usage alert when a cPanel uses more than allotted resources. You can disable it from CSF by modifying directives PT_USERMEM and PT_USERTIME to 0 or increasing them as you assigned to all users.
Thank you but I don't want disable it!!!!!!
PT_USERMEM = 1024
PT_USERTIME = 64000
 
Last edited:

pasargad

Member
May 29, 2009
22
1
53
UAE
cPanel Access Level
Root Administrator
You didn't saw correctly! He has CloudLinux already installed on Monitoring and Limiting Resource usage, then why does he need to ignore it in CSF at all! The thing is like in Cloudlinux its set to 1024 and in LDF, its set to 100, so LFD will send a mail everytime when 100 exceeds whereas he has already kept some other limit onto it. Also, if Processes exceeds Resource Limits, CloudLinux has inbuilt feature of sending Resource Usage mails which can be enabled for both Admin and End users
This has just happened and such an email is being sent!
I have not received such an email for about 1 year.
Ever since I executed "Yum Update Kernel" order in Centos it come to my mail!