[SR-Users] memory allocation failure
Henning Westerholt
hw at kamailio.org
Wed Feb 29 18:02:38 CET 2012
On Wednesday 29 February 2012, Robert R wrote:
> The openser service died on my servers after "memory allocation failure".
> This issue has been occurred a couple of times on two different servers
> within the last two months.
>
> Feb 29 08:31:59 /usr/sbin/openser[7115]: ERROR:core:do_action: memory
> allocation failure Feb 29 08:31:59 /usr/sbin/openser[7115]:
> ERROR:core:pv_set_ruri_user: do action failed Feb 29 08:31:59
> /usr/sbin/openser[7115]: ERROR:core:do_assign: setting PV failed ....
> Feb 29 08:31:59 /usr/sbin/openser[7115]:
> ERROR:core:insert_cond_lump_after: out of pkg memory Feb 29 08:31:59
> /usr/sbin/openser[7115]: ERROR:rr:build_rr: failed to insert lumps Feb 29
> 08:31:59 /usr/sbin/openser[7115]: ERROR:rr:record_route: failed to insert
> inbound Record-Route Feb 29 08:31:59 kernel: [8806798.263792]
> openser[7115] general protection rip:7f6e17eae69c rsp:7fff21dac5b0 error:0
> Feb 29 08:31:59 /usr/sbin/openser[7164]: CRITICAL:core:receive_fd: EOF on
> 22
>
> It seems increasing memory size in /etc/default/openser to 1024 didn't fix
> the issue.
>
> # Amount of memory to allocate for the running OpenSER server (in Mb)
> MEMORY=1024
Hi Robert,
the memory failure is about the "PKG" or "private" memory pool, the setting
you've quoted is about the shared memory pool. Both are seperated. Try to
increase the private memory pool as well, you can specifiy it (in the old
version you use) in the config.h file before the compilation.
Viele Grüße/ best regards,
Henning Westerholt
More information about the sr-users
mailing list