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
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla