Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
I'm working on a script that will start multiple >>> servers, and have the server's ports be in intervals of 5. Here's the >>> command I'm using to start them, it's been working great so far but let >>> me >>> know if you guys have any suggestions. >>> >>> ./srcds_run -game tf -autoupdate -steambin /home/tf2user/hlds/steam >>> -maxplayers 32 -port 27015 -nohltv +clientport 27115 +map mvm_coaltown >>> +servercfgfile mvmserver1.cfg +motdfile mvmmotd.txt +mapcyclefile >>> mvmmapcycle.txt >>> >>> I specify the maplist, mapcycle and motd files as I have different >>> configs >>> for MvM. >>> >>> >>> >>> On Sat, Feb 9, 2013 at 10:06 PM, Nomaan Ahmad >>> wrote: >>> >>>> You can put it in the startup like: +tv_port 27021 >>>> >>>> On 10 February 2013 04:49, Sam White wrote: >>>> >>>>> I believe it's tv_port >>>>> >>>>> On 10 February 2013 04:15, Joel Zhang >>>> >>>> wrote: >>>>> >>>>> >>>>>> I am pretty sure there is a parameter for changing source TV's port as >>>>>> well, but I can't remember offhand which. >>>>>> On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: >>>>>> >>>>>>> Isn't there a strict port command too? >>>>>>> On 10 Feb 2013 15:47, "Andreas Grimm" wrote: >>>>>>> >>>>>>>> You can add "-nohltv" to your start parameters if you don't use >>>>> >>>>> source >>>>>>> >>>>>>> tv. >>>>>>>> >>>>>>>> Then the gameserver doesn't bind additional ports. >>>>>>>> >>>>>>>> - Andreas >>>>>>>> >>>>>>>> -Original Message- >>>>>>>> From: hlds_linux-boun...@list.valvesoftware.com >>>>>>>> [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of >>>>> >>>>> Steve >>>>>>>> >>>>>>>> Dudenhoeffer >>>>>>>> Sent: Sunday, February 10, 2013 3:38 AM >>>>>>>> To: Half-Life dedicated Linux server mailing list >>>>>>>> Subject: Re: [hlds_linux] Overlapping port usage when running >>>>> >>>>> multiple >>>>>>>> >>>>>>>> servers on one machine >>>>>>>> >>>>>>>> tv_port defaults to 27020 >>>>>>>> >>>>>>>> On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < >>>>>>>> chefeification...@gmail.com> wrote: >>>>>>>> >>>>>>>>> There are some port that the game tries to bound automaticly, >>>> >>>> maybe >>>>>>> >>>>>>> there >>>>>>>>> >>>>>>>>> are some cvars to control that >>>>>>>>> >>>>>>>>> For all command line specific, look here: >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat >>>>>>>> >>>>>>>> ed_Server >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2013/2/10 Landon Orr >>>>>>>>> >>>>>>>>>> So that specified one of the ports, however when I run the >>>>> >>>>> server, >>>>>>> >>>>>>> it's >>>>>>>>>> >>>>>>>>>> still trying to use 27020, which is in use. Is it possible to >>>>>> >>>>>> specify >>>>>>>>> >>>>>>>>> that >>>>>>>>>> >>>>>>>>>> one as well? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
No attachments allowed. Use pastbin and share your script that way. Rudy Bleeker wrote: I've attached the bash script that I've used and improved upon for years now to start my TF2 servers. It assumes there's a servercfgfile named server_.cfg that contains the settings specific for that instance, for example your server identity and logdir. It starts the first server on port 27015 and works it's way up in increments of 10. Using the -strictportbind option just makes the server quit (and restart over and over if autoupdate is set) if one or more of the ports it wants to use is unavailable, instead of just picking a higher portnumber. For that reason I stopped using it, since I let the server assign all other ports by itself. If anyone has any comments, questions or suggestions about my script feel free to ask. On Sun, Feb 10, 2013 at 6:11 AM, Landon Orr wrote: Alright, so I've disabled sourcetv and set the client port, that seems to have cleared it up. I'm working on a script that will start multiple servers, and have the server's ports be in intervals of 5. Here's the command I'm using to start them, it's been working great so far but let me know if you guys have any suggestions. ./srcds_run -game tf -autoupdate -steambin /home/tf2user/hlds/steam -maxplayers 32 -port 27015 -nohltv +clientport 27115 +map mvm_coaltown +servercfgfile mvmserver1.cfg +motdfile mvmmotd.txt +mapcyclefile mvmmapcycle.txt I specify the maplist, mapcycle and motd files as I have different configs for MvM. On Sat, Feb 9, 2013 at 10:06 PM, Nomaan Ahmad wrote: You can put it in the startup like: +tv_port 27021 On 10 February 2013 04:49, Sam White wrote: I believe it's tv_port On 10 February 2013 04:15, Joel Zhang wrote: I am pretty sure there is a parameter for changing source TV's port as well, but I can't remember offhand which. On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: Isn't there a strict port command too? On 10 Feb 2013 15:47, "Andreas Grimm" wrote: You can add "-nohltv" to your start parameters if you don't use source tv. Then the gameserver doesn't bind additional ports. - Andreas -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steve Dudenhoeffer Sent: Sunday, February 10, 2013 3:38 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine tv_port defaults to 27020 On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < chefeification...@gmail.com> wrote: There are some port that the game tries to bound automaticly, maybe there are some cvars to control that For all command line specific, look here: https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat ed_Server 2013/2/10 Landon Orr So that specified one of the ports, however when I run the server, it's still trying to use 27020, which is in use. Is it possible to specify that one as well? On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < know.thine.en...@gmail.com wrote: The parameter is "-port 27025", for example. On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: Currently I'm trying to host multiple servers on one machine. It's a very beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd like to run quite a bit of servers, 30+ if possible. However, I'm running into an issue when I spin up more than fiver servers or so. Right now I'm having issues with ports overlapping, as in the servers try to request a port but it's already in use. For the first five they would just use the next port up. However, it seems that a server uses two ports (correct me if I'm wrong) 27015 and 27020. After five servers, the next server tries to use 27015, it's in use so it tries 27020 and then it gives up. I know when you use the srcds_run command, there is a way to specify the port to use, but I can't remember the command. Also, how many ports do I have to specify? Just two, or are there more than that? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux __
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
Here is an example start command for TF2. This assumes you want to stack all of your servers on a single IP, which is what I do: ./srcds_linux -game tf -ip 1.2.3.4 +clientport 27017 +hostport 27117 +tv_port 27217 -steamport 26017 +replay_port 27417 -strictportbind -pidfile /whatever/server.pid -maxplayers 26 +map cp_dustbowl IMPORTANT: Order of arguments matters. +map must be last. Where CLIENTPORT="27017" HOSTPORT="27117" TVPORT="27217" STEAMPORT="26017" REPLAYPORT="27417" IMPORTANT: For this example above, I used 17 for the last two digits on the assigned daemon ports. You MUST stagger your ports by 2, due to a bug with STEAMPORT where it will take whatever you give it and +1. In other words, only use all odd numbers (1, 3, 5, 7,...). This gives you the opportunity to stack up to 50 servers on a single IP. For example, I specified the STEAMPORT above to be 26017, but it will actually use 26018. Note the use of "-strictportbind", which means the srcds_run process will exit if ports are already in use. However, the srcds_linux script will auto-restart the process by default. You may wish to disable autorestart, or replace the srcds_linux script with your own script. Under this scheme, here is what a set of iptables rules might look like: -A filt_in_srcds -p tcp -m tcp --dport 27100:27199 --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j ACCEPT -A filt_in_srcds -p udp -m udp --dport 26000:26099 -m state --state NEW -j ACCEPT -A filt_in_srcds -p udp -m udp --dport 27000:27099 -m state --state NEW -j ACCEPT -A filt_in_srcds -p udp -m udp --dport 27100:27199 -m state --state NEW -j ACCEPT -A filt_in_srcds -p udp -m udp --dport 27200:27299 -m state --state NEW -j ACCEPT -A filt_in_srcds -p udp -m udp --dport 27400:27499 -m state --state NEW -j ACCEPT -A filt_in_srcds -j RETURN Have fun. Landon Orr wrote: Currently I'm trying to host multiple servers on one machine. It's a very beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd like to run quite a bit of servers, 30+ if possible. However, I'm running into an issue when I spin up more than fiver servers or so. Right now I'm having issues with ports overlapping, as in the servers try to request a port but it's already in use. For the first five they would just use the next port up. However, it seems that a server uses two ports (correct me if I'm wrong) 27015 and 27020. After five servers, the next server tries to use 27015, it's in use so it tries 27020 and then it gives up. I know when you use the srcds_run command, there is a way to specify the port to use, but I can't remember the command. Also, how many ports do I have to specify? Just two, or are there more than that? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux -- # Jesse Molina # Mail = je...@opendreams.net # Cell = 1-602-323-7608 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
I've attached the bash script that I've used and improved upon for years now to start my TF2 servers. It assumes there's a servercfgfile named server_.cfg that contains the settings specific for that instance, for example your server identity and logdir. It starts the first server on port 27015 and works it's way up in increments of 10. Using the -strictportbind option just makes the server quit (and restart over and over if autoupdate is set) if one or more of the ports it wants to use is unavailable, instead of just picking a higher portnumber. For that reason I stopped using it, since I let the server assign all other ports by itself. If anyone has any comments, questions or suggestions about my script feel free to ask. On Sun, Feb 10, 2013 at 6:11 AM, Landon Orr wrote: > Alright, so I've disabled sourcetv and set the client port, that seems to > have cleared it up. I'm working on a script that will start multiple > servers, and have the server's ports be in intervals of 5. Here's the > command I'm using to start them, it's been working great so far but let me > know if you guys have any suggestions. > > ./srcds_run -game tf -autoupdate -steambin /home/tf2user/hlds/steam > -maxplayers 32 -port 27015 -nohltv +clientport 27115 +map mvm_coaltown > +servercfgfile mvmserver1.cfg +motdfile mvmmotd.txt +mapcyclefile > mvmmapcycle.txt > > I specify the maplist, mapcycle and motd files as I have different configs > for MvM. > > > > On Sat, Feb 9, 2013 at 10:06 PM, Nomaan Ahmad wrote: > >> You can put it in the startup like: +tv_port 27021 >> >> On 10 February 2013 04:49, Sam White wrote: >> >> > I believe it's tv_port >> > >> > On 10 February 2013 04:15, Joel Zhang >> wrote: >> > >> > > I am pretty sure there is a parameter for changing source TV's port as >> > > well, but I can't remember offhand which. >> > > On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: >> > > >> > > > Isn't there a strict port command too? >> > > > On 10 Feb 2013 15:47, "Andreas Grimm" wrote: >> > > > >> > > > > You can add "-nohltv" to your start parameters if you don't use >> > source >> > > > tv. >> > > > > Then the gameserver doesn't bind additional ports. >> > > > > >> > > > > - Andreas >> > > > > >> > > > > -Original Message- >> > > > > From: hlds_linux-boun...@list.valvesoftware.com >> > > > > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of >> > Steve >> > > > > Dudenhoeffer >> > > > > Sent: Sunday, February 10, 2013 3:38 AM >> > > > > To: Half-Life dedicated Linux server mailing list >> > > > > Subject: Re: [hlds_linux] Overlapping port usage when running >> > multiple >> > > > > servers on one machine >> > > > > >> > > > > tv_port defaults to 27020 >> > > > > >> > > > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < >> > > > > chefeification...@gmail.com> wrote: >> > > > > >> > > > > > There are some port that the game tries to bound automaticly, >> maybe >> > > > there >> > > > > > are some cvars to control that >> > > > > > >> > > > > > For all command line specific, look here: >> > > > > > >> > > > > > >> > > > > >> > > > > >> > > > >> > > >> > >> https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat >> > > > > ed_Server >> > > > > > >> > > > > > >> > > > > > 2013/2/10 Landon Orr >> > > > > > >> > > > > > > So that specified one of the ports, however when I run the >> > server, >> > > > it's >> > > > > > > still trying to use 27020, which is in use. Is it possible to >> > > specify >> > > > > > that >> > > > > > > one as well? >> > > > > > > >> > > > > > > >> > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < >> > > > know.thine.en...@gmail.com >> > > > > > > >wrote: >> > > >
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
Try that again shall I... outlook FTL You can assign ports to each server in the command line.TF2 for example:clientport : 27005 Host game client port hostport : 27015Host game server port matchmakingport : 27025 Host Matchmaking port replay_fileserver_offload_port : 21 "sv", "cl" : Port number for FTP server where session blocks will be offloaded. replay_fileserver_offload_proxy_port : 8080 "sv", "cl" : The port of the proxy server. replay_fileserver_port : 80 "rep", "norecord", "cl" : The port for the Web server hosting replays. For example, if your replays are stored at 'http://123.123.123.123:4567/tf/replay systemlinkport : 27030System Link porttv_port : 27020Host SourceTV port Print off a cvarlist ('cvarlist log cvarlist.txt' into console) for each gametype you looking at and just use find to look for the word 'port' and assign accordingly. Cheers > From: lando...@gmail.com > Date: Sat, 9 Feb 2013 18:58:49 -0700 > To: hlds_linux@list.valvesoftware.com > Subject: [hlds_linux] Overlapping port usage when running multiple servers > on one machine > > Currently I'm trying to host multiple servers on one machine. It's a very > beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd > like to run quite a bit of servers, 30+ if possible. However, I'm running > into an issue when I spin up more than fiver servers or so. Right now I'm > having issues with ports overlapping, as in the servers try to request a > port but it's already in use. For the first five they would just use the > next port up. However, it seems that a server uses two ports (correct me if > I'm wrong) 27015 and 27020. After five servers, the next server tries to > use 27015, it's in use so it tries 27020 and then it gives up. > > I know when you use the srcds_run command, there is a way to specify the > port to use, but I can't remember the command. Also, how many ports do I > have to specify? Just two, or are there more than that? > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
You can assign ports to each server in the command line. TF2 for example:clientport : 27005: : Host game client porthostport : 27015 : : Host game server portmatchmakingport : 27025: : Host Matchmaking portreplay_fileserver_offload_port : 21 : , "sv", "cl" : Port number for FTP server where session blocks will be offloaded.replay_fileserver_offload_proxy_port : 8080 : , "sv", "cl" : The port of the proxy server.replay_fileserver_port : 80 : , "rep", "norecord", "cl" : The port for the Web server hosting replays. For example, if your replays are stored at 'http://123.123.123.123:4567/tf/replaysystemlinkport : 27030: : System Link porttv_port : 27020: : Host SourceTV port Print off a cvarlist ('cvarlist log cvarlist.txt' into console) for each gametype you looking at and just use find to look for the word 'port' and assign accordingly. Cheers > From: lando...@gmail.com > Date: Sat, 9 Feb 2013 18:58:49 -0700 > To: hlds_linux@list.valvesoftware.com > Subject: [hlds_linux] Overlapping port usage when running multiple servers > on one machine > > Currently I'm trying to host multiple servers on one machine. It's a very > beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd > like to run quite a bit of servers, 30+ if possible. However, I'm running > into an issue when I spin up more than fiver servers or so. Right now I'm > having issues with ports overlapping, as in the servers try to request a > port but it's already in use. For the first five they would just use the > next port up. However, it seems that a server uses two ports (correct me if > I'm wrong) 27015 and 27020. After five servers, the next server tries to > use 27015, it's in use so it tries 27020 and then it gives up. > > I know when you use the srcds_run command, there is a way to specify the > port to use, but I can't remember the command. Also, how many ports do I > have to specify? Just two, or are there more than that? > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
I had the exact same issue, removing hltv and adding clientport did the trick. I assume you have some scripts to start them up too, you can just set PORT=27015 and then use -port $PORT and +clientport $[$PORT+5] then you don't have to set the clientport manually in your startup line for each server. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Landon Orr Sent: zondag 10 februari 2013 6:12 To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine Alright, so I've disabled sourcetv and set the client port, that seems to have cleared it up. I'm working on a script that will start multiple servers, and have the server's ports be in intervals of 5. Here's the command I'm using to start them, it's been working great so far but let me know if you guys have any suggestions. ./srcds_run -game tf -autoupdate -steambin /home/tf2user/hlds/steam -maxplayers 32 -port 27015 -nohltv +clientport 27115 +map mvm_coaltown +servercfgfile mvmserver1.cfg +motdfile mvmmotd.txt +mapcyclefile mvmmapcycle.txt I specify the maplist, mapcycle and motd files as I have different configs for MvM. On Sat, Feb 9, 2013 at 10:06 PM, Nomaan Ahmad wrote: > You can put it in the startup like: +tv_port 27021 > > On 10 February 2013 04:49, Sam White wrote: > > > I believe it's tv_port > > > > On 10 February 2013 04:15, Joel Zhang > wrote: > > > > > I am pretty sure there is a parameter for changing source TV's > > > port as well, but I can't remember offhand which. > > > On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: > > > > > > > Isn't there a strict port command too? > > > > On 10 Feb 2013 15:47, "Andreas Grimm" wrote: > > > > > > > > > You can add "-nohltv" to your start parameters if you don't > > > > > use > > source > > > > tv. > > > > > Then the gameserver doesn't bind additional ports. > > > > > > > > > > - Andreas > > > > > > > > > > -Original Message- > > > > > From: hlds_linux-boun...@list.valvesoftware.com > > > > > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf > > > > > Of > > Steve > > > > > Dudenhoeffer > > > > > Sent: Sunday, February 10, 2013 3:38 AM > > > > > To: Half-Life dedicated Linux server mailing list > > > > > Subject: Re: [hlds_linux] Overlapping port usage when running > > multiple > > > > > servers on one machine > > > > > > > > > > tv_port defaults to 27020 > > > > > > > > > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < > > > > > chefeification...@gmail.com> wrote: > > > > > > > > > > > There are some port that the game tries to bound > > > > > > automaticly, > maybe > > > > there > > > > > > are some cvars to control that > > > > > > > > > > > > For all command line specific, look here: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_D > edicat > > > > > ed_Server > > > > > > > > > > > > > > > > > > 2013/2/10 Landon Orr > > > > > > > > > > > > > So that specified one of the ports, however when I run the > > server, > > > > it's > > > > > > > still trying to use 27020, which is in use. Is it possible > > > > > > > to > > > specify > > > > > > that > > > > > > > one as well? > > > > > > > > > > > > > > > > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < > > > > know.thine.en...@gmail.com > > > > > > > >wrote: > > > > > > > > > > > > > > > The parameter is "-port 27025", for example. > > > > > > > > On Feb 9, 2013 6:00 PM, "Landon Orr" > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Currently I'm trying to host multiple servers on one > machine. &
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
https://developer.valvesoftware.com/wiki/SourceTV tv_port Set the SourceTV host port (default 27020). Must be set as srcds start parameter. On 10/02/2013 4:06 PM, Nomaan Ahmad wrote: You can put it in the startup like: +tv_port 27021 On 10 February 2013 04:49, Sam White wrote: I believe it's tv_port On 10 February 2013 04:15, Joel Zhang wrote: I am pretty sure there is a parameter for changing source TV's port as well, but I can't remember offhand which. On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: Isn't there a strict port command too? On 10 Feb 2013 15:47, "Andreas Grimm" wrote: You can add "-nohltv" to your start parameters if you don't use source tv. Then the gameserver doesn't bind additional ports. - Andreas -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steve Dudenhoeffer Sent: Sunday, February 10, 2013 3:38 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine tv_port defaults to 27020 On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < chefeification...@gmail.com> wrote: There are some port that the game tries to bound automaticly, maybe there are some cvars to control that For all command line specific, look here: https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat ed_Server 2013/2/10 Landon Orr So that specified one of the ports, however when I run the server, it's still trying to use 27020, which is in use. Is it possible to specify that one as well? On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < know.thine.en...@gmail.com wrote: The parameter is "-port 27025", for example. On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: Currently I'm trying to host multiple servers on one machine. It's a very beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd like to run quite a bit of servers, 30+ if possible. However, I'm running into an issue when I spin up more than fiver servers or so. Right now I'm having issues with ports overlapping, as in the servers try to request a port but it's already in use. For the first five they would just use the next port up. However, it seems that a server uses two ports (correct me if I'm wrong) 27015 and 27020. After five servers, the next server tries to use 27015, it's in use so it tries 27020 and then it gives up. I know when you use the srcds_run command, there is a way to specify the port to use, but I can't remember the command. Also, how many ports do I have to specify? Just two, or are there more than that? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
Alright, so I've disabled sourcetv and set the client port, that seems to have cleared it up. I'm working on a script that will start multiple servers, and have the server's ports be in intervals of 5. Here's the command I'm using to start them, it's been working great so far but let me know if you guys have any suggestions. ./srcds_run -game tf -autoupdate -steambin /home/tf2user/hlds/steam -maxplayers 32 -port 27015 -nohltv +clientport 27115 +map mvm_coaltown +servercfgfile mvmserver1.cfg +motdfile mvmmotd.txt +mapcyclefile mvmmapcycle.txt I specify the maplist, mapcycle and motd files as I have different configs for MvM. On Sat, Feb 9, 2013 at 10:06 PM, Nomaan Ahmad wrote: > You can put it in the startup like: +tv_port 27021 > > On 10 February 2013 04:49, Sam White wrote: > > > I believe it's tv_port > > > > On 10 February 2013 04:15, Joel Zhang > wrote: > > > > > I am pretty sure there is a parameter for changing source TV's port as > > > well, but I can't remember offhand which. > > > On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: > > > > > > > Isn't there a strict port command too? > > > > On 10 Feb 2013 15:47, "Andreas Grimm" wrote: > > > > > > > > > You can add "-nohltv" to your start parameters if you don't use > > source > > > > tv. > > > > > Then the gameserver doesn't bind additional ports. > > > > > > > > > > - Andreas > > > > > > > > > > -Original Message- > > > > > From: hlds_linux-boun...@list.valvesoftware.com > > > > > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of > > Steve > > > > > Dudenhoeffer > > > > > Sent: Sunday, February 10, 2013 3:38 AM > > > > > To: Half-Life dedicated Linux server mailing list > > > > > Subject: Re: [hlds_linux] Overlapping port usage when running > > multiple > > > > > servers on one machine > > > > > > > > > > tv_port defaults to 27020 > > > > > > > > > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < > > > > > chefeification...@gmail.com> wrote: > > > > > > > > > > > There are some port that the game tries to bound automaticly, > maybe > > > > there > > > > > > are some cvars to control that > > > > > > > > > > > > For all command line specific, look here: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat > > > > > ed_Server > > > > > > > > > > > > > > > > > > 2013/2/10 Landon Orr > > > > > > > > > > > > > So that specified one of the ports, however when I run the > > server, > > > > it's > > > > > > > still trying to use 27020, which is in use. Is it possible to > > > specify > > > > > > that > > > > > > > one as well? > > > > > > > > > > > > > > > > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < > > > > know.thine.en...@gmail.com > > > > > > > >wrote: > > > > > > > > > > > > > > > The parameter is "-port 27025", for example. > > > > > > > > On Feb 9, 2013 6:00 PM, "Landon Orr" > > wrote: > > > > > > > > > > > > > > > > > Currently I'm trying to host multiple servers on one > machine. > > > > It's > > > > > a > > > > > > > very > > > > > > > > > beefy machine, two 16-core AMD processors and 64 gigs of > > > memory, > > > > so > > > > > > I'd > > > > > > > > > like to run quite a bit of servers, 30+ if possible. > However, > > > I'm > > > > > > > running > > > > > > > > > into an issue when I spin up more than fiver servers or so. > > > Right > > > > > now > > > > > > > I'm > > > > > > > > > having issues with ports overlapping,
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
You can put it in the startup like: +tv_port 27021 On 10 February 2013 04:49, Sam White wrote: > I believe it's tv_port > > On 10 February 2013 04:15, Joel Zhang wrote: > > > I am pretty sure there is a parameter for changing source TV's port as > > well, but I can't remember offhand which. > > On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: > > > > > Isn't there a strict port command too? > > > On 10 Feb 2013 15:47, "Andreas Grimm" wrote: > > > > > > > You can add "-nohltv" to your start parameters if you don't use > source > > > tv. > > > > Then the gameserver doesn't bind additional ports. > > > > > > > > - Andreas > > > > > > > > -Original Message- > > > > From: hlds_linux-boun...@list.valvesoftware.com > > > > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of > Steve > > > > Dudenhoeffer > > > > Sent: Sunday, February 10, 2013 3:38 AM > > > > To: Half-Life dedicated Linux server mailing list > > > > Subject: Re: [hlds_linux] Overlapping port usage when running > multiple > > > > servers on one machine > > > > > > > > tv_port defaults to 27020 > > > > > > > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < > > > > chefeification...@gmail.com> wrote: > > > > > > > > > There are some port that the game tries to bound automaticly, maybe > > > there > > > > > are some cvars to control that > > > > > > > > > > For all command line specific, look here: > > > > > > > > > > > > > > > > > > > > > > > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat > > > > ed_Server > > > > > > > > > > > > > > > 2013/2/10 Landon Orr > > > > > > > > > > > So that specified one of the ports, however when I run the > server, > > > it's > > > > > > still trying to use 27020, which is in use. Is it possible to > > specify > > > > > that > > > > > > one as well? > > > > > > > > > > > > > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < > > > know.thine.en...@gmail.com > > > > > > >wrote: > > > > > > > > > > > > > The parameter is "-port 27025", for example. > > > > > > > On Feb 9, 2013 6:00 PM, "Landon Orr" > wrote: > > > > > > > > > > > > > > > Currently I'm trying to host multiple servers on one machine. > > > It's > > > > a > > > > > > very > > > > > > > > beefy machine, two 16-core AMD processors and 64 gigs of > > memory, > > > so > > > > > I'd > > > > > > > > like to run quite a bit of servers, 30+ if possible. However, > > I'm > > > > > > running > > > > > > > > into an issue when I spin up more than fiver servers or so. > > Right > > > > now > > > > > > I'm > > > > > > > > having issues with ports overlapping, as in the servers try > to > > > > > request > > > > > > a > > > > > > > > port but it's already in use. For the first five they would > > just > > > > use > > > > > > the > > > > > > > > next port up. However, it seems that a server uses two ports > > > > (correct > > > > > > me > > > > > > > if > > > > > > > > I'm wrong) 27015 and 27020. After five servers, the next > server > > > > tries > > > > > > to > > > > > > > > use 27015, it's in use so it tries 27020 and then it gives > up. > > > > > > > > > > > > > > > > I know when you use the srcds_run command, there is a way to > > > > specify > > > > > > the > > > > > > > > port to use, but I can't remember the command. Also, how many > > > ports > > > > > do > > > > > > I > > > > > > > > have to specify? Just two, or are there more than t
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
I believe it's tv_port On 10 February 2013 04:15, Joel Zhang wrote: > I am pretty sure there is a parameter for changing source TV's port as > well, but I can't remember offhand which. > On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: > > > Isn't there a strict port command too? > > On 10 Feb 2013 15:47, "Andreas Grimm" wrote: > > > > > You can add "-nohltv" to your start parameters if you don't use source > > tv. > > > Then the gameserver doesn't bind additional ports. > > > > > > - Andreas > > > > > > -Original Message- > > > From: hlds_linux-boun...@list.valvesoftware.com > > > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steve > > > Dudenhoeffer > > > Sent: Sunday, February 10, 2013 3:38 AM > > > To: Half-Life dedicated Linux server mailing list > > > Subject: Re: [hlds_linux] Overlapping port usage when running multiple > > > servers on one machine > > > > > > tv_port defaults to 27020 > > > > > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < > > > chefeification...@gmail.com> wrote: > > > > > > > There are some port that the game tries to bound automaticly, maybe > > there > > > > are some cvars to control that > > > > > > > > For all command line specific, look here: > > > > > > > > > > > > > > > > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat > > > ed_Server > > > > > > > > > > > > 2013/2/10 Landon Orr > > > > > > > > > So that specified one of the ports, however when I run the server, > > it's > > > > > still trying to use 27020, which is in use. Is it possible to > specify > > > > that > > > > > one as well? > > > > > > > > > > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < > > know.thine.en...@gmail.com > > > > > >wrote: > > > > > > > > > > > The parameter is "-port 27025", for example. > > > > > > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > > > > > > > > > > > Currently I'm trying to host multiple servers on one machine. > > It's > > > a > > > > > very > > > > > > > beefy machine, two 16-core AMD processors and 64 gigs of > memory, > > so > > > > I'd > > > > > > > like to run quite a bit of servers, 30+ if possible. However, > I'm > > > > > running > > > > > > > into an issue when I spin up more than fiver servers or so. > Right > > > now > > > > > I'm > > > > > > > having issues with ports overlapping, as in the servers try to > > > > request > > > > > a > > > > > > > port but it's already in use. For the first five they would > just > > > use > > > > > the > > > > > > > next port up. However, it seems that a server uses two ports > > > (correct > > > > > me > > > > > > if > > > > > > > I'm wrong) 27015 and 27020. After five servers, the next server > > > tries > > > > > to > > > > > > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > > > > > > > > > > > I know when you use the srcds_run command, there is a way to > > > specify > > > > > the > > > > > > > port to use, but I can't remember the command. Also, how many > > ports > > > > do > > > > > I > > > > > > > have to specify? Just two, or are there more than that? > > > > > > > ___ > > > > > > > To unsubscribe, edit your list preferences, or view the list > > > > archives, > > > > > > > please visit: > > > > > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > > > > > ___ > > > > > > To unsubscribe, edit your list preferences, or view the list > > > archives, > > > > &
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
I am pretty sure there is a parameter for changing source TV's port as well, but I can't remember offhand which. On Feb 9, 2013 7:25 PM, "[BT]Black V" wrote: > Isn't there a strict port command too? > On 10 Feb 2013 15:47, "Andreas Grimm" wrote: > > > You can add "-nohltv" to your start parameters if you don't use source > tv. > > Then the gameserver doesn't bind additional ports. > > > > - Andreas > > > > -Original Message- > > From: hlds_linux-boun...@list.valvesoftware.com > > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steve > > Dudenhoeffer > > Sent: Sunday, February 10, 2013 3:38 AM > > To: Half-Life dedicated Linux server mailing list > > Subject: Re: [hlds_linux] Overlapping port usage when running multiple > > servers on one machine > > > > tv_port defaults to 27020 > > > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < > > chefeification...@gmail.com> wrote: > > > > > There are some port that the game tries to bound automaticly, maybe > there > > > are some cvars to control that > > > > > > For all command line specific, look here: > > > > > > > > > > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat > > ed_Server > > > > > > > > > 2013/2/10 Landon Orr > > > > > > > So that specified one of the ports, however when I run the server, > it's > > > > still trying to use 27020, which is in use. Is it possible to specify > > > that > > > > one as well? > > > > > > > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang < > know.thine.en...@gmail.com > > > > >wrote: > > > > > > > > > The parameter is "-port 27025", for example. > > > > > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > > > > > > > > > Currently I'm trying to host multiple servers on one machine. > It's > > a > > > > very > > > > > > beefy machine, two 16-core AMD processors and 64 gigs of memory, > so > > > I'd > > > > > > like to run quite a bit of servers, 30+ if possible. However, I'm > > > > running > > > > > > into an issue when I spin up more than fiver servers or so. Right > > now > > > > I'm > > > > > > having issues with ports overlapping, as in the servers try to > > > request > > > > a > > > > > > port but it's already in use. For the first five they would just > > use > > > > the > > > > > > next port up. However, it seems that a server uses two ports > > (correct > > > > me > > > > > if > > > > > > I'm wrong) 27015 and 27020. After five servers, the next server > > tries > > > > to > > > > > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > > > > > > > > > I know when you use the srcds_run command, there is a way to > > specify > > > > the > > > > > > port to use, but I can't remember the command. Also, how many > ports > > > do > > > > I > > > > > > have to specify? Just two, or are there more than that? > > > > > > ___ > > > > > > To unsubscribe, edit your list preferences, or view the list > > > archives, > > > > > > please visit: > > > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > > > ___ > > > > > To unsubscribe, edit your list preferences, or view the list > > archives, > > > > > please visit: > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
Isn't there a strict port command too? On 10 Feb 2013 15:47, "Andreas Grimm" wrote: > You can add "-nohltv" to your start parameters if you don't use source tv. > Then the gameserver doesn't bind additional ports. > > - Andreas > > -Original Message- > From: hlds_linux-boun...@list.valvesoftware.com > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steve > Dudenhoeffer > Sent: Sunday, February 10, 2013 3:38 AM > To: Half-Life dedicated Linux server mailing list > Subject: Re: [hlds_linux] Overlapping port usage when running multiple > servers on one machine > > tv_port defaults to 27020 > > On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < > chefeification...@gmail.com> wrote: > > > There are some port that the game tries to bound automaticly, maybe there > > are some cvars to control that > > > > For all command line specific, look here: > > > > > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat > ed_Server > > > > > > 2013/2/10 Landon Orr > > > > > So that specified one of the ports, however when I run the server, it's > > > still trying to use 27020, which is in use. Is it possible to specify > > that > > > one as well? > > > > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang > > >wrote: > > > > > > > The parameter is "-port 27025", for example. > > > > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > > > > > > > Currently I'm trying to host multiple servers on one machine. It's > a > > > very > > > > > beefy machine, two 16-core AMD processors and 64 gigs of memory, so > > I'd > > > > > like to run quite a bit of servers, 30+ if possible. However, I'm > > > running > > > > > into an issue when I spin up more than fiver servers or so. Right > now > > > I'm > > > > > having issues with ports overlapping, as in the servers try to > > request > > > a > > > > > port but it's already in use. For the first five they would just > use > > > the > > > > > next port up. However, it seems that a server uses two ports > (correct > > > me > > > > if > > > > > I'm wrong) 27015 and 27020. After five servers, the next server > tries > > > to > > > > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > > > > > > > I know when you use the srcds_run command, there is a way to > specify > > > the > > > > > port to use, but I can't remember the command. Also, how many ports > > do > > > I > > > > > have to specify? Just two, or are there more than that? > > > > > ___ > > > > > To unsubscribe, edit your list preferences, or view the list > > archives, > > > > > please visit: > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
You can add "-nohltv" to your start parameters if you don't use source tv. Then the gameserver doesn't bind additional ports. - Andreas -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steve Dudenhoeffer Sent: Sunday, February 10, 2013 3:38 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine tv_port defaults to 27020 On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < chefeification...@gmail.com> wrote: > There are some port that the game tries to bound automaticly, maybe there > are some cvars to control that > > For all command line specific, look here: > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicat ed_Server > > > 2013/2/10 Landon Orr > > > So that specified one of the ports, however when I run the server, it's > > still trying to use 27020, which is in use. Is it possible to specify > that > > one as well? > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang > >wrote: > > > > > The parameter is "-port 27025", for example. > > > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > > > > > Currently I'm trying to host multiple servers on one machine. It's a > > very > > > > beefy machine, two 16-core AMD processors and 64 gigs of memory, so > I'd > > > > like to run quite a bit of servers, 30+ if possible. However, I'm > > running > > > > into an issue when I spin up more than fiver servers or so. Right now > > I'm > > > > having issues with ports overlapping, as in the servers try to > request > > a > > > > port but it's already in use. For the first five they would just use > > the > > > > next port up. However, it seems that a server uses two ports (correct > > me > > > if > > > > I'm wrong) 27015 and 27020. After five servers, the next server tries > > to > > > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > > > > > I know when you use the srcds_run command, there is a way to specify > > the > > > > port to use, but I can't remember the command. Also, how many ports > do > > I > > > > have to specify? Just two, or are there more than that? > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
tv_port defaults to 27020 On Sat, Feb 9, 2013 at 9:17 PM, Giovanni Harting < chefeification...@gmail.com> wrote: > There are some port that the game tries to bound automaticly, maybe there > are some cvars to control that > > For all command line specific, look here: > > https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server > > > 2013/2/10 Landon Orr > > > So that specified one of the ports, however when I run the server, it's > > still trying to use 27020, which is in use. Is it possible to specify > that > > one as well? > > > > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang > >wrote: > > > > > The parameter is "-port 27025", for example. > > > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > > > > > Currently I'm trying to host multiple servers on one machine. It's a > > very > > > > beefy machine, two 16-core AMD processors and 64 gigs of memory, so > I'd > > > > like to run quite a bit of servers, 30+ if possible. However, I'm > > running > > > > into an issue when I spin up more than fiver servers or so. Right now > > I'm > > > > having issues with ports overlapping, as in the servers try to > request > > a > > > > port but it's already in use. For the first five they would just use > > the > > > > next port up. However, it seems that a server uses two ports (correct > > me > > > if > > > > I'm wrong) 27015 and 27020. After five servers, the next server tries > > to > > > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > > > > > I know when you use the srcds_run command, there is a way to specify > > the > > > > port to use, but I can't remember the command. Also, how many ports > do > > I > > > > have to specify? Just two, or are there more than that? > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
There are some port that the game tries to bound automaticly, maybe there are some cvars to control that For all command line specific, look here: https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server 2013/2/10 Landon Orr > So that specified one of the ports, however when I run the server, it's > still trying to use 27020, which is in use. Is it possible to specify that > one as well? > > > On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang >wrote: > > > The parameter is "-port 27025", for example. > > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > > > Currently I'm trying to host multiple servers on one machine. It's a > very > > > beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd > > > like to run quite a bit of servers, 30+ if possible. However, I'm > running > > > into an issue when I spin up more than fiver servers or so. Right now > I'm > > > having issues with ports overlapping, as in the servers try to request > a > > > port but it's already in use. For the first five they would just use > the > > > next port up. However, it seems that a server uses two ports (correct > me > > if > > > I'm wrong) 27015 and 27020. After five servers, the next server tries > to > > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > > > I know when you use the srcds_run command, there is a way to specify > the > > > port to use, but I can't remember the command. Also, how many ports do > I > > > have to specify? Just two, or are there more than that? > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
So that specified one of the ports, however when I run the server, it's still trying to use 27020, which is in use. Is it possible to specify that one as well? On Sat, Feb 9, 2013 at 7:03 PM, Joel Zhang wrote: > The parameter is "-port 27025", for example. > On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > > > Currently I'm trying to host multiple servers on one machine. It's a very > > beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd > > like to run quite a bit of servers, 30+ if possible. However, I'm running > > into an issue when I spin up more than fiver servers or so. Right now I'm > > having issues with ports overlapping, as in the servers try to request a > > port but it's already in use. For the first five they would just use the > > next port up. However, it seems that a server uses two ports (correct me > if > > I'm wrong) 27015 and 27020. After five servers, the next server tries to > > use 27015, it's in use so it tries 27020 and then it gives up. > > > > I know when you use the srcds_run command, there is a way to specify the > > port to use, but I can't remember the command. Also, how many ports do I > > have to specify? Just two, or are there more than that? > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
Re: [hlds_linux] Overlapping port usage when running multiple servers on one machine
The parameter is "-port 27025", for example. On Feb 9, 2013 6:00 PM, "Landon Orr" wrote: > Currently I'm trying to host multiple servers on one machine. It's a very > beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd > like to run quite a bit of servers, 30+ if possible. However, I'm running > into an issue when I spin up more than fiver servers or so. Right now I'm > having issues with ports overlapping, as in the servers try to request a > port but it's already in use. For the first five they would just use the > next port up. However, it seems that a server uses two ports (correct me if > I'm wrong) 27015 and 27020. After five servers, the next server tries to > use 27015, it's in use so it tries 27020 and then it gives up. > > I know when you use the srcds_run command, there is a way to specify the > port to use, but I can't remember the command. Also, how many ports do I > have to specify? Just two, or are there more than that? > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
[hlds_linux] Overlapping port usage when running multiple servers on one machine
Currently I'm trying to host multiple servers on one machine. It's a very beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd like to run quite a bit of servers, 30+ if possible. However, I'm running into an issue when I spin up more than fiver servers or so. Right now I'm having issues with ports overlapping, as in the servers try to request a port but it's already in use. For the first five they would just use the next port up. However, it seems that a server uses two ports (correct me if I'm wrong) 27015 and 27020. After five servers, the next server tries to use 27015, it's in use so it tries 27020 and then it gives up. I know when you use the srcds_run command, there is a way to specify the port to use, but I can't remember the command. Also, how many ports do I have to specify? Just two, or are there more than that? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux