Site Attacked by Bots

In the past month, this site has had frequent crashes. Examples of the errors in the Pharo version 9 logs were:

PRDocument(Object)>>doesNotUnderstand: #environment
Process: a Process in InputEventFetcher>>waitForInput

Upgraded to Pharo 10 reduced restarts and eliminated the errors. However when clicking a link inside the wiki this error would frequently show:

Too many concurrent connections

Google analytics shows few people viewing the site, however the AWS console show that the computer is busy and network is occupied (but not overwhelmed):

Graphs in AWS
NGinX logs agree with the AWS charts. Checking the logs showed that most of the traffic was bots. Added https://www.myborden.com/robots.txt had some impact, but after several days. Tuning the memory settings was helpful.

Posted by John Borden at 29 August 2024, 10:57 pm with tags Pier, DDOS link