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(a)gmail.com>
Sent: Thursday, June 18, 2020 3:16 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>rg>; David
VILLAUME <david.villaume(a)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