Sunday 11 December 2016

Bot consuming high bandwidth and memory

Bad bots may be from google bot or any other bad bots. To reduce the same first you need to find which bot is affecting the bandwidth and memory. 


Find the log from below command: 
sudo grep "05/Nov/2015:0[1-2]" /usr/local/apache/domlogs/ulifeqxj/ulifephoto.com | grep -i "googlebot" | wc -l
sudo grep "05/Nov/2015:0[1-2]" /usr/local/apache/domlogs/ulifeqxj/ulifephoto.com | grep -i "bot" | wc -l


Once you found which bot is causing the issue, you can block it by adding rule in .htaccess. 

Htaccess rule for bad bots: 
http://pastebin.com/n0pShLsX

Follow the steps of below link to reduce google bots: 
https://support.google.com/webmasters/answer/48620?hl=en

No comments:

Post a Comment

ERR_CONTENT_DECODING_FAILED

If you are getting the error as ERR_CONTENT_DECODING_FAILED while accessing the domain then add the below extension in php.ini  ++++++++...