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.
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.