Quantcast
  1. Welcome to Bantam Talk

    Why not register for an account?

    Not only can you then get fully involved in the community but you also get fewer ads

  2. Premium Membership now Available


    Please see this thread for more details

    Dismiss Notice

Most liked posts in thread: SQL error

  1. Rogered Tart

    Rogered Tart Regular Starter
    P.L.22/23 Entrant P.L.23/24 Entrant

    Joined:
    Apr 10, 2018
    Messages:
    17,170
    Likes Received:
    40,756
    Clear. Your. Cache.
     
  2. NorthernMonkey

    NorthernMonkey Squad Player
    P.L. 20/21 Entrant P.L.23/24 Entrant

    Joined:
    Apr 10, 2018
    Messages:
    9,674
    Likes Received:
    19,118
    Clear. Your. Cache
     
    Hoochy-Min and Storck like this.
  3. NorthernMonkey

    NorthernMonkey Squad Player
    P.L. 20/21 Entrant P.L.23/24 Entrant

    Joined:
    Apr 10, 2018
    Messages:
    9,674
    Likes Received:
    19,118
    It never happens to me, I don't look at that mucky stuff you lot keep getting caught out with.
     
    Hoochy-Min and Storck like this.
  4. Rcbantam

    Rcbantam Squad Player
    P.L.23/24 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    2,388
    Likes Received:
    2,000
    Hamster wheel and a rat is what you need.
    Zzzzzooooooommmmm
     
    Storck and SimonW like this.
  5. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    I think everyone does it tbh even the likes of myself where I know better. You are so used to sites loading at a certain speed that when they don't you start thinking 'is it my device or connection' so you keep refreshing to make sure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Hoochy-Min

    Hoochy-Min Squad Player

    Joined:
    Apr 9, 2018
    Messages:
    6,411
    Likes Received:
    10,731
    We never got these issues under Ed's glorious leadership. Tinpot this lot. Don't know what they're doing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck and Rcbantam like this.
  7. NorthernMonkey

    NorthernMonkey Squad Player
    P.L. 20/21 Entrant P.L.23/24 Entrant

    Joined:
    Apr 10, 2018
    Messages:
    9,674
    Likes Received:
    19,118
    U wot m8?
     
    Rcbantam and Storck like this.
  8. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    I'm assuming you know what a database is, in a database you have tables and inside the tables data is stored. One of the tables for the site is a session table, this stores certain persistent data on each user which along with cookies is what prevents you having to login every time you load a new page. Each session entry has an 'expiry' date which if you haven't set the 'Stay Logged in' option on login is why you will get logged out from time to time.

    In MySQL which is the database the site uses when a table's data becomes corrupted it gets labelled as 'crashed', on the 11th the final time the site went down before I increased the resources when MySQL came back up it logged an error of the Session table being marked as crashed. This was preventing the session entries from expiring, at this moment we have 3,057 active sessions but last night it was over 150k because over the last 10 days it hadn't been able to expire sessions due to the corruption. There was also duplication taking place of some of your session data making it worse and causing additional issues.

    As long as the cause was just the issues on the 11th and not something else it should now be fine as I repaired the table which allowed it to expire the entries it needed to and shouldn't corrupt again
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck and Interested Bystander like this.
  9. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    Just before anyone posts about errors, I know. I am just applying some security updates
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Interested Bystander and Storck like this.
  10. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    Yeah we had a spike in disk activity which then caused a cpu bottleneck, trying to work out what caused it but it seems to have dipped again now
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck likes this.
  11. Hoochy-Min

    Hoochy-Min Squad Player

    Joined:
    Apr 9, 2018
    Messages:
    6,411
    Likes Received:
    10,731
    TimelyJealousHagfish-size_restricted.gif
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Rogered Tart likes this.
  12. Campbell's soup

    Campbell's soup Impact Sub
    Supporter

    Joined:
    Apr 9, 2018
    Messages:
    8,096
    Likes Received:
    13,647
    E0EA10C9-A326-48EE-8996-11FCEFDD9993.gif
    Big ol’ chinny reckon.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    NorthernMonkey likes this.
  13. bantam65

    bantam65 Important Player
    P.L.22/23 Entrant P.L.23/24 Entrant Supporter

    Joined:
    Apr 8, 2018
    Messages:
    8,945
    Likes Received:
    10,975
    Did it crash because of being flooded by Swindon fans logging in to laugh at how shite we are?
     
    Storck likes this.
  14. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    Already floated that to @king karl@king karl in email
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck likes this.
  15. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    Going to wait until after the match as the site may go down for a bit but we are going to bump the CPU resources up. Hopefully, that will also solve the RAM usage
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck likes this.
  16. Storck

    Storck Regular Starter

    Joined:
    Apr 8, 2018
    Messages:
    38,555
    Likes Received:
    29,358
    If I remember rightly after the Arsenal and Villa matches apparently there were a couple of thousand online on C&B. Obviously one offs
     
    Rcbantam likes this.
  17. Salty

    Salty Impact Sub

    Joined:
    Apr 13, 2018
    Messages:
    692
    Likes Received:
    1,051
    Guilty...no idea about this internet stuff really, explains why I sometimes end up with multiple posts. Really appreciate what you and king karl do to keep it running, wouldn't be my idea of r&r
     
    Stafford Bantam likes this.
  18. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    Those are the probably the kind of games where increased usage is easier to predict. If there was a match like those I would probably spinup a brand new instance with significantly more resources and then migrate the site over for the day. Then the next day when usage falls back to normal migrate it back

    It's the unexpected ones that are the problem as you assign resources so that it can support peak but where you are only using 10% for 6 days and 21 hours
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck likes this.
  19. SimonW

    SimonW Administrator
    Admin Moderator Qatar 2022 Entrant P.L. 20/21 Entrant P.L.23/24 Entrant P.L. 18/19 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    5,754
    Likes Received:
    3,842
    It seems like it was a different error that was caused by the last time. During the previous issue, it seems one of the Database tables was marked as crashed. It should have repaired itself when the next restart happened (when I added more resources) but the cause of it being marked crashed was preventing either an auto repair and worse of all from it purging session data it no longer needed. So the table just kept getting bigger and it seems we hit that point where there is one too many records and when it tried to write that it caused a restart for the database. When it came back up it was fine until that next person without session data in the table already accessed it so it was restarting almost as soon as it came back up. Its why it handled Saturday when more were on fine as the table was still within range

    Anyway repaired the table. It should clear out the old sessions and now be fine
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Storck likes this.
  20. Rcbantam

    Rcbantam Squad Player
    P.L.23/24 Entrant

    Joined:
    Apr 8, 2018
    Messages:
    2,388
    Likes Received:
    2,000
    EAT. YOUR. COOKIES.
     
    Storck likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice