Topic: KeepAlive Idle?
hello guys,
i run PvPGN 1.99.7-PRO on Centos 6.5, some of my players have problem, when they enter a custom game, they lost connection to battle.net after few minutes, and getting error "lost connection" after game ends, so they need to log in again.
so i've tried multiple config, still same problem with some of them.
can someone recommend me how to configure centos + pvpgn?
i have this settings in sysctl.conf (centos)
net.ipv4.tcp_keepalive_time = 14400
net.ipv4.tcp_keepalive_intvl = 20
net.ipv4.tcp_keepalive_probes = 3
and those settings in bnetd.conf
# Time in seconds between account file updates, 0 means wait forever.
usersync = 300
# Number of seconds of inactivity before file is unloaded from memory.
# (only checked during account file updates)
userflush = 21600
# Number of users checked for updates at once. Higher values make sense if you
# either have very fast hardware or you don't have many number of accounts.
# Lower values make sense if you have very high CPU usage on the system you run
# the server (dont make it too low or your system will save accounts continously).
# Modify this value ONLY if you know what you are doing!!
userstep = 100
# Flush connected users? Set "false" and they will never flushed untill logout (it will consume more memory but less CPU usage, because of no queries to a file)
userflush_connected = false
# How often to send user latency tests in seconds.
latency = 25
# How often to send null or keepalive packets in seconds.
nullmsg = 10
# Set this option to true to allow TCP to detect and close stale
# connections.
use_keepalive = true
# initkill_timer sets up a periodic timer on init/defer class connections
# this should detect and clean up stale connections to your server
initkill_timer = 820
maybe i've done something wrong? any ways to debug this problem?
Thanks