Not a member yet? Why not Sign up today
Create an account  

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2020-03-12 Vehicle Overrun - Server Update Only

#1
Vehicle Overrun
Servers started crashing a few days ago for inexplicable reasons.

Talk about getting eaten alive by a bug I didn't even know existed.

Servers started crashing due to extreme sluggishness induced by thousands of vehicles accumulating at buildings that fetch vehicles. Memory objects may have been destroyed while threads were chugging through their data. I will put some work into preventing that situation.

The extreme accumulation of vehicles was traced to an autoparking function that was not being executed on vehicles in buildings. It only worked on vehicles in spacecraft.

I manually deleted the obvious overruns, eliminating about 65k vehicles from the database.

Buildings will now remove excess new vehicles when it is time to fetch vehicles, if their total vehicle count is too high. This will clean up the excess.

The autopark function should work properly now. This positions new vehicles in their parking spot so the spot will no longer report as unoccupied.
Reply



Messages In This Thread
2020-03-12 Vehicle Overrun - Server Update Only - by Haxus - 03-12-2020, 03:23 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)