----- Forwarded Message ---- From: vu nt vunt83@yahoo.com To: serusers@iptel.org Sent: Tuesday, July 15, 2008 2:05:42 PM Subject: SIP SER-Help me
My system is running Ser-0.8.6. The system have problem : tail -f /var/log/messages Jul 15 13:50:35 SIP-1 ser[32724]: ERROR: t_forward_nonack: failure to add branches Jul 15 13:50:36 SIP-1 ser[32727]: ERROR: build_req_buf_from_sip_req: out of memory Jul 15 13:50:36 SIP-1 ser[32727]: ERROR: print_uac_request: no pkg_mem Jul 15 13:50:36 SIP-1 ser[32727]: ERROR: t_forward_nonack: failure to add branches Jul 15 13:50:36 SIP-1 ser[32733]: ERROR: build_req_buf_from_sip_req: out of memory Jul 15 13:50:36 SIP-1 ser[32733]: ERROR: print_uac_request: no pkg_mem Jul 15 13:50:36 SIP-1 ser[32733]: ERROR: t_forward_nonack: failure to add branches Jul 15 13:50:37 SIP-1 ser[32731]: ERROR: build_req_buf_from_sip_req: out of memory Jul 15 13:50:37 SIP-1 ser[32731]: ERROR: print_uac_request: no pkg_mem Jul 15 13:50:37 SIP-1 ser[32731]: ERROR: t_forward_nonack: failure to add branches Jul 15 13:50:39 SIP-1 ser[32731]: ERROR: build_req_buf_from_sip_req: out of memory Jul 15 13:50:39 SIP-1 ser[32731]: ERROR: print_uac_request: no pkg_mem Jul 15 13:50:39 SIP-1 ser[32731]: ERROR: t_forward_nonack: failure to add branches Jul 15 13:50:39 SIP-1 ser[32731]: ERROR: build_req_buf_from_sip_req: out of memory
But when I monitor by top command on Linux system, the Ram is not out off. top - 14:02:52 up 7 days, 2:01, 1 user, load average: 0.37, 0.35, 0.30 Tasks: 86 total, 1 running, 85 sleeping, 0 stopped, 0 zombie Cpu(s): 1.3% us, 0.7% sy, 0.0% ni, 91.5% id, 6.3% wa, 0.0% hi, 0.2% si Mem: 1034424k total, 525060k used, 509364k free, 234916k buffers Swap: 2044072k total, 0k used, 2044072k free, 154564k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 32733 root 16 0 38656 22m 34m S 1.0 2.3 1:34.70 ser 32716 root 16 0 38656 23m 34m S 0.7 2.3 1:37.83 ser 32722 root 15 0 38648 22m 34m S 0.7 2.3 1:29.31 ser Can you help me solve this problem ? . Thank you very much BRs Vungo
vu nt wrote:
My system is running Ser-0.8.6. The system have problem : Jul 15 13:50:36 SIP-1 ser[32727]: ERROR: build_req_buf_from_sip_req: out of memory
But when I monitor by top command on Linux system, the Ram is not out off.
SER is using its own memory pool. It just grabs a predefined amount of memory upon its start and goes with that. In earlier releases, the amount was configured a wee bit low.
Unfortunately, you can only mend this by re-compiling SER. Set the value behind
#define PKG_MEM_POOL_SIZE
in config.h accordingly. The current versions have
#define PKG_MEM_POOL_SIZE 4*1024*1024
ie., 4 MByte. That should be enough. But if you keep having problems, increase it further.
HTH and Best regards, Martin