• ramble81
    link
    fedilink
    arrow-up
    12
    ·
    10 months ago

    So I assume you’re asking why do you get keep getting a “Bad Gateway” message with LW. So usually the reason you get that is LW and most other Lemmy instances run in whats called a container. In order to route requests, an application called nginx is used. The message you see comes from nginx not being able to properly route requests to the container for any number of reasons.

    Now the reason that keeps happening, in my opinion, is two fold. First, given that they’re one of, if not the largest instances they uncover performance issues before any one else does. This is good overall for Lemmy as the admins here have been very good about troubleshooting and pushing fixes upstream which helps everyone.

    The second is again, being the largest they’re subject to quite a few bad actors or those “doing it for the lulz”. Recently the admins alluded to the fact there was a bad actor that was attempting to DDoS them and knew which Database queries hurt the most to take the instance down.

    So really in that case it’s not a matter of throwing more resources at it (within reason) since this bad actor is exploiting flaws in the Lemmy code base. Ironically, this is helping fix Lemmy has a whole, but has an effect of a cat and mouse game.