Hi everyone,<br><br>I've got a strange problem on my servers which has happened 3 times in the last month now...<br><br>I have FS listening on 2 IP addresses, bound to bond0 and bond0:0. FS suddently stops processing any calls arriving on one of those IPs.<br>
<br>tcpdump/tshark still shows INVITE packets arriving on my server, but FS doesn't process them and there are no 100 Trying etc replies.<br><br>Initially FreeSWITCH still owns the socket, the only odd thing is Send-Q is 744:<br>
ss1:~# netstat -anp | head -n2<br> Active Internet connections (servers and established)<br> Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name<br> ss1:~# netstat -anp | grep 5060<br>
tcp 0 0 <a href="http://81.27.101.252:5060">81.27.101.252:5060</a> 0.0.0.0:* LISTEN 27587/freeswitch<br> tcp 0 0 <a href="http://81.27.101.233:5060">81.27.101.233:5060</a> 0.0.0.0:* LISTEN 27587/freeswitch<br>
udp 0 744 <a href="http://81.27.101.252:5060">81.27.101.252:5060</a> 0.0.0.0:* 27587/freeswitch<br> udp 0 0 <a href="http://81.27.101.233:5060">81.27.101.233:5060</a> 0.0.0.0:* 27587/freeswitch<br>
<br>I stop freeswitch so I can restart it:<br>ss1:~# killall -9 freeswitch<br><br>Freeswitch is no longer running (no zombies etc):<br>ss1:~# ps faux | grep freeswitch<br>root 20723 0.0 0.0 5164 788 pts/3 S+ 19:56 0:00 \_ grep --exclude-dir=.svn --color freeswitch<br>
<br>But the port is still open!<br>ss1:~# netstat -anp | grep :5060<br>udp 0 744 <a href="http://81.27.101.252:5060">81.27.101.252:5060</a> 0.0.0.0:* -<br><br>This means I can't restart FreeSWITCH because the port is already in use! I have to reboot to free the port up.<br>
<br><br>Has anyone seen this before? Does anyone know what could cause this?<br><br><br>Since it's still in use after FS has stopped, I'm thinking a Linux kernel problem. I'm running Debian Lenny with kernel 2.6.26-2-amd64. The hardware is a NEC server with 2x E5405 xeon (8cores total) and 8gb ram. It's happened on 2 servers, so I'm thinking something in software. I updated kernel a couple of months back so perhaps that's related, before that everything was fine for 2 years.<br>
<br><br>Thanks everyone...<br><br>-Steve<br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>