Problem runing several servers



  • Hello,

    I am trying to launch a dedicated server for my team.
    I rented a server by a french operator (quad-core Xeon@3.1GHz, 8GB RAM, 1Gb/s connection with warranted 100Mb/s)
    It runs windows server 2008 R2, and I installed the chivalry dedicated server using steamCMD according to the tutorial present here.
    I created 4 config subdirectories ( 1 TO/LTS/TD 24 players, 1 duel 12 players, 1 no-feint duel 12 players, 1 training with pass).
    I unlocked ports 7775 to 7785 and created four scripts to launch the UDK.exe with the different config files, as explaines in the tutorial.
    each instance has its own ports assigned, between 7775 and 7785 of course.
    At first, it works fine. But after a random amont of time, some servers stat bugging: Typically, they do not show in the list anymore, but they sometimes show up in the list but do not take any connection, or they may have some weird behaviour.

    Is there something I missed?

    Here is an example of .bat I use to launch them
    cd D:\steam\steamapps\common\chivalry_ded_server\Binaries\Win32
    D:\steam\steamapps\common\chivalry_ded_server\Binaries\Win32\UDK.exe aocto-stoneshill_p?steamsockets -Port=7783 -QueryPort=7784 -configsubdir=serv_TO_LTS_TDM -log=serv_TO_LTS_TDM.log -seekfreeloadingserver



  • Having a similar issue here as well.



  • Up? :?



  • Same Problem for me…

    once i launch my first server, it’s totally fine however the 2nd server will not show up on any list and have ports different. I even experimented and change every single port in every single file to a random port for steamworks and to no avail…



  • Do you need multihoming on your server networks?

    UDKGame.exe aocto-stoneshill_p?steamsockets -dedicated=true -seekfreeloadingserver -multihome=192.168.X.XXX -Port=7777 -QueryPort=7778

    All necessary ports open (including 27000-27030)?
    I have a vague memory of tcp/udp ports 3074 and 3075 being used too

    Any chance of logs from udklogging.exe??

    Edit: I see you’ve set queryport from the command line. Does this match the setting in the [OnlineSubsystemSteamworks.OnlineSubsystemSteamworks] of PCServer-UDKEngine.ini?



  • @MonkeyFiend:

    Do you need multihoming on your server networks?

    UDKGame.exe aocto-stoneshill_p?steamsockets -dedicated=true -seekfreeloadingserver -multihome=192.168.X.XXX -Port=7777 -QueryPort=7778

    All necessary ports open (including 27000-27030)?
    I have a vague memory of tcp/udp ports 3074 and 3075 being used too

    Any chance of logs from udklogging.exe??

    Edit: I see you’ve set queryport from the command line. Does this match the setting in the [OnlineSubsystemSteamworks.OnlineSubsystemSteamworks] of PCServer-UDKEngine.ini?

    I’ll try this afternnon with second server. and post everything i get…

    here’s my cmd line arguments

    AOCTO-Citadel_p?steamsockets -dedicated=true -seekfreeloadingserver -multihome=66.225.232.195 -port=26997 -QueryPort=26996 -log=DPG2\server.log -configsubdir=DPG2

    i just now changed the steamworks of udkengine to match qport of cmd line… will give it a try…



  • Yea, when i went in and changed that steam port to match the qport from my cmd line arguments, it now shows both server on the master server list…



  • @Kahne:

    Yea, when i went in and changed that steam port to match the qport from my cmd line arguments, it now shows both server on the master server list…

    Glad to hear that got it working :D



  • Thanks for your answers,

    what does the “multihome” option stand for? how does it work exactly?

    I have set up the queryport in the .ini file, I will see if it makes things right…

    (I recall that my servers appeared on the list anyway, but that they inedvitably bugged a little while later and did not appear anymore)



  • hey, I just found out I was using the PeerPort as Queryport. Maybe this was the problem?



  • @nightbringer57:

    Thanks for your answers,

    what does the “multihome” option stand for? how does it work exactly?

    I have set up the queryport in the .ini file, I will see if it makes things right…

    (I recall that my servers appeared on the list anyway, but that they inedvitably bugged a little while later and did not appear anymore)

    Multihoming is where a server can connect to multiple networks often by separate network links. In the case of chivalry would be used to identify the internal IP address of the link that you wanted to use.

    Things get more complicated as you can assign multiple IP addresses to single links.

    Generally speaking people shouldn’t be trying to set this option unless they know their server/network setup requires it :)



  • @MonkeyFiend:

    @nightbringer57:

    Thanks for your answers,

    what does the “multihome” option stand for? how does it work exactly?

    I have set up the queryport in the .ini file, I will see if it makes things right…

    (I recall that my servers appeared on the list anyway, but that they inedvitably bugged a little while later and did not appear anymore)

    Multihoming is where a server can connect to multiple networks often by separate network links

    Aaaaaah OK.
    This is not my case, then ;)

    Thanks for explanation



  • I updated the server, modified the ports to have all corresponding to the .bat configuration, to have one separated port for each port, peerport and queryport, relaunched the servers.
    At least, just as before, they appear in the servers list and I can connect to them.

    Now we will see in the near future if they crash again :D



  • same problem happened. Overnight, two of my servers disappeared :?



  • interesting log, indeed:
    For the server “Der ? SiFleur’s TO/LTS/TDM”:
    [2013-08-22 00:29:51] Log session started

    [2013-08-22 00:29:51] [0,0] SetSteamID( [A:1:0:0] )
    [2013-08-22 00:29:51] [1,2] Connect() starting connection (eNetQOSLevelLow, 81.171.115.34:27019, UDP)

    [2013-08-22 00:29:53] [1,2] ConnectionCompleted() (146.66.152.12:27019, UDP)
    [2013-08-22 00:29:53] [1,2] RecvMsgClientLogOnResponse() : [A:1:4087713793:3594] ‘OK’
    [2013-08-22 06:15:58] [3,2] RecvMsgClientLoggedOff(‘Service Unavailable’)
    [2013-08-22 06:15:58] [3,2] AsyncDisconnect()
    [2013-08-22 06:15:58] [0,0] ConnectionDisconnected(‘Disconnected By Remote Host’) : ‘Service Unavailable’ (146.66.152.12:27019, UDP)
    [2013-08-22 06:15:58] [0,0]
    [2013-08-22 06:15:58] [0,0] StartAutoReconnect() will start in 14 seconds
    [2013-08-22 06:16:12] [1,6] Connect() starting connection (eNetQOSLevelLow, 81.171.115.34:27019, UDP)

    [2013-08-22 06:16:14] [1,6] ConnectionCompleted() (146.66.152.14:27019, UDP)
    [2013-08-22 06:16:14] [1,6] RecvMsgClientLogOnResponse() : [A:1:4087713793:3594] ‘OK’

    looks like it loses connection to steam, automatically reconnects, and then it does not appear in the server list anymore :|



  • same for the other crashed server

    [2013-08-22 00:29:52] Log session started

    [2013-08-22 00:29:52] [0,0] SetSteamID( [A:1:0:0] )
    [2013-08-22 00:29:52] [1,2] Connect() starting connection (eNetQOSLevelLow, 81.171.115.34:27019, UDP)

    [2013-08-22 00:29:53] [1,2] ConnectionCompleted() (146.66.152.12:27019, UDP)
    [2013-08-22 00:29:53] [1,2] RecvMsgClientLogOnResponse() : [A:1:4087719937:3594] ‘OK’
    [2013-08-22 06:15:57] [3,2] RecvMsgClientLoggedOff(‘Service Unavailable’)
    [2013-08-22 06:15:57] [3,2] AsyncDisconnect()
    [2013-08-22 06:15:57] [0,0] ConnectionDisconnected(‘Disconnected By Remote Host’) : ‘Service Unavailable’ (146.66.152.12:27019, UDP)
    [2013-08-22 06:15:57] [0,0]
    [2013-08-22 06:15:57] [0,0] StartAutoReconnect() will start in 17 seconds
    [2013-08-22 06:16:15] [1,6] Connect() starting connection (eNetQOSLevelLow, 81.171.115.34:27019, UDP)

    [2013-08-22 06:16:16] [1,6] ConnectionCompleted() (146.66.152.10:27019, UDP)
    [2013-08-22 06:16:16] [1,6] RecvMsgClientLogOnResponse() : [A:1:4087719937:3594] ‘OK’



  • Those logs are for 2 separate servers running on the same box?

    They both have the same ports - 27019 UDP as query by the looks of those logs

    It was my understanding if running multiple instances on the same IP, then they had to have different ports?



  • I’m not sure what those ports are, but they are not the ports on the server.
    The server’s IP is 88.191.188.222, the chiv servers do have their own ports set up (first one port=7775, peerport=7776, queryport=7777, then 7778, 7779, 7780 and so on) with all ports opened to TCP and UDP, inbound and outbound, in the server’s firewall. The ports are set up in the .ini files as well as in the .bat which starts those servers.
    Both logs are coming from different servers, started almost at the same time but both have a 1s difference, showing the logs actually are different ;)



  • Any chance you could open up port 27019 too, I think is used for comms on cm-04.lux.valve.net.27019 or thereabouts?



  • Actually, it looks open, else it would not have those messages, am I wrong?


Log in to reply