News!


CoD:UO - Restarting server due to numSnapshotEntities wrapping 

Here's the error message that occurs when you run a server 24/7 without rotating to a different map. The only way to avoid this error is to either:

1) Rotate to a different map every few hours

2) Restart your server daily and hope that you don't hit the error before the next restart

http://svn.icculus.org/quake3/trunk/code/s...v=2&view=markup

CODE:

// this can happen considerably earlier when lots of clients play and the map doesn't change
if ( svs.nextSnapshotEntities >= 0x7FFFFFFE - svs.numSnapshotEntities ) {
SV_Shutdown( "Restarting server due to numSnapshotEntities wrapping" );
Cbuf_AddText( "vstr nextmap\n" );
return;
}

Since this happens about every 30-48 hours on our test server, it might be good to restart the server daily.

An alternate solution is to create an "intermission" map that only stays loaded for 5 minutes after every 10-15 rounds.


posted by Wuphon's on Saturday, April 15, 2006

Comments: Post a Comment

This page is powered by Blogger. Isn't yours?

Copyright 2002-2003, Wuphon's Reach, All Rights Reserved -- wuphonsreach[at]yahoo.com