Can any of you show me how your Linux CSS command line looks like ?

Michael

-----Oprindelig meddelelse-----
Fra: [email protected] 
[mailto:[email protected]] På vegne af Allan Button
Sendt: 27. juni 2010 18:57
Til: Half-Life dedicated Linux server mailing list
Cc: Half-Life dedicated Linux server mailing list
Emne: Re: [hlds_linux] New Source server takes a random port

Client Port:

http://tinyurl.com/2awheq7

Sent from my mobile.

On Jun 27, 2010, at 12:52 PM, "Saul Rennison"  
<[email protected]> wrote:

> What is a client port anyway?
>
> On Sunday, June 27, 2010, Cc2iscooL <[email protected]> wrote:
>> Uh...
>>
>> The source engine always takes two ports. One server and one client.
>>
>> Either specify client ports as ICS mentioned or put servers farther  
>> apart.
>>
>> On Sun, Jun 27, 2010 at 9:08 AM, Michael K. Gosvig <[email protected] 
>> >wrote:
>>
>>> The problem is, in the start command line the server is set to a  
>>> specific
>>> port, example 27030. But in the screen it writes. " Network: IP
>>> 92.246.12.12, mode MP, dedicated Yes, ports 27030 SV / 27031 CL"
>>>
>>> The server side is set to 27030, but then the client side takes  
>>> 27031, and
>>> there the problem starts, as there is another server on 27031. And  
>>> when it
>>> trys to start it's port I taken by the previous one on the client  
>>> side.
>>>
>>> Why is it that the client side on some severs take the next port  
>>> but on
>>> others take "-1" in screen ?
>>>
>>> Michael
>>>
>>> -----Oprindelig meddelelse-----
>>> Fra: [email protected]
>>> [mailto:[email protected]] På vegne af M 
>>> arc.B
>>> Sendt: 27. juni 2010 14:45
>>> Til: Half-Life dedicated Linux server mailing list
>>> Emne: Re: [hlds_linux] New Source server takes a random port
>>>
>>> Michael,
>>>
>>> As far as I know, it don't pick up a random port. It try port + 1  
>>> until it
>>> find a free port.
>>> There are other games that work the same way, so I think you  
>>> should make a
>>> fix on your side since you are not supposed to start a server on a  
>>> port
>>> that
>>> is already used.
>>>
>>> Checking if that the port is available using netstat before you  
>>> launch a
>>> server is the best way, and you can also make a sleep between the  
>>> server
>>> kill and the server start.
>>>
>>> We are hosting about 5.000 and have no issue with this new port  
>>> management.
>>> We do also reboot most servers in the morning.
>>>
>>> Cheers,
>>>
>>> Marc.
>>>
>>> On Sun, Jun 27, 2010 at 2:04 PM, Eric Riemers <[email protected]>  
>>> wrote:
>>>
>>>> You can always do a netstat -an|grep LISTEN|grep <portnumber>  
>>>> then "if
>>>> found, wait 10 seconds" and try again before starting.
>>>> Might not be the nicest solution , but could work for you.
>>>>
>>>> Eric
>>>>
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf Of  
>>>> Michael
>>> K.
>>>> Gosvig
>>>> Sent: zondag 27 juni 2010 2:50
>>>> To: 'Half-Life dedicated Linux server mailing list'
>>>> Subject: Re: [hlds_linux] New Source server takes a random port
>>>>
>>>> No luck with "-hostport" instead of "-port"
>>>>
>>>> -----Oprindelig meddelelse-----
>>>> Fra: [email protected]
>>>> [mailto:[email protected]] På vegne af 
>>>>  Cc2iscooL
>>>> Sendt: 27. juni 2010 02:38
>>>> Til: Half-Life dedicated Linux server mailing list
>>>> Emne: Re: [hlds_linux] New Source server takes a random port
>>>>
>>>> Yes but the ports shouldn't be in use if they're restarting.  
>>>> Maybe try
>>>> adding some delays to your reboot scripts so the daemon has a  
>>>> chance to
>>>> shut
>>>> down and a check to see if the process is closed before starting  
>>>> up a new
>>>> server.
>>>>
>>>> On Sat, Jun 26, 2010 at 7:27 PM, Michael K. Gosvig
>>>> <[email protected]>wrote:
>>>>
>>>>> The problem is, that we are an official Gameserver provider, so  
>>>>> when
>>>>> our servers restart in the morning, som servers are faster than
>>>>> others, it depends on how many mods the customer has installed.
>>>>>
>>>>> That why we loved the way the old engine worked, if it could not  
>>>>> get
>>>>> the port, written in the command line, it would not start. But  
>>>>> the new
>>>>> Source Engine, just takes a random port to start on. It's seams  
>>>>> like
>>>>> the server sometimes ignores the "-port xxxxx" in the command  
>>>>> line.
>>>>>
>>>>>
>
> -- 
>
> Thanks,
> - Saul.
>
> _______________________________________________
> 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


_______________________________________________
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