Re: Re: 'Non closed socket' bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This may not be related and probably isn't, but it's might be useful for the problem.

I've run into some applications that don't cleanly close unused sockets. Linux has a default value of 7200 for net.ipv4.tcp_keepalive_time. As I recall the value is minutes so 7200 is like 2 hours. I changed the parameter to 450 and all my problems went away.

the command to do that is:

sysctrl -w net.ipv4.tcp_keepalive_time = 450

In my case, the unused sockets were for XML-RPC connections, but it might help here too.



kompnet wrote:
Hi again, Michal.
What arbitrary delay you talk about?
Yesterday one call placed at 18:38 Msk and ended at 18:41 Msk was closed by gnugk only at 20:03 Msk.
And logical channel between gnugk and terminating gw was not closed.
Among other things this phenomenon results in occurrence superfluous IP traffic. And I could not understand, why January, 1-st at rather small amount billing minutes IP traffic of time in 4 has exceeded usual IP traffic (on a parity)!
Excuse me for whining. You are not obliged to pay attention to this problem. But to pretend, that it does not exist, simply strange!
Igor.


В письме от 2 Январь 2004 18:21 вы написали:

There is nothing wrong with the open sockets. These can be deleted
with some arbitrary delay and should not affect other calls.





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opлk
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id┘49
Homepage: http://www.gnugk.org/




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opлk _______________________________________________ List: Openh323gk-users@lists.sourceforge.net Archive: http://sourceforge.net/mailarchive/forum.php?forum_id┘49 Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux