Author Topic: [lacks info] MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly  (Read 1557 times)

TotalNoob

  • Guest
Hi

It already happened several times. In the middle of the game suddenly all players see the final statistics table with everyone indicated as Lost. When pressing Exit you end in main menu as usual when you end game. Nothing much to tell about it, maybe just the fact that some minutes before that, some players drop out because of constant pausing. I got a log file created by the --verbose parameter.

https://rapidshare.com/files/1522605895/megaglest_3.6.0.3_verbose_1.7z

Regards
« Last Edit: 20 July 2012, 16:31:52 by softcoder »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #1 on: 12 February 2012, 17:21:52 »
Treba is the one who runs this gameserver and we will need his support to look into this. I suspect the cause of this is excess memory allocation causing the game to be killed by OOM killer. But only he can tell for sure or provide log files and verbose output.
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 · · ·

treba

  • Guest
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #2 on: 13 February 2012, 13:43:32 »
hey. i personally guess it's because of my restart script that kills the server if it's not listed on the masterserver anymore (to workaround this bug). i just started engineer2 again, without the script (i stopped him because of this).

if he runs well this time, we can check if the problem also occurs there.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #3 on: 13 February 2012, 16:34:15 »
Hmm, so you're convinced (or assuming, guessing?) the bug where gameservers fail to keep listed on the masterserver still applies to 3.6.0.3? If so, let's please discuss this more in the original bug thread. If so, can we please do some testnig on this? Is there a way to reproduce it?

To reduce the filesize of the verbose.log on disk, you can just pipe it through gzip before writing it to disk. The start_megaglest script in trunk now contains this line (commented out) in it:

Code: [Select]
./megaglest $@ --verbose 2>&1 | gzip > ~/.megaglest/verbose.log.gz
This surely helps with the filesize.
« Last Edit: 13 February 2012, 16:40:58 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 · · ·

treba

  • Guest
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #4 on: 13 February 2012, 17:19:50 »
i have been using the script for a while now because i though it would make no problems. can't say if the original problem is still there, that's why i wanted to test it. both servers are now running without the restart script.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #5 on: 13 February 2012, 17:26:31 »
 
Quote
(i stopped him because of this).

You stopped it. not him.

(sorry had to).
« Last Edit: 13 February 2012, 17:36:15 by Coldfusionstorm »
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #6 on: 13 February 2012, 18:53:15 »
Both servers are now running without the restart script.

Thanks, I'll try to keep an eye on it. And I would like to encourage everyone who reads this to report here on the forums if there are any problems with the engineer (or other) game servers.
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: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #7 on: 26 February 2012, 19:04:41 »
Unfortunately the servers still keep stopping in the middle of a game. Did you re-enable the script?
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 · · ·

uuu

  • Guest
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #8 on: 26 February 2012, 19:16:11 »
I would like to confirm that "Unfortunately the servers still keep stopping in the middle of a game". It happens for longer games.
Is there logging enabled for server? Does restart script have a logging so that we don't just guess if that is the issue?

treba

  • Guest
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #9 on: 28 February 2012, 15:28:11 »
oh the restart script is disabled. wonder why the server is still running after that. thought this would make it stop.
seems like i have to change the script so it does not override the logs after it killed itself.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MG 3.6.0.3 - headless server (engineer1) ends game unexpectedly
« Reply #10 on: 3 March 2012, 04:35:55 »
Do we have any more info on this bug?