Hi,
Gave restart commands as follows;
sudo service php5-fpm restart sudo service nginx restart
Server is down immediately after. Any of you guys have an idea of why that happened and how to get going again?
Many thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Logs are your friends. Check the nginx error log. That should give you some clue as to why it is crashing.
Check the logs, also run top when you start the server to see the load. <br> <br>Also check to see if you are under DDOS attack run <br> <br>netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n for port 80 <br> <br>netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n for port 443 <br> <br>If you are being Dos attacked you need to setup a software firewall and ban the ip. <br> <br>When you run those commands you’ll get a list of IPs and a number beside them this number is the number of connections there opening to your web server.
Sorry its <br> <br>netstat -plan|grep :443|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n for port 443(ssl)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
