Thank you very much for your quick response!
I am considering the option of switching to 5.7, but I would like to understand this error now and fix it.
Most of the clients are behind NAT, but Kamailio and RTPEngiene have a white IP, and billing to whom Kamailio contacts to receive a quota and further billing are located in the same subnet. The database is on the same server as Kamailio.
There is one more point that I did not mention above, before the 2nd accident occurs: cdp[api_process.c:110] api_callback(): Recived diameter response outside of threshold (500) - [520-800]. CDP config: Vendor_Id="10415" Product_Name="CDiameterPeer" AcceptUnknownPeers="0" DropUnknownOnDisconnect="0" Tc="30" Workers="10" QueueLength="2" ConnectTimeout="5" TransactionTimeout="5" SessionsHashSize="128" DefaultAuthSessionTimeout="60" MaxAuthSessionTimeout="300"
Are these parameters enough for cps 70-100?
I tried "kamctl trap" several times but couldn't figure it out. The main question that worries me is why, when the workers are full, the service freezes and does not recover on its own? Only restarting the service helps.