Check out the "Replay feature" email that "Lasse" started...

There are some commands to change the ports for replay. (some new feature)

Basicly srcds uses 3+ ports now, default for replay is 27040+ unless another port is defined..

Adding: +replay_port 9000 to the startupcommand will make 9000 the "default" port and if 9000 is occupied it will jump to the next and so on..


Venlig hilsen,
Patrick Thagaard Hansen

-----Oprindelig meddelelse----- From: molnár lászló
Sent: Monday, May 09, 2011 10:21 PM
To: [email protected]
Subject: [hlds_linux] Port assing after last 2 updates

Hello

We are getting some port allocation problems since the MAY.05-07 updates on CSS. The porblem is that som servers can't start on their assigned port because other
server occupies their ports,this mostly happens if a customer suts down his
server and another server close to the first customers port range restarts his
server.

At first we thought that this is because the know Eventscript problem, but we realized
that servers whit no EV installed are doin this too.

Our server port are starting from 27030 and every new server on the same ip is started on every 5 port
(for example 27030 , 27035 , 27040)

Source TV ports are set up so they are using the server port +1
(for example, if the game server runs on 27030 then the Source Tv port is 27031)

So everything worked fine untill the last 2 updates, but after that, we don't know why the servers
are starting on random ports
(for example the server wich was normaly on 27040 port, started on the 27046 port)

Do others experiencing the same problem?
Or do someon know how could we fix this, cause it's really anoying to search every time -with
the netstat-unpl command- wich PID is occupieing the needed port.

And finally an example from a server.

This server is assigned to run on the 27035 port.
If ask for the PID occupied ports i got this:
----
server ~ # netstat -unpl | grep 5984

udp 0 0 IP:27008 0.0.0.0:* 5984/srcds_linux

udp 0 0 IP:26905 0.0.0.0:* 5984/srcds_linux

udp 0 0 IP:27035 0.0.0.0:* 5984/srcds_linux ( ez a –port flagje )

udp 0 0 IP:27036 0.0.0.0:* 5984/srcds_linux ( ez a sourcetv portja )

udp 0 0 IP:27044 0.0.0.0:* 5984/srcds_linux
----

Greats

Laszlo
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to