[Users] TCP lifetime
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Feb 21 13:49:13 CET 2007
Hi!
I just read an email from Andrei on the ser list:
>That's strange, if tcp_connection_lifetime is not set in ser.cfg, ser
>deletes idle connection after 2 minutes. ser will keep the tcp
>connections forever (well technically not forever, but for several
>years) only if tcp_connection_lifetime is set to -1.
Thus, I guess -1 should work in openser too.
regards
klaus
Bogdan-Andrei Iancu wrote:
> there was no such feature ever (as far as I remember); on the other hand
> I consider it a bit dangerous - keeping endless TCP connections, at
> global level. maybe a better approach will be to have the ability to set
> the lifetime from script for the current TCP connection...just a
> suggestion...
>
> regards,
> bogdan
>
> Klaus Darilion wrote:
>> Bogdan-Andrei Iancu wrote:
>>> Hi Klaus,
>>>
>>> AFAIK, there is no such behaviour for 0 value......where do you have
>>> this info from?
>>
>> I can't remember .. maybe it was with ser? Anyway can this implemented?
>>
>> regards
>> klaus
>>
>>
>>>
>>> regards,
>>> bogdan
>>>
>>> Klaus Darilion wrote:
>>>> Hi!
>>>>
>>>> I thought setting the tcp_connection_lifetime to 0 should keep them
>>>> open endlessly, but in my case the proxy closes the TCP connection
>>>> ~10 seconds after the last SIP message.
>>>>
>>>> What am I doing wrong?
>>>>
>>>> regards
>>>> klaus
>>>>
>>>
>>
>>
>
--
Klaus Darilion
nic.at
More information about the sr-users
mailing list