Problem on CloudLinux
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!
What's the problem? thank you
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
-
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. 0 -
... 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.pignore0 -
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 users0 -
Good point. But I am one of those who wear both a belt and straps :rolleyes: 0 -
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 = 640000 -
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!0 -
Instead of ignoring or suppressing it, how about looking at what the process actually is? Here is some doc on the newrelic-daemon: New Relic daemon processes If that's really what it is, do you want that running on your server? 0
Please sign in to leave a comment.
Comments
7 comments