BZFS unstable on Ubuntu server

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
User avatar
Grans Remedy
Private First Class
Private First Class
Posts: 91
Joined: Sun Dec 05, 2004 10:47 pm
Location: New Zealand

BZFS unstable on Ubuntu server

Post by Grans Remedy »

Howdy,
I've compiled BZFS (2.0.13) on an Ubuntu server (Linux VPS).

At certain times all players start getting lag warnings because their lag is showing as very high - often over 1000ms and/or they go NR.

However, when this happens, those same players can ping the server from a command prompt, and get response times that are normal. For example ping times outside of BZFlag around 60ms, lagstats show the player having lag of 1000ms with high jitter and packet loss.

I have been collecting ping times and screen grabs of this, but am unsure what to do now.

I have tried recompiling, but that made no difference.

FWIW: ./configure --disable-client --enable-shared
No errors

Any ideas anyone?
Thanks
Grans
No coffee, no workee
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFS unstable on Ubuntu server

Post by blast »

Might just be a problem with your VPS. ICMP (ping), while still part of the IP protocol suite, is different than TCP and UDP and might get treated/handled differently.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: BZFS unstable on Ubuntu server

Post by joevano »

Most of the public servers run 2.0.13 . While it could technically be called an "unstable" version based on the numbering convention it is pretty rock solid and has been run in production environments for quite some time. I would have to agree with blast that a likely cause is your VPS. I know that there have been several attempts to run public servers on VPS servers and that they have had mixed success. Some work just fine and others have mysterious unexplained issues that disappear when moved to a different provider or a dedicated server.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
Grans Remedy
Private First Class
Private First Class
Posts: 91
Joined: Sun Dec 05, 2004 10:47 pm
Location: New Zealand

Re: BZFS unstable on Ubuntu server

Post by Grans Remedy »

Thanks for your feedback.

I'm fairly confident its not the server (VPS), because I've had the hosting company look into this too. They have confirmed that during the time players are getting very high lag warns the server is not under any stress: Low CPU time, little disk I/O, limited network traffic. They are at a loss as to why this app (BZFS) is behaving so poorly.

Generally I find that if I ssh into the server, kill the processes and restart them, then we're good to go - for a while. But that's annoying, especially when the server is used for offi matches.

I was wondering if there is some known issue with BZFS 2.0.13 on Ubuntu LTS 8.04 (Hardy Heron) maybe?

Oddly, I had a similar issue with this version of BZFS on another VPS (running CentOS) which is why I jumped ship to this new hosting provider and VPS as in this post http://my.bzflag.org/bb/viewtopic.php?f=103&t=15390

Grans
No coffee, no workee
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZFS unstable on Ubuntu server

Post by blast »

I run 2.0.13 (latest code) on Debian Etch, and haven't had any issues where very player suddenly had high lag. I did have one issue recently where my lag jumped up a little bit (about 20 to 40 ms) and I suddenly had packet loss for about 15 minutes - while when I joined another client from the same computer, I didn't have any packet loss. But I'm more inclined to think that was just some random issue with the specific connection, not with bzfs.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply