Clixer

Active Member
Feb 24, 2018
41
2
8
Australia
cPanel Access Level
Root Administrator
Hello,

Need help in resolving this issue.

Just setup a new VPS with 5 cpus and 5GB of RAM running PHP 7.1 and php-fpm and MySQL 5.6.39. We have been receiving an hourly email notification from the server about excessive resource usage of memcached. Following is the email we receive:

Subject: lfd on server.domain.com: Excessive resource usage: memcached (1181 (Parent PID:1181))

Body:

Time: Mon May 14 20:01:41 2018 +1000
Account: memcached
Resource: Process Time
Exceeded: 295608 > 1800 (seconds)
Executable: /usr/bin/memcached
Command Line: /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024 -l 127.0.0.1 -U 0
PID: 1181 (Parent PID:1181)
Killed: No

Could someone please advise if memcached server and client is configured correctly?

Thanks for help.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
Memcached runs all the time you need to set your csf firewall to ignore
add
exe:/usr/sbin/memcached
to your csf pignore
 

Clixer

Active Member
Feb 24, 2018
41
2
8
Australia
cPanel Access Level
Root Administrator
Hello @dalem.

I have entered the proposed code "exe:/usr/sbin/memcached" into the csf.pignore file but I am still receiving the email notifications form lfd.

Any ideas what I should do next?

Thanks.
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
479
113
UK
cPanel Access Level
Root Administrator
In your first post, the executable was shown as being /usr/bin/memcached

Are you sure you added exe:/usr/bin/memcached into the pignore file, or did you add exe:/usr/sbin/memcached ?

You could try editing this in pignore, save and restart LFD, and see what happens
 

Clixer

Active Member
Feb 24, 2018
41
2
8
Australia
cPanel Access Level
Root Administrator
Hello @rpvw.

You are correct. I initially add exe:/usr/sbin/memcached which was still causing lfd to trigger. I have now changed to exe:/usr/bin/memcached. Email notices from lfd is now stooped.

Many thanks for your help.