I could use any help here in locating the error, I have a few ideas but I’ll save those for the end and describe the problem first if anyone has any thoughts pls give them to me.
Ok here goes: I’m running a small Linux RedHat based ET server, the hardware is P733 with only 128 MB Ram, the Internet connection is a switched 10 Mbps Full duplex Ethernet link. In general I have no problem with this setup, but the Linux GUI’s a little slow, (due to lack of memory I assume), ET however is not since it runs as a dedicated server in a command shell.
The server problem is that it keeps crasching with a “segmentation fault” error, I’m kind of new to Linux (I usually use Windows but I though this would be a nice way of learning the benefits of Linux on the same time as running the server) so I’m unsure of how to troubleshoot that but a friend has told me to look for “core” files indicating craschdumps. I have found none.
The server is set up for 20+8 players (i.e. 20 open slots and 8 private), it used to be quite full, but there has been fewer players lately, I can only assume it’s due to the frequent crasches. The server runs an 8 map campaign of which 4 maps are custom, at the moment it crasches about every 3rd day. If I change the campaign to just 2 custom maps out of 8 it will stay alive for about a week, or 10 days. If I lower the number of players to 20+4 it will stay alive for 13-14 days.
It also depends on which maps are in rotation, Stonehenge_KOTH for example caused it to crasch much more often than Temple(1/2/3)
However it is only ET that crasches and not Linux in itself, so whenever this happens I only need to kill the command shell where the ET server is running (it is completely locked up and cannot be closed normally), then start a new command shell and start the ET server again. No reboot of Linux is needed, leading me to believe the error lies in ET rather than Linux (correct me if you think I’m wrong).
The segmentation fault occurs at different frequencies, but applies regardless of whether I’m running plain ET, ETPro or ShrubET, I regret that I have only the information from ETPro to show you, but the other two does not give any details, they just say “Segmentation Fault” and that’s basically it. ETPro gives a bit more detail which I hope could help someone point me in the right direction, here’s what it says :
<lots of previous normal game entries cut away>…
ClientBegin: 8
ET PB Server : New Client Connection (slot #9) <snip>
ET PB Server : Player GUID Computed <snip>
------ Unrecoverable Error ------
This information may be due to a bug in etpro
Information to be used in a bug report is being generated
------ Cut Here ------
Version : etpro 2.0.5
Platform : Linux
Signal : Segmentation Fault (11)
Stack Trace : 1 entries
/usr/local/games/enemy-territory/etpro/qagame.mp.i386.so (etpro_DumpBackTrace+0x33)[0x4637b457]
------ Cut Here ------
Trying to clean up …
------ Recursive Crasch ------
Exiting hard.
/usr/local/bin/et : line 5 : 1988 aborted .et.x86 $*
[homedir]
So far, my theories are two, my primary suspect is lack of memory but the server runs fine all up to the crasch.
Secondarily I suspect a fault in ET, but here I’m at a loss of what to do.
I do not believe the mods to be at fault, nor the maps although they seem to contribute, but I suspect that to be the size of them rather than their construction (?), I would guess on a memory leak, and if so it won’t really help to add more memory, but against that speaks that other don’t seem to have this problem (or?)
I appreciate all help
Thanks in advance