I have an Ubuntu system running an apache server. I have found a process
cache.sh which I think might be a crypto-mining process and which is running all the time on my server consuming up to 98% CPU. This is causing other stuff to stop working like MySQL and apache.
I used the
top command to find out that
cache.sh is consuming all the CPU.
I have tried killing the process but it starts running again after some time.
I then learned that I could pause the process instead of killing it and that works quite well but I still want to find out what it is and get rid of it permanently. After restarting the whole server this process starts automatically.
cache.sh is running under www-data user, which is also responsible for handling the apache process which runs under the same user.
What could I do to find the origin of this process and to resolve this issue?