code.dlang.org is down

Luna luna at foxgirls.gay
Sat May 10 12:20:16 UTC 2025


On Friday, 11 April 2025 at 15:19:18 UTC, Sönke Ludwig wrote:
> Am 11.04.2025 um 11:06 schrieb Sönke Ludwig:
>> Am 10.04.2025 um 20:22 schrieb Bastiaan Veelo:
>>> code.dlang.org has not been responding all day.
>>>
>>> https://www.isitdownrightnow.com/code.dlang.org.html
>>>
>>> -- Bastiaan.
>> 
>> I'm not sure what exactly causes it, but the process is in a 
>> state where it's mostly busy with garbage collection. It seems 
>> like there is maybe a self-reinforcing effect, where incoming 
>> connections that time out lead to higher GC pressure.
>> 
>> The other thing is that there appear to be some very 
>> aggressive crawlers that go through the whole site at maximum 
>> speed with what looks like 8 parallel requests. Maybe it's 
>> possible to get that under control through the Cloudflare 
>> frontend? Of course they are using a Safari user agent string 
>> instead of something that would identify them as bots.
>> 
>> Finally, the fallback server logic for dub doesn't appear to 
>> work correctly anymore - at least for me it hangs more or less 
>> indefinitely instead of falling back to codemirror.dlang.org.
>> 
>> I don't have a lot of time to look into this right now, but 
>> I'll see if I can do something. It would be good if someone 
>> with Cloudflare access could look into a possible mitigation 
>> there.
>
> It's a little bit better now with one source of GC allocations 
> temporarily eliminated. As a workaround, you can manually 
> configure codemirror.dlang.org to take precedence by putting 
> this in ~/.dub/settings.json:
>
> {
> 	"registryUrls": ["https://codemirror.dlang.org/"]
> }

Anubis would also be an option, at least for the site frontend.
https://anubis.techaro.lol/



More information about the Digitalmars-d mailing list