It's normal for the kernel to hold onto a port for a while after it's been closed.<br><br>I believe it's so that you don't get another program grabbing the port number and receiving data that was meant for the first program. Partly that's good for security, and partly it stops the program getting data not meant for it which may confuse it.<br>
<br>-Steve<br><br><br><div class="gmail_quote">On 30 January 2011 17:37, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">right, after hours I checked it again and yes, the kernel
removed them.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thanks Steve</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b>
<a title="steveayre@gmail.com" href="mailto:steveayre@gmail.com" target="_blank">Steven Ayre</a>
</div>
<div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Sunday, January 30, 2011 6:06
AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users] clean UDP
sockets</div>
<div><br></div>
<div>The kernel will clean them up in it's own good time. Don't worry about
it.<br><br>Steve on iPhone</div>
<div><br>On 30 Jan 2011, at 04:28, "Madovsky" <<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>>
wrote:<br><br></div>
<div></div>
<blockquote type="cite">
<div>
<div><font size="2">is there a way to clean inactive UDP sockets
after</font></div>
<div><font size="2">a timeout ?</font></div>
<div><font size="2">when I do on my linux console</font></div>
<div><font size="2">[bash] # netstat -tuvnap</font></div>
<div><font size="2">I can see a lot of UDP sockets not removed after
calls.</font></div>
<div><font size="2">tried also to modify the kernel with
nf_conntrack_udp_timeout without success.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thanks</font></div></div></blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br><span>FreeSWITCH-users
mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
<span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br>
</div></blockquote>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>FreeSWITCH-users
mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>