Pages: [1]
  Print  
Author Topic: sv_timeOut vs sv_zombietime ?  (Read 7256 times)
GrosBedo
Member


Cakes 20
Posts: 710


« on: July 23, 2010, 10:31:20 AM »

Hello,

Do someone know what's the difference between sv_timeout and sv_zombietime ?

The only interesting thread I've found about it :

http://www.ftwgl.com/forums/showthread.php?t=657

Quote
http://www.shadowspawn.net/content/g...ver-config.asp

"This variable determines how long the server will keep the connection alive while not receiving any response from the client.
-NOTE-
If you run a busy server and wish to always keep slots open no matter what, keep this as the default. If you wish to have clients be able to reconnect within a period of time, specify it here."


so this implies this cvar is to kick non communicating clients and sv_timeout is for a communicating but idle client.

But it's false since g_inactivity is used to kick communicating but idle clients.

Do someone has a clearer idea ?
Logged
7
Member


Cakes 7
Posts: 278


Is 7 up?


« Reply #1 on: July 25, 2010, 12:48:58 PM »

sv_zombietime determines how long a client connection stays open after the client has either disconnected or timed out with sv_timeout.

From the source code:
Code:
SV_CheckTimeouts

If a packet has not been received from a client for timeout->integer
seconds, drop the conneciton.  Server time is used instead of
realtime to avoid dropping the local client while debugging.

When a client is normally dropped, the client_t goes into a zombie state
for a few seconds to make sure any final reliable message gets resent
if necessary
Logged

I'm on the ten most wanted list, I've got it dead in the groove.
My face is on every wanted poster in town, for the way I move.
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #2 on: July 28, 2010, 07:04:16 PM »

Perfect, thank you very much Smiley
Logged
Pages: [1]
  Print  
 
Jump to: