Forums » General

Game server problem

Feb 23, 2004 Forum Moderator link
Please please please don't post each time the server has problems. It's going to be like this for a few more days.
Feb 23, 2004 RelayeR link
20:37 EST...wha' happen' ? Did we overload the server with the cap and all the mines?
Feb 24, 2004 RelayeR link
Sorry, FM. It's just that a couple of Devs were on and I was curious as to whether our activities may have been the cause.
Feb 24, 2004 a1k0n link
server crashes almost never have anything to do with flag captures, lots of mines, people far, far away, or whatever. it's always much, much more indirect. in this case, whenever somebody warped or logged out of a popular sector there was a small chance that a block of memory would get double-freed, causing heap corruption some indeterminate time later when the memory was then double-used. so, completely at random, it would crash trying to allocate memory for someone's ship (or any other) object, or go into an infinite loop trying to rebalance a binary tree.

the reason it was so laggy and slow was simply because i'm running it in valgrind, which makes it laggy and slow.
Feb 24, 2004 RelayeR link
I see. That explains it! When Katarn warped from 5 to 12, he corrupted the block of memory that my last mine tried to use...causing the crash!

You're so smart!!