kdevtmpfsi using the entire CPU
The solution mentioned here worked for us. You basically create the files the miner uses, without any rights, so the miner cannot create and use them.
https://github.com/docker-library/redis/issues/217
touch /tmp/kdevtmpfsi && touch /var/tmp/kinsing
echo "everything is good here" > /tmp/kdevtmpfsi
echo "everything is good here" > /var/tmp/kinsing
touch /tmp/zzz
echo "everything is good here" > /tmp/zzz
chmod go-rwx /var/tmp
chmod 1777 /tmp
How to to trace malware orignation on ubuntu server and stop it
We also faced with this issue, please update first your GitLab to one of the versions:
13.10.3
13.9.6
13.8.8
After that clean crontab connected with git
user and remove all the files owned by git
user located in /tmp
folder.
Now you can restart the server and it should be fine :)
Redis using 100% CPU after 6 hours of uptime
The process that is using all your resources is /tmp/kdevtmpfsi. A quick google search showed that it's mining malware. This means that not Redis nor your program has some kind of error. This comment on Github explains how to get rid of it.
Related Topics
Compiling C++ on Remote Linux Machine - "Clock Skew Detected" Warning
How to Run a Script At a Certain Time on Linux
Using the Passwd Command from Within a Shell Script
How Is the System Call in Linux Implemented
Rename Files and Directories Recursively Under Ubuntu /Bash
Fast Concatenation of Multiple Gzip Files
Take Nth Column in a Text File
Bash Prompt With the Last Exit Code
How to Get File Creation Date/Time in Bash/Debian
Disable Randomization of Memory Addresses
How to Randomize the Lines in a File Using Standard Tools on Red Hat Linux
Core Dump File Is Not Generated
How to Get Gcc to Output Raw Binary
How to Manage Perl Modules When Using a Package Manager
Round a Divided Number in Bash
How to Write Data to Existing Process'S Stdin from External Process