Author Topic: [fixed] Masterserver: no player slots available on headless gamserver  (Read 791 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
There's an issue where the master server provides incorrect information on available player slots, claiming that no network slots exist on a headless gamserver.
 
Sometimes it says this:
 
glestVersionplatformbinaryCompileDateserverTitleiptechmaptilesetactiveSlotsnetworkSlotsconnectedClientsexternalServerPortcountrystatus
v3.6.0.3GNU-Rev: 3085Feb  1 2012 14:34:38headless(engineer2)78.47.225.60MegapackConflictFernland40061457 game full, pending start


Four active slots, but none of them network slots, that's weird on a headless server..
 
And when you reload the web page once or twice (just seconds later) it will just come out properly:
 
glestVersionplatformbinaryCompileDateserverTitleiptechmaptilesetactiveSlotsnetworkSlotsconnectedClientsexternalServerPortcountrystatus
v3.6.0.3GNU-Rev: 3085Feb  1 2012 14:34:38headless(engineer2)78.47.225.60MegapackConflictScrub Land44061457 waiting for players

So either the server is reporting this incorrectly to the masterserver or the masterserver is incorrectly reporting what it receives from the gameserver. Sometimes.
 
I'll need to check the requests the gamserver sends in this case. I suspect this might be related to having multiple gameservers on the same IP address.
 
Thanks to u_u_u for pointing this out (if only on IRC).

This is possibly related to another issue where the masterserver reports 9 of 9 open slots (but only 8 are actually possible).
« Last Edit: 19 July 2012, 00:50:15 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Masterserver: no player slots available on headless gamserver
« Reply #1 on: 3 March 2012, 07:32:18 »
Strangely these stats come from the actual host computer which sends the stats to the master. Can anyone confirm this still happens on 3.6.0.3 ?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Masterserver: no player slots available on headless gamserver
« Reply #2 on: 3 April 2012, 17:54:46 »
This did happen on 3.6.0.3, and while I have this happen since, I don't think it did occur recently. Maybe someone else thinks differently?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Masterserver: no player slots available on headless gamserver
« Reply #3 on: 14 July 2012, 23:38:40 »
I guess those should both be fixed by now. Do you agree, Softcoder?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Masterserver: no player slots available on headless gamserver
« Reply #4 on: 17 July 2012, 14:32:53 »
yes i agree.

 

anything