Hello,
might be something wrong in the ctl module, but in order to get more
details, run kamailio with:
debug=3
memdbg=2
memlog=2
children=1
When you get the memory error, stop the proxy and send all log messages
from start to end.
Cheers,
Daniel
On 4/19/11 3:28 PM, Alexandre Abreu wrote:
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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users