1. Suddenly the website can't open
2. Check the bandwidth and find that bandwidth is full and consider the problem of a large CDN back source
3.ssh difficult to board the server, restart Nginx
4. website recovery, check log, found a large number of the same segment of the IP request site of some unpopular files, these files are not cached by the CDN
{"REMOTE_ADDR": "140.205.253.185", "host": "File.reco.cn", "Time": "09/sep/2015:16:06:05 +0800", "Request": "GET/ download/f23429d4fda583c9fda74783f33a5d4e/%e5%bc%82%e6%97%8f%e8%83%8c%e5%8f%9b%e8%80%85+alien+violatorv1.3.apk http/1.1 "," status ": $," size ": 168888," referer ":"-"," user_agent ":"-"," forwarded ":" 211.103.88.76 "," Request_time " : 30.000}
Nginx banned this IP segment,
Site recovery
A complete solution to this approach:
Detach the file server
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
The above describes the memory bandwidth run Full server card dead processing, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.