Actions
Bug #4785
closedDozens of 'pcu_sock.c:870 PCU socket not connected, dropping message' when osmo-pcu disconnects/crashes
Start date:
10/09/2020
Due date:
% Done:
100%
Spec Reference:
Description
When using dynamic PDCH timeslots (TCH/F_TCH/H_PDCH), disconnection of the PCU (e.g. due to a crash) makes osmo-bts flood stderr with:
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
I guess we need to handle PCU disconnection gracefully and deactivate all PDCH slots.
Updated by fixeria over 3 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Indeed, dynamic timeslots were not handled in pcu_sock_close():
https://gerrit.osmocom.org/c/osmo-bts/+/20494 pcu_sock: fix pcu_sock_close(): deactivate dynamic timeslots too
This changes fixes the problem for me.
Actions