Server lockups/freezes

User avatar
NiteHawk
Site Admin
Posts: 3121
Joined: Wed Apr 20, 2016 7:33 am

Server lockups/freezes

Postby NiteHawk » Sun Nov 20, 2016 4:43 am

Obviously when we get around 30 players online the server starts to spaz out. I am not sure what the cause of it yet, but I think I am narrowing it down. It unfortunately gives no valid errors and no information. It's not a very fun one to begin with.

I'm sorry for the issues this has caused guys. It's a needle in a haystack bug and it's extremely hard to solve. I obviously will figure it out, but you may have to put up with it a bit more. This wasn't something I could test before as we never had this many users online. Doing it with my own machine doesn't recreate it either. How dull.

I hope it isn't ruining anyones experience, and again, we are working on it as fast as we can. Thanks!

User avatar
NiteHawk
Site Admin
Posts: 3121
Joined: Wed Apr 20, 2016 7:33 am

Re: Server lockups/freezes

Postby NiteHawk » Sun Nov 20, 2016 11:40 am

As far as I am aware, there are two types of locks we are experiencing when alot of people are online.

1. 5-10 second locks (soft locks). Happens quite often when player count is ~30. Server will lock up shortly. This is normally an issue with the server waiting for something on the main thread rather then running it in the background from what I can see. I added some coding today to attempt to stop this today. There could be other reasons this occurs too so we'll see. The biggest issue with this is it's a needle in a haystack bug. It's terrible to figure out and often you have to make your own hacks for debugging this mess.

2. Unrecoverable locks. This is when two threads pretty much clash with each other and cause a deadlock. The server normally never recovers from this and has to be rebooted. I know one still exists but not sure exactly where yet, waiting for it to occur again so I can zap it.

Both are different issues though and often it doesn't occur until theres enough things going on at once. Often at night.

User avatar
NiteHawk
Site Admin
Posts: 3121
Joined: Wed Apr 20, 2016 7:33 am

Re: Server lockups/freezes

Postby NiteHawk » Sun Nov 27, 2016 2:40 pm

Hopefully the long downtime issues are resolved. So my main focus is this again.

Once this occurs (It will most likely be when more are online) I will try to debug it fast as I can for you guys. This is my MAIN PRIORITY NOW. After this is resolved I will complete the referral system bonus items so those can be used.

Thanks.


Return to “Archive Chat”

Who is online

Users browsing this forum: No registered users and 137 guests

cron