Xonotic Forums
[SOLVED] XonStats seems to enlarge waiting time ?? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: [SOLVED] XonStats seems to enlarge waiting time ?? (/showthread.php?tid=4273)



XonStats seems to enlarge waiting time ?? - -maniac|Su- - 06-29-2013

hi peepZ

here I.m back again with a little problem ... =P

In the last weeks me and other players noticed a long waiting time from endmatch till the votescreen appears ... Sad

I.ve done some testing of the Servers ( Duel Server & DM Server ) and had some strange effects.

- When I enable XonStats by set "g_playerstats_uri" "http://stats.xonotic.org/stats/submit" it takes nearly 1-2 min till the stats are written and the votescreen for next map appears ...

- When I disable Xonstats by set "g_playerstats_uri" "" it only takes 15 seconds from endmatch till votescreen

The server console tells me nothing from endmatch till stats are written.

Maybe anybody can help?

GreetZ Su


RE: XonStats seems to enlarge waiting time :/ - Antibody - 06-30-2013

Su, how long does it take you to ping the XonStat server? I am wondering if this is a network problem, since you are quite literally on the other side of the world from the stats server. Still though, it certainly should not take over a minute to do a submission. It shouldn't take more than 10s! If you could post a ping or traceroute, that would help.


RE: XonStats seems to enlarge waiting time :/ - -maniac|Su- - 06-30-2013

Ping:

ping 87.250.159.246
PING 87.250.159.246 (87.250.159.246) 56(84) bytes of data.
64 bytes from 87.250.159.246: icmp_seq=1 ttl=56 time=36.6 ms
64 bytes from 87.250.159.246: icmp_seq=2 ttl=56 time=36.6 ms
64 bytes from 87.250.159.246: icmp_seq=3 ttl=56 time=36.6 ms
64 bytes from 87.250.159.246: icmp_seq=4 ttl=56 time=36.4 ms
64 bytes from 87.250.159.246: icmp_seq=5 ttl=56 time=36.7 ms
64 bytes from 87.250.159.246: icmp_seq=6 ttl=56 time=36.8 ms
64 bytes from 87.250.159.246: icmp_seq=7 ttl=56 time=36.6 ms
64 bytes from 87.250.159.246: icmp_seq=8 ttl=56 time=36.2 ms
...
Seems okay

Traceroute:
traceroute 87.250.159.246
traceroute to 87.250.159.246 (87.250.159.246), 30 hops max, 40 byte packets using UDP
1 speedport.ip (192.168.2.1) 0.659 ms 0.483 ms 0.422 ms
Unable to look up 217.0.117.194: Temporärer Fehler bei der Namensauflösung
2 217.0.117.194 19.623 ms 19.019 ms 18.897 ms
3 87.190.162.246 (87.190.162.246) 22.810 ms 21.676 ms 23.688 ms
4 f-ed5-i.F.DE.NET.DTAG.DE (217.5.95.50) 28.777 ms 28.704 ms 28.715 ms
5 80.157.130.78 (80.157.130.78) 28.867 ms 62.157.249.234 (62.157.249.234) 30.145 ms 30.164 ms
6 if-9-2.tcore1.FNM-Frankfurt.as6453.net (195.219.50.42) 50.693 ms 50.696 ms 49.546 ms
7 if-5-2.tcore1.AV2-Amsterdam.as6453.net (195.219.194.13) 51.231 ms if-6-3.tcore1.AV2-Amsterdam.as6453.net (195.219.194.77) 48.375 ms 49.883 ms
8 195.219.194.82 (195.219.194.82) 37.253 ms 37.284 ms 36.137 ms
9 jointtransit.netground.nl (217.170.9.204) 37.683 ms 37.064 ms 37.764 ms
10 srv02.xonotic.org (87.250.159.246) 57.129 ms 76.772 ms 96.685 ms

From this point it looks fine - but it need time for my server to get a feedback from your stats server.
Maybe something wrong on my server config? -I.m a bit puzzled Huh

GreetZ Su


RE: XonStats seems to enlarge waiting time ?? - -maniac|Su- - 11-09-2013

new facts ...

after comment out:

//sv_weaponstats_file http://www.xonotic.org/weaponbalance/

the waiting time between endmatch and map-votescreen now reduced to 10 sec ... Tongue

Problem solved Big Grin

GreetZ Su

ps. has lasted long for clueless me


RE: XonStats seems to enlarge waiting time ?? - Antibody - 11-12-2013

Thanks for following up, Su. That's really strange though - it must be doing something else with that file besides GET-ing it:

[~ 11:22]$ time curl http://www.xonotic.org/weaponbalance/ &> /dev/null

real 0m0.656s
user 0m0.061s
sys 0m0.155s