It was a busy day. One bot, identified as a chatgpt one. That one was easy to block.
At the same time some DDoS or some unidetified scraper was loading all topics from all over the world. Luckily in a recognizable pattern not used by regular users. The blocking script was blocking IPs at a rate of 20 per second for hours.
Those blocks are aggregated every 5 min to complete subnets. Unfortunately calculating those subnets took a lot of time due to the huge amount. So a bunch of those scripts were running the same time bringing the server down.
After fixing that everything came back online