Title: Issue with bots
Last modified: March 13, 2017

---

# Issue with bots

 *  Resolved [zthomp](https://wordpress.org/support/users/bimcreate/)
 * (@bimcreate)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-bots/)
 * I’m having this issue based on the influx of bots on the website, is there a 
   way to solve this issue using wordfence?
 * “The stats show that the account consumed more than 28257 CPU seconds and 12660
   CPU executions for the last 24 hours (See attached graph). This far exceeds the
   allowable industry standards particularly for CPU resources (No more than 10,000
   CPU seconds for any given calendar day; No more than 10,000 script or program
   executions for any given calendar day;)”

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [weekendbroward](https://wordpress.org/support/users/weekendbroward/)
 * (@weekendbroward)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-bots/#post-8908516)
 * Please take note that my hosting service recently took down my site due to the
   influx of bots. However, the biggest issue was Wordfence trying to store every
   visit in my site’s sql database and this was slowing down the whole server. We
   resolved the issue by turning off the live traffic option in Wordfence. I am 
   not sure if this helps you or not.
 * In addition, I went into Google’s Webmaster Tools and set Google’s crawl rate
   to the lowest number.
 * As for the bots, I was told to block the non-Google bots using the following 
   code added to the robots.txt file:
 * RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} ^bot\*$ RewriteRule .* – [F,
   L]
 * I was also given the following additional code to block empty user-agents (also
   added to robots.txt file):
 * RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule ^(.*)$ – [F,L]
 * Please let me know if the advice above helps resolve your issues as I am in a
   similar position.
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-bots/#post-8924261)
 * Hi [@bimcreate](https://wordpress.org/support/users/bimcreate/)
    If you are sure
   this was because of bad bots crawling your website, then you can set the options
   in “[Rate Limiting Rules](https://docs.wordfence.com/en/Wordfence_options#Rate_Limiting_Rules)”
   to be more aggressive, also you can use the “Live Traffic” log to detect some
   of these bots and block their IPs if needed.
 * Thanks.
 *  Thread Starter [zthomp](https://wordpress.org/support/users/bimcreate/)
 * (@bimcreate)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-bots/#post-8924417)
 * thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issue with bots’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [zthomp](https://wordpress.org/support/users/bimcreate/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/issue-with-bots/#post-8924417)
 * Status: resolved