Good afternoon. For a few days on the server appears a strange problem crash all the sites completely and saves only init 6. in htop the CPU usage drops to almost 0. iotop also shows almost zero. iftop is similar.
in the Apache logs, nothing. in the logs of nginx:
In 229892 nginx upstream timed out (110: Connection timed out) while connecting to upstream, client
Everything works in conjunction with apache + nginx.
Restart Apache and nginx does not help. after restart only 1-2 seconds to open a page, but then again, everything hangs.
System - Ubuntu 16.04 .
nginx version: nginx/1.12.2
A couple of days ago was got some kind of virus miner, Minero. was launched from the /tmp directory and loaded percents on 100%. don't know this is related to this or not, but the virus I had only seen twice. as sites fall off every 5 hours.
where the virus is started - is not found.