Kamailio  first  gives timeout on ctl unix socket as I am exporting data using prometheus exporter,  after a few minutes it stops responding to any sip request  on default/production  udp port  binded with multiple IP addresses for sip traffic.

The other listing port which is used by keepalived check script   for  bing-pong keeps responding to option messages.
 
Its very random behaviour occurs after a few days or after a few months, the system having max load 350 concurrent calls with load average 200-300. 

I am attaching core dump which is collected before restarting the process. 

Please let me know if more information is required.

version: kamailio 5.4.1 (x86_64/linux) 2ca223
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 2ca223 

Thankyou in advance.
--
Regards
M Arqum