My nginx is stopping by itself, several times a day!

Hello guys. I am in a tightening, I am in trouble, time and other my sites are offline, when I go to check my nginx server is stopped, I call again, when it is a few hours later, the time varies a lot, it again, I have to send one <Service nginx start> and this is a vice that lasts almost a month. I've been analyzing, there is no precise time, so it's not a crazy cron, people what do I do? I use ubuntu 16.04 / 32 + virtualmin + nginx + php7.0-fpm + mysql 5.7. I did not do anything on the server by the time he started it !! It is not about load, because I have little access and a lot of resources left over, I worked a lot configuring this and suddenly about 2 months later after I finished configuring everything, the server starts that this crazy behavior
: '(

One of the easiest way of increasing the responsiveness of your server and guarding against out of memory errors in your applications is to add some swap space. In this guide, we will cover how to add a swap file to an Ubuntu 16.04 server. &lt;$&gt;[warning] [label...

True that the chance to have a nonsense in the middle is great, because I never leave anything in stock, I always give an adornment in the directrives of my services, fail2ban, firewall, knocking, everything full of the fails, soon chance of giving poop is bigger too , But all for safety and low machine performance.

But I did not want to be config, because I have an apache server with ubuntu 14 in stock, that's a good nut, I just installed it, without moving or installing anything, just installed virtualmin in an opendkim package and already put a vhost in it through a restore , And is giving even a bug to stop apache and with the problem of being mysql when not apache.

Then I removed what it said to be duplicity: text / html Then restart the server and no longer adding a new line in the log as it was rule to say it was duplicated, well, but the service always started, with no errors printed on my console.

I do not think there's a relationship. I just made the reset and wait now to see if it continues in the madness, I'm thinking it's something virtualmin, because I have apache on another server, which is almost the same, and worse, stopping msql together. When website crashes, abou the dashboard of virtualmin, spying the services status tab, and it is, or apache, or mysql stopped. Now on that other server, with nginx, it's direct, all the time. Almost 6 times a day nginx has the service stopped, and having to start tight player of the virtualmin and does not roll, so I do by the terminal happens, so that e'algo in that panel: / ¬¬ 'already filled in the offical forum of them this dawn And waiting for feedback.

So my myqsl is also stopping, so I accessed the logs, and they are all empties !! And my server fully stocked, with no improvement in the settings, are with mysql stopping several times a day, so I noticed that my exfoliation of not having nor creating swap memory could be the problem, and max_connection in my.cnf I increased from 30 to 300.

It can not be real, this system can not be in overload, I have a server with 9 domains, but all together do not have 5 thousand access per month !!!
It has resource left over on the server, I have 4gb of swap, 60 of swap properties (priority to use)
The use of the resource of the machine is not even in 45% of ram, swap hardly use, and cpu gets much free time !! When in use 15% max. !!!