1
Server Discussion / Re: Unusual server crashing. New 'sploit?
« on: June 25, 2006, 11:00:15 AM »
The default number of entities in the game is 1024. When the server tries to allocate past this number, that error is generated.
You can control this limitation in your server config with the cvar "maxentities". Set maxentities 2048 in your server configuration and you should be OK.
Explanation: This variable controls how much memory the game sets aside for entity storage. It's allocated in one chunk (hopefully) when the game server is initialized. The size of this chunk in bytes is maxentities * sizeof(g_edicts[0]), g_edicts are edict_s structures and the size of that stucture depends on the mod. Q2 is very modest in it's memory usage compared to other game engines today.
You can control this limitation in your server config with the cvar "maxentities". Set maxentities 2048 in your server configuration and you should be OK.
Explanation: This variable controls how much memory the game sets aside for entity storage. It's allocated in one chunk (hopefully) when the game server is initialized. The size of this chunk in bytes is maxentities * sizeof(g_edicts[0]), g_edicts are edict_s structures and the size of that stucture depends on the mod. Q2 is very modest in it's memory usage compared to other game engines today.