[SR-Users] Command 'sercmd lcr.dump_rules' out of memory.

Alexandre Abreu alexandre.abreu at redt.com.br
Tue Apr 19 15:28:44 CEST 2011


Hello.

When running 'sercmd lcr.reload' (without any errors) and then 'sercmd
lcr.dump_rules' I've got the following message:
ERROR: ctl [binrpc_run.c:510]: ERROR: binrprc: rpc_send: too many message
chunks

Then I increased the CTL module params  'binrpc_max_body_size' and '
binrpc_struct_max_body_size'.
Re-run the command:

ERROR: ctl [binrpc_run.c:908]: ERROR: binrpc: rpc_add: out of memory

kamailio -V
version: kamailio 3.1.3 (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id:
compiled on 19:43:43 Apr 18 2011 with gcc 4.1.2

It doesn't matter if I increase the PKG_SIZE (> 8).
The LCR tables are very small.

lcr_rule - 445 lines
lcr_rule_target - 445 lines
lcr_gw - 7 lines

Alexandre





More information about the sr-users mailing list