Server Crashed Due to Heavy Bot Traffic – Any Connection with XenForo 2.3.14?

khalidalghamdi

New member
Licensed customer
Hello everyone,

I'm looking for some advice regarding a serious server incident that occurred this morning.

My forum was running normally after I implemented several rules and measures to limit bot traffic on November 3, 2026. Everything remained stable, and I had no similar incidents until this morning.

On November 29, I upgraded XenForo from version 2.3.x to 2.3.14.

This morning, December 1, my entire server became unresponsive due to an unusually high volume of requests from bots and automated crawlers targeting the forum. The load became so high that the whole server went down, not just the forum.

I had to intervene to restore the server and investigate the situation.

What makes this particularly concerning is that the anti-bot rules I put in place on November 3 had been working well for almost a month without any such incident.

I'd appreciate your thoughts on the following:

  1. Could there be any connection between upgrading to XenForo 2.3.14 and the sudden increase in bot activity or server resource consumption?
  2. Has anyone experienced similar bot traffic or server overload after upgrading to 2.3.14?
  3. Are there any new settings or recommended configurations in XenForo 2.3.14 to better handle automated crawlers and bot traffic?
  4. Is there anything specific I should check in XenForo's configuration or logs to identify why these requests were able to overwhelm the server despite the existing anti-bot rules?
Server environment:

  • XenForo 2.3.14
  • Ubuntu 26.04.1 LTS
  • Nginx
  • PHP 8.4-FPM
  • MariaDB 11.8
I'm not assuming the XenForo update caused this incident, but the timing makes me wonder whether there could be a connection.

Any advice or similar experiences would be greatly appreciated.

Thank you.
 
Any advice or similar experiences would be greatly appreciated.

In a situation like that the first question is always: What has changed? As you don't give any information other than

an unusually high volume of requests from bots and automated crawlers

w/o even specifying the volume and the volume difference it is impossible to even guess a reason. The more as you don't say anything about your setup / architecture. It does make a huge difference if you filter outside your server via Cloudflare, on your server via Firewall, use Anubis, filter via Nginx, use one of the various add ons for XF or rely on permissions and settings in XF. Also your general permissions regarding dealing with guest traffic make a difference. You mention
several rules and measures to limit bot traffic
but not, what they were and how and where they were implemented. So it could be that

• the volume was so high that the server crashed
• the bots circumvented your protection as they adapted
• your rules had a loophole
• your architecture is sensitive to too many requests
or a million of other things.

So it is impossible to give the desired advice. It seems unlikely that the XF update was the cause of the incident. @BrettC has already pointed you to the right thread where the bot topic is discussed day-in day out.
 
First of all, thanks @BrettC for the link and the helpful information. Much appreciated.

Most of my protection rules were implemented through Cloudflare and had been working effectively for over 27 days. What caught my attention was the sudden change in bot behaviour despite having those same rules in place.

My question was simply whether others had noticed a similar change in bot behaviour over the past few days. I mentioned the XenForo update as part of the timeline, not because I was suggesting it was the cause.

@smallwheels, I think you may have missed the point of my post. Perhaps you've noticed some changes in bot behaviour yourself recently? That's the kind of experience I was hoping to hear about.

Asking a question doesn't necessarily mean a lack of knowledge. If I needed a formal technical investigation, I could simply open a support ticket.

I chose to post here because I believe community forums are about sharing experiences, exchanging ideas and learning from one another.
 
Perhaps you've noticed some changes in bot behaviour yourself recently? That's the kind of experience I was hoping to hear about.
I have and wrote about it the huge thread about bot traffic that @BrettC linked to. But in my case I see a massive decrease in bot traffic over the last week (that surely will only be temporarily). Judging from said thread there is no clear pattern: sometimes there are waves that hit a lot of people or changes in bot behavior that many see but often it is somewhat random if/when a forum gets hit by a huge wave (while for others everything is at more or less normal levels, others have never experienced a serious wave and other are hammered constantly).
 
Most of my protection rules were implemented through Cloudflare and had been working effectively for over 27 days. What caught my attention was the sudden change in bot behaviour despite having those same rules in place.
So did you see

a) a spike in traffic
b) a change in numbers and percentages what passed the rules in CF
c) both?

If the main rules are in CF - how should (or even could) an XF update be the cause of your issues? In opposite to what you say
I mentioned the XenForo update as part of the timeline, not because I was suggesting it was the cause.

the thread title

Server Crashed Due to Heavy Bot Traffic – Any Connection with XenForo 2.3.14?​


as well as three out of four of your points for a possible root cause point to the XF update...

  1. Could there be any connection between upgrading to XenForo 2.3.14 and the sudden increase in bot activity or server resource consumption?
  2. Has anyone experienced similar bot traffic or server overload after upgrading to 2.3.14?
  3. Are there any new settings or recommended configurations in XenForo 2.3.14 to better handle automated crawlers and bot traffic?
  4. Is

...while now it turns out that it seems more a topic of your CF rules or a change in bot behavior. But as you are not interested in hints from others or solutions anyway you will surely figure it out yourself. ;)
 
.14 is an improvement in this area. I've been under attack for several months, and now many seem to be evading cloudflare. My sql was briefly crashing 3-5 times per day, but it hasn't happened once since I put the .14 update in.

It has maintained a 20k bot count for the past 24 hours, and the server has not crashed. The cache helps reduce the stress on the database.
 
Hello everyone,

I'm looking for some advice regarding a serious server incident that occurred this morning.

My forum was running normally after I implemented several rules and measures to limit bot traffic on November 3, 2026. Everything remained stable, and I had no similar incidents until this morning.

On November 29, I upgraded XenForo from version 2.3.x to 2.3.14.

This morning, December 1, my entire server became unresponsive due to an unusually high volume of requests from bots and automated crawlers targeting the forum. The load became so high that the whole server went down, not just the forum.

I had to intervene to restore the server and investigate the situation.

What makes this particularly concerning is that the anti-bot rules I put in place on November 3 had been working well for almost a month without any such incident.

I'd appreciate your thoughts on the following:

  1. Could there be any connection between upgrading to XenForo 2.3.14 and the sudden increase in bot activity or server resource consumption?
  2. Has anyone experienced similar bot traffic or server overload after upgrading to 2.3.14?
  3. Are there any new settings or recommended configurations in XenForo 2.3.14 to better handle automated crawlers and bot traffic?
  4. Is there anything specific I should check in XenForo's configuration or logs to identify why these requests were able to overwhelm the server despite the existing anti-bot rules?
Server environment:

  • XenForo 2.3.14
  • Ubuntu 26.04.1 LTS
  • Nginx
  • PHP 8.4-FPM
  • MariaDB 11.8
I'm not assuming the XenForo update caused this incident, but the timing makes me wonder whether there could be a connection.

Any advice or similar experiences would be greatly appreciated.

Thank you.
I think it's probably a coincidence. Bots can suddenly swarm at any time and numbers increase massively, and 2.3.14 introduces some caching which would actually reduce server requests rather than increase them.

What numbers are involved and what mitigations did you have in place? I'm using Cloudflare which cuts them down massively. Then you just have the solvers to deal with (the bots that can solve Cloudflare challenges but about 70% of them can't IME).
 
Thank you, @Rhody, for sharing your experience. This is exactly the kind of feedback I was hoping to hear. It's particularly interesting that you've also noticed bots increasingly evading Cloudflare. I really appreciate your valuable input.
 
Thanks @Alvin63, I appreciate your input. What surprised me was the sudden change after more than 27 days of stability with the same Cloudflare rules in place.

The point you mentioned about bots being able to solve Cloudflare challenges is particularly interesting. I'll take a closer look at that.
 
Thanks @Alvin63, I appreciate your input. What surprised me was the sudden change after more than 27 days of stability with the same Cloudflare rules in place.

The point you mentioned about bots being able to solve Cloudflare challenges is particularly interesting. I'll take a closer look at that.
This has happened to me at various times. Everything seems under control and managed, and then suddenly there's a swarm of many thousands. Although the Cloudflare rules are still working, the proportion of solvers increases. However I do think it can depend where they are coming from as well. I found bots from Philippines and Thailand particularly virulent and had to block those countries. Tried unblocking them again when things settled down and another big swarm - so they are blocked again. It's like they are waiting for you to relax the rules!

Most of mine are now coming from the USA - mainly data centres (residential proxies out of data centres).

If it helps, my main Cloudflare rules are

1) Block - a few countries - China, Malaysia, Myanmar and the two mentioned above. Quite a few ASN's of cloud hosting centres from Singapore and various other places.
2) Challenge pathways - Whats's New, Members, Search, threads, posts, misc-cookies. Managed Challenge
3) Challenge countries - with exemptions. To catch the bots going to other pathways. My main membership countries are exempted.

I have a few other particular rules but those are the main ones.

It can help to run a raw server log through Claude for analysis to see what's going on and tweak rules accordingly :-) Which can save a bit of time. This can also reveal the worst offending data centres and their asn's so you can block or challenge specific asn's.

That's my two pennorth.

As mentioned above, that thread contains a lot of info too, but there's a lot to read through.
 
Thanks @Alvin63, I appreciate your input.

Looking at my Cloudflare analytics over the past four days, peak hourly requests served by the origin server were generally around 400,000–530,000. This morning, however, they suddenly jumped to approximately 1.64 million in a single hour, more than three times the previous peak levels.

Over the four-day period:

  • Total requests: 28.63 million
  • Served by origin: 24.77 million
  • Mitigated by Cloudflare: 3.41 million
  • Served by Cloudflare: 451,300
The protection measures I had in place included:

  • Bot Fight Mode
  • Browser Integrity Check
  • Cloudflare Managed Ruleset
  • HTTP DDoS protection
  • Custom security rules targeting suspicious bots and automated traffic
These measures had kept the forum stable for over 27 days.

Another interesting observation from the Nginx logs was that 29,840 out of a sample of 30,000 requests contained the s= query parameter, and a large proportion of the traffic appeared to be using regular Chrome browser user agents.

Your point about bots capable of solving Cloudflare challenges is particularly interesting. Have you noticed an increase in these types of bots recently?

Thanks again for sharing your experience.
 
Thanks @Alvin63, I appreciate your input.

Looking at my Cloudflare analytics over the past four days, peak hourly requests served by the origin server were generally around 400,000–530,000. This morning, however, they suddenly jumped to approximately 1.64 million in a single hour, more than three times the previous peak levels.

Over the four-day period:

  • Total requests: 28.63 million
  • Served by origin: 24.77 million
  • Mitigated by Cloudflare: 3.41 million
  • Served by Cloudflare: 451,300
The protection measures I had in place included:

  • Bot Fight Mode
  • Browser Integrity Check
  • Cloudflare Managed Ruleset
  • HTTP DDoS protection
  • Custom security rules targeting suspicious bots and automated traffic
These measures had kept the forum stable for over 27 days.

Another interesting observation from the Nginx logs was that 29,840 out of a sample of 30,000 requests contained the s= query parameter, and a large proportion of the traffic appeared to be using regular Chrome browser user agents.

Your point about bots capable of solving Cloudflare challenges is particularly interesting. Have you noticed an increase in these types of bots recently?

Thanks again for sharing your experience.
Some bots are dumb and can't solve challenges, some (including large swarms from particular unknown operators) are sophisticated, use real, up to date browsers, and just solve the challenges.

Bot fight mode isn't enough IMO. That catches some dumb ones.

Which custom rules do you have? What I've found happens is they divert to a different pathway if you challenge one pathway. The sophisticated ones using residential proxies look like real people so don't get flagged as automated.

As mentioned, what can help is running a server log through Claude to see what they are up to and where most are coming from.

What are your custom rules?

Btw those are huge numbers! If they find they can get in they do seem to sometimes swarm in number. If it gets harder for them it can settle down.
 
My custom rules mainly focus on the following:

Blocking the old vBulletin archive.

Challenging requests targeting legacy vBulletin paths, particularly member and FAQ pages.

Protecting the XenForo search endpoint.

Challenging suspicious bots, fake search engine crawlers and automated HTTP clients.

I agree that Bot Fight Mode alone isn't enough, particularly when sophisticated bots use real browsers and residential proxies.

I've also been analysing my Nginx logs using AI. One interesting finding was that 29,840 out of a sample of 30,000 requests contained the legacy s= session parameter.

Your observation about bots switching to different pathways when challenged is particularly interesting and certainly worth investigating further.

Thanks again for sharing your experience.
 
@Anthony Parsons has a few rules that might help :-) Also check out that thread - lots of tips in there. I ask AI - which data/hosting centres are in there, what are their AS Numbers (to decide whether to block or challenge). How many bots/requests have fake referers and what are the fake referers. You can add a rule for fingerprinting various anomalies like a particular fake referer, old browsers or old fake mobile browsers etc.

When they are coming from worldwide residential proxies though it needs challenging by pathway, or fingerprinting to a degree IMO.

It's a balance between cutting the numbers down and not frustrating too many real users. But in an emergency you could challenge all countries (or all but your main country). A rule to challenge all countries except x y and z). However if bots have solved an earlier challenge, this will only catch the ones that have bypassed earlier rules.

You could also turn on AI labyrinth - it helps a little bit I think.
 
Last edited:
If you haven't already you could maybe block these ASN's - which many people do - as a big source of bots - to make a dent in it.

134963 (Alibaba cloud Singapore)
136188 136907 (Huawei Singapore)
137876 (Tencent Thailand)
139341 (Tencent Aceville Singapore)
140308 141180 (Huawei Int singapore)
151610 (Huawei Int Singapore)

There are quite a lot in China as well but I just blocked China as a country.
 
If you haven't already you could maybe block these ASN's - which many people do - as a big source of bots - to make a dent in it.

134963 (Alibaba cloud Singapore)
136188 136907 (Huawei Singapore)
137876 (Tencent Thailand)
139341 (Tencent Aceville Singapore)
140308 141180 (Huawei Int singapore)
151610 (Huawei Int Singapore)

There are quite a lot in China as well but I just blocked China as a country.
Thank you very much, Alvin. I genuinely appreciate your time, patience and willingness to share your experience and practical solutions.

I'll implement the suggested rule to block those ASNs and China, along with the rule for allowing verified search engine crawlers suggested by @BrettC.

Hopefully, these measures will help improve the situation and bring things back under control.

My sincere thanks to everyone who has contributed to and enriched this discussion.
 
If you haven't already you could maybe block these ASN's - which many people do - as a big source of bots - to make a dent in it.

134963 (Alibaba cloud Singapore)
136188 136907 (Huawei Singapore)
137876 (Tencent Thailand)
139341 (Tencent Aceville Singapore)
140308 141180 (Huawei Int singapore)
151610 (Huawei Int Singapore)

There are quite a lot in China as well but I just blocked China as a country.
To expand on this, my servers currently are set to harshly challenge - in normal color, or outright reject - in red, IP's contained within the following ASN's:

132203TenCent Cloud
45090More TenCent Cloud
136907Huawei
45102Alibaba Cloud
62240ClouVider
45899VNPT ISP - Deeply Compromised Resi Proxy Network
4134China Telecom - Deeply Compromised Resi Proxy Network
139341AceVille Ptd. - Massive AI-scraping operations.
4837ChinaUnicom - Deeply Compromised Resi Proxy Network
56046China Mobile Com - Deeply Compromised Resi Proxy Network
36352ColoCrossing - Persistent AI scraping and probing abuse.
219502Storm Industries - Persistent abuse, possibly state sponsored(?).

Otherwise, the following generalized blocklists are used in conjunction with ASN blocking at the edge or filtering on Anubis:
 
Back
Top Bottom