Excessive resource usage: memcached
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.
-
Memcached runs all the time you need to set your csf firewall to ignore add exe:/usr/sbin/memcached to your csf pignore 0 -
Thanks Dalem. Shall do. 0 -
Hi Dalem. Where exactly is the pignore function in csf? Thanks for help. 0 -
Edit lfd ignore file in the GUI /etc/csf/csf.pignore via CLI 0 -
Thanks for the response on this @dalem! @Clixer please let us know if you have any other issues with this. 0 -
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. 0 -
did you restart LFD 0 -
Yes, I did. 0 -
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 0 -
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. 0
Please sign in to leave a comment.
Comments
10 comments