- Joined
- May 23, 2019
- Messages
- 20
- Reaction score
- 4
Hi,
I have some reconnections between the 3cx server and the 3cx sbc, about 1 to 4 times per day.
Each time, the server, or the SBC, complains about a keep-alive timeout, and stop or restart the tunnel.
We could think that it could be a network lag, but I managed to find that during this time, datas are streamed between SBC and server.
I ran some tests to check what is faulty, and it looks like the 3CXTunnel process may lag.
If I log "netstat" output every second, I can see that before the timeout, the recv-q of the 3CXTunnel increase, and stay not empty for some seconds, and finally hit the timeout.
I logged also "top" output to see if a process takes all the 2 cpu time, but no. And meanwhile, all other process are running fine, even my log process.
I have lots of free memory, look at the current top header :
I have collected SBC and server logs if it can help.
3CX Version : Enterprise 16.0.4.493
Server OS : Debian 9
3CX Server is in a VM
SBC version : 16.0.390
SBC OS : Debian 9
SBC is in a VM
Is it a problem of the 3CXTunnel process ?
If not, how can I troubleshoot this deeper ?
Thanks for your help
I have some reconnections between the 3cx server and the 3cx sbc, about 1 to 4 times per day.
Each time, the server, or the SBC, complains about a keep-alive timeout, and stop or restart the tunnel.
We could think that it could be a network lag, but I managed to find that during this time, datas are streamed between SBC and server.
I ran some tests to check what is faulty, and it looks like the 3CXTunnel process may lag.
If I log "netstat" output every second, I can see that before the timeout, the recv-q of the 3CXTunnel increase, and stay not empty for some seconds, and finally hit the timeout.
I logged also "top" output to see if a process takes all the 2 cpu time, but no. And meanwhile, all other process are running fine, even my log process.
I have lots of free memory, look at the current top header :
Code:
top - 17:20:29 up 174 days, 23:38, 1 user, load average: 0.52, 0.39, 0.31
Tasks: 111 total, 1 running, 110 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.9 us, 5.6 sy, 0.0 ni, 88.2 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
KiB Mem : 12017472 total, 559260 free, 1423456 used, 10034756 buff/cache
KiB Swap: 2097148 total, 2097148 free, 0 used. 10015900 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6329 phonesy+ 20 0 3685644 357432 80376 S 5.6 3.0 883:28.57 3CXManagementCo
28043 phonesy+ 20 0 1205220 27568 10016 S 5.6 0.2 2747:42 3CXMediaServer
21323 phonesy+ 20 0 1247112 51136 14204 S 3.0 0.4 258:54.52 3CXIVR
21102 phonesy+ 20 0 1263368 73404 14280 S 1.7 0.6 140:52.88 3CXPhoneSystem
21429 phonesy+ 20 0 1023892 16340 9484 S 1.3 0.1 274:33.62 3CXTunnel
28091 phonesy+ 20 0 3414444 149388 53024 S 1.0 1.2 1226:48 CloudServicesWa
6317 phonesy+ 20 0 1039056 68424 9300 S 0.7 0.6 96:27.58 3CXSLDBServ
6318 postgres 20 0 289724 22948 19144 S 0.7 0.2 20:23.72 postgres
I have collected SBC and server logs if it can help.
3CX Version : Enterprise 16.0.4.493
Server OS : Debian 9
3CX Server is in a VM
SBC version : 16.0.390
SBC OS : Debian 9
SBC is in a VM
Is it a problem of the 3CXTunnel process ?
If not, how can I troubleshoot this deeper ?
Thanks for your help