[OpenSIPS-Devel] Need help on OpenSIPS Memory Issues

George Lee whglee at gmail.com
Tue Apr 27 20:58:46 CEST 2010


Hi Experts,

Our production OpenSIPS is running into memory issues:
/usr/sbin/opensips[18292]: ERROR:core:do_action: memory allocation failure
/usr/sbin/opensips[18292]: ERROR:core:pv_set_ruri_user: do action failed
/usr/sbin/opensips[18292]: ERROR:core:do_assign: setting PV failed
/usr/sbin/opensips[18292]: ERROR:core:do_assign: error at line: 1032
/usr/sbin/opensips[18292]: ERROR:core:do_action: memory allocation failure
/usr/sbin/opensips[18292]: ERROR:core:eval_elem: no more memory
/usr/sbin/opensips[18292]: ERROR:core:do_assign: no value in right expression
/usr/sbin/opensips[18292]: ERROR:core:do_assign: error at line: 994
/usr/sbin/opensips[18292]: CRITICAL:core:mk_proxy: pkg memory allocation failure
/usr/sbin/opensips[18292]: ERROR:tm:t_forward_nonack: failure to add branches
/usr/sbin/opensips[18292]: ERROR:tm:w_t_relay: t_forward_nonack failed
/usr/sbin/opensips[18292]: ERROR:core:build_res_buf_from_sip_req: out
of pkg memory  ; needs 341
/usr/sbin/opensips[18292]: ERROR:sl:sl_send_reply_helper: response
building failed
/usr/sbin/opensips[18292]: ERROR:core:build_res_buf_from_sip_req: out
of pkg memory  ; needs 328
/usr/sbin/opensips[18292]: ERROR:tm:relay_reply: no mem for outbound
reply buffer
/usr/sbin/opensips[18292]: ERROR:core:build_res_buf_from_sip_req: out of pkg mem

We have memlog=1 set in our opensips.cfg file and the memory status
logs can be downloaded below:
http://www.mediafire.com/file/yylfekk4zzd/opensips.log.gz

PKG_MEM_POOL_SIZE is set to 10*1024*1024
Shared memory size is set to: opensips -m 384

Could anyone please help?

Thanks,
George



More information about the Devel mailing list