Server stops but heartbeat keeps on responding.
-
OS Version: Ubuntu 20
Server version: Latest
Server Type : TDMI've hosted a server using ubuntu. In the beginning the server was running fine (even ran for more than 12 hours and atleast 10+ players played without any issues) but later I discovered that the server won't show up in the server list nor can be connected manually.
I can find that in console it shows that "Heartbeat successful and sending heartbeat" but when I type status nothing shows up.Log file is not of much help as I didn't find any error in it.
So if anyone is aware of what can lead to such issue?
-
Did you change your map rotation? Did you ever catch the point where it stopped responding and saw any suspicious output on the console?
-
Xerxes Hey! Thanks for responding!
Previously I didn't change the map rotation but later when I discovered that the server isn't responding, I only have it set to 3 maps (I thought maybe any DLC is missing), but it's not the case. Even the server once stopped responding when I have only 3 maps set.
Unfortunately as it occurs at random times I am not able to figure it out and completely relying on the log to check for any errors.
Log file shows no error or any issues... -
Do you have any scripts or plugins installed? Do you use IW4MAdmin? If yes any plugin installed or specific configuration?
You could try running a single map and see what happens
-
Resxt No, just the bare server without any script or IW4MAdmin.
Earlier was running on 3 maps and later today same thing happened. More surprisingly, even if the server is not showing up or running, the processes are showing up in the back. (did "top" in linux and shared the screenshot)
Log file is not of help again as it shows nothing when are where the server has crashed or any error.*Meanwhile as stated by you, I'm going to keep the server running with 1 single map and check out the output.
Log: https://pastebin.com/7mCWBQNs
Top: https://ibb.co/3h4Rw5y
Console: https://ibb.co/xstqgqZ (did status to check but does not responds, only shows heartbeat successful....)P.S:
Some more details:
dedicated.cfg: https://pastebin.com/C2R4n8W3
tdm.cfg: https://pastebin.com/1cLDh90m
T6server.sh: https://pastebin.com/kyyep9Jm
Console output when I start the server: https://pastebin.com/w6wwqmLa -
lolabola This is an issue that a lot of servers for T6(ZM and MP) have unfortunately. I have a mod that allows me to replicate it fairly quickly, but I still don't know much about what exactly causes it.
I know it has something to do with GSC because if you wait long enough the server will actually eventually terminal script error with the message "exceeded maximum number of child script variables so the GSC VM is still executing code during this freeze.
Currently most server owners use rcon tools and\or plugins to check intermittently whether the server is still responsive and automatically restart it if it isn't.
-
JezuzLizard Thanks for the explanation and letting me know that I'm not the only one who is facing such issue.
A quick question: As you stated that many server owners have this issue, are they using Linux or windows? In the beginning, I did start with a windows server (apparently ran it for a day or two), although I didn't had much time to track it but if I am not wrong such issue didn't show up.
Later in order to save some bucks, I had to switch to linux. -
lolabola It does happen on windows so it isn't related to whether you are using linux or not.
It isn't known yet whether it is a bug with the basegame or with Plutonium code, but I will see if I can replicate it on older versions of Plutonium. If it is something Plutonium is doing it can probably be fixed easily, but if its an issue with the basegame it would be much harder to fix.