Bad site lag

Discussion in 'Support' started by Vynd, Mar 21, 2014.

  1. Vynd

    Vynd Kobold

    The game has been lagging pretty badly, for at leas the last 5 or 6 hours. Quite a few people are complaining about it, so I know it's not just me.
     
  2. Pengw1n

    Pengw1n Moderately Informed Staff Member

  3. Jon

    Jon Blue Manchu Staff Member

    Found the problem, not sure what the cause is yet, but will be rebooting the server shortly which should fix it for the moment.
     
  4. Jon

    Jon Blue Manchu Staff Member

    So, that wasn't the problem, but I've made another fix now. Hopefully this will make a difference.
     
    Jarmo likes this.
  5. Jarmo

    Jarmo Snow Griffin

    SP is working normally, thanks for the fix! What was the second fix, if that's not too much inside baseball?
     
  6. Seems like everything is back to normal.
     
  7. Jarmo

    Jarmo Snow Griffin

    MP seems to work much better than normal as I just killed all three of Cardotron2000's characters with a pure melee party without it getting in a single point of damage against mine :).
     
  8. Jon

    Jon Blue Manchu Staff Member

    We have a pre-defined database query that we use to keep the DB connections alive. A long time ago we used SELECT COUNT(*) from player, which counts how many players are in the player table. That was sort of pointless and expensive, so we replaced it with SELECT 1, which does nothing much more cheaply.

    For some reason, we deployed that fix to the test server, but never live (I think it was a fix we made last year when we launched and we were kind of swamped with stuff to do). It was all OK though until, presumably, our player table got too big. We added one too many new players and it started really slowing things down.
     
    Sir Veza, Flaxative and Jarmo like this.
  9. Jarmo

    Jarmo Snow Griffin

    Thanks for elaborating! Yeah, that'd do it. I write a lot of SQL queries for a living so I feel your pain.
     
    Sir Veza and Flaxative like this.
  10. Jon

    Jon Blue Manchu Staff Member

    Turns out that there's still a problem that may crop up. We'll look into it further in the coming week and it may require some more server reboots.
     

Share This Page