Title: Blocked IP Double
Last modified: December 9, 2023

---

# Blocked IP Double

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/blocked-ip-double/)
 * Hello.
 * This is the 3rd or 4th time i see this. WordPress latest and PHP 8.1.x
 * [https://drive.google.com/file/d/18WDysvGefbNMrWLOSQSPOG7A5f5UTg8z/view?usp=sharing](https://drive.google.com/file/d/18WDysvGefbNMrWLOSQSPOG7A5f5UTg8z/view?usp=sharing)
 * Double auto block due to rate limit. Could be a “racing” issue or a bug?
 * Thanks

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

 *  Plugin Support [wfmark](https://wordpress.org/support/users/wfmark/)
 * (@wfmark)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17268956)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/), thanks
   for reaching out to us about this.
 * Getting caught by “Page not found errors limit for humans” could be because your
   [Rate Limiting](https://www.wordfence.com/help/firewall/rate-limiting/) settings
   are very strict. I generally set my Rate Limiting Rules to these values to start
   with:
   [Rate Limiting Screenshot](https://www.wordfence.com/wp-content/uploads/2021/09/ratelimitingpreferred.png)
    - If anyone’s requests exceed – 240 per minute
    - If a crawler’s page views exceed – 120 per minute
    - If a crawler’s pages not found (404s) exceed – 60 per minute
    - If a human’s page views exceed – 120 per minute
    - If a human’s pages not found (404s) exceed – 60 per minute
    - How long is an IP address blocked when it breaks a rule – 30 minutes
 * I also always set the rule to **Throttle** instead of _Block_. Throttling is 
   generally better than blocking because any good search engine understands what
   happened if it is mistakenly blocked and your site isn’t penalized because of
   it. Make sure and set your Rate Limiting Rules realistically and set the value
   for how long an IP is blocked to 30 minutes or so.
 * Remember there is no hard and fast, one size fits all set of rules for every 
   site. This is just a good place to start. During an attack you may want to make
   those rules stricter. If you see visitors, like search engine crawlers getting
   blocked too often, you might want to loosen them up a little.
 * Here is a video guide to Rate Limiting as well:
   [Rate Limiting Guide](https://youtu.be/9mtGKVZcZAU)
 * Let me know how you get on!
 * Thanks,
 * Mark.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17268996)
 * [@wfmark](https://wordpress.org/support/users/wfmark/) Hi, my question/issue 
   is for a DOUBLE BLOCK in Settings/Blocking/Current blocks page LIST. Not for 
   rate limit setup.
 * The block was correct due to my settings, but why TWO TIMES the same block in
   the picture i attached? Did you check my capture? I think not.
 *  Plugin Support [wfmark](https://wordpress.org/support/users/wfmark/)
 * (@wfmark)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17311264)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/), thanks
   for getting back to us.
   Would you please share the screenshot once again as we
   are not able to see it? Looks like you have already deleted it. 
 * Thanks,
 * Mark.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17311292)
 * Sorry about that, restored.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17312435)
 * Here is a new one, that happened a few hours back.
 * [https://drive.google.com/file/d/18wqmzfQEwRqQhfQrF6kSFTp1MxjAXgKX/view?usp=sharing](https://drive.google.com/file/d/18wqmzfQEwRqQhfQrF6kSFTp1MxjAXgKX/view?usp=sharing)
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17340314)
 * As usual, no real solution or help on anything. Topics are forgotten after a 
   while, filled with irrelevent replies and suggestions.
 *  Plugin Support [wfmark](https://wordpress.org/support/users/wfmark/)
 * (@wfmark)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17369343)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/), Thank 
   you for sending the screenshots and apologies for the delayed response.
 * I have confirmed that this is a racing issue. It happens if the hits are coming
   in fast and in parallel, and the server is fast enough to process them in parallel.
 * It looks like  some of the hits were happening so close together that when Wordfence
   checks the rate limit, just before the limit is hit, a few of the hits see that
   the rate limit has not been hit yet — but each of them count as the first hit
   that should be blocked, so they add a block record.
 * This is unavoidable without adding a locking mechanism, which would slow down
   the site in order to avoid timing issues from overlapping hits, so this is expected
   behavior. Since these blocks are not permanent, they will all be removed when
   they expire.
 * Thanks,
 * Mark.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17369379)
 * [@wfmark](https://wordpress.org/support/users/wfmark/) Thanks. All i care is 
   that something could be wrong. If it is ok, then all ok.

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

The topic ‘Blocked IP Double’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-ip-double/#post-17369379)
 * Status: resolved