Hello,
After a new check , can’t get answer, on the node for : “kamctl rpc dlg.stats_active”
And I see in logs that about for dmq replicated calls (dialog [dialog.c:2400]:
rpc_dlg_stats_active(): not active - state: 5) , disappear after the previous message
appears.
After trying a “kamctl rpc dlg.stats_active”, I cannot even have answer to ‘kamctl rpc
core.uptime’ anymore.
Have you any idea to go ahead with troubleshooting ?
Regards,
David
From: David VILLAUME
Sent: Thursday, June 18, 2020 3:31 PM
To: miconda(a)gmail.com; Kamailio (SER) - Users Mailing List
<sr-users(a)lists.kamailio.org>
Subject: RE: [SR-Users] RPC Socket stops answering after a few time.
Hello Daniel,
Thanks for your quick answer.
In fact I cannot even enter in kamcmd interactive mode after this happens.
Seems that “ kamctl rpc core.uptime “ can still do the job.
I’m using kamailio_exporter with the following methods :
tm.stats,sl.stats,core.shmmem,core.uptime,dispatcher.list,dlg.stats_active.
I haven’t process that requests longest data on the host, so I’m not sure if it can be
related.
Regards,
David
From: Daniel-Constantin Mierla <miconda@gmail.com<mailto:miconda@gmail.com>>
Sent: Thursday, June 18, 2020 3:16 PM
To: Kamailio (SER) - Users Mailing List
<sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>; David
VILLAUME <david.villaume@sewan.fr<mailto:david.villaume@sewan.fr>>
Subject: Re: [SR-Users] RPC Socket stops answering after a few time.
Hello,
what is the command you run? Maybe the result is too big and you need to change the params
for ctl module.
Or is it for all commands, including those printing small data, such case core.uptime?
You can also try the 'kamctl rpc COMMAND', which uses jsonrpcs, the error you
pasted is from ctl module, used by kamcmd.
Cheers,
Daniel
On 18.06.20 15:00, David VILLAUME wrote:
Hello,
I’m having problem with RPC socket that stops answering after approximatively one or two
hours.
Version is 5.2.7
My principal host with exact same version and configuration has no problem, only the
backup node (Keepalived + DMQ) encounters the problem.
I could catch this log about the problem, but didn’t find any reason for this :
Jun 18 10:53:33 sbc-kam-partner-b kamailio[83170]: ERROR: ctl [binrpc_run.c:600]:
rpc_send(): ERROR: binrprc: rpc_send: send failed
My configuration about rpc :
loadmodule "jsonrpcs.so"
modparam("ctl", "binrpc",
"unix:/var/run/kamailio/kamailio_ctl")
modparam("ctl", "binrpc_max_body_size", 1024)
Do you have any idea to troubleshoot this ?
Regards,
David
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.com<http://www.asipto.com>
www.twitter.com/miconda<http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Funding:
https://www.paypal.me/dcmierla