[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Wiki is 503 Service Unavailable


Le 16/07/2024 à 20:59, Stéphane Aulery a écrit :
Le 16/07/2024 à 20:22, Benoît Minisini a écrit :
Le 16/07/2024 à 20:10, Benoît Minisini a écrit :
Le 16/07/2024 à 20:08, Benoît Minisini a écrit :
Le 16/07/2024 à 19:44, T Lee Davidson a écrit :

No server is available to handle this request.
Unique ID: 8D65451F:7F9C_0AFE1BFD:0050_6696B117_10EE17:90E66

© ASAP – Tous droits réservés


Yep, the web server crashed because the system ran out of memory. :-(


A big number of simultaneous connections starting at 18:41 (UTC+2)...


Apparently it's a web crawler that is not very kind. I should find a way to limit the number of requests by seconds...


If the wiki is on its own Linux server you can use haproxy, apache, nginx as a proxy between your web server in Gambas and incoming traffic (provided your server knows how to listen on another custom port). It will be more robust than trying to write it yourself.

In addition, you can use fail2ban coupled with this proxy server to temporarily block attackers automatically. There are ready-made fail2ban rules for this.



The wiki is hosted by the company I'm working for. It's behind haproxy, and then behind Cloudflare. I will aks tomorrow to them what they can do.

Regards,

--
Benoît Minisini.


References:
The Wiki is 503 Service UnavailableT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: The Wiki is 503 Service UnavailableBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: The Wiki is 503 Service UnavailableBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: The Wiki is 503 Service UnavailableBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: The Wiki is 503 Service UnavailableStéphane Aulery <lkppo@xxxxxxx>