[OpenSIPS-Users] Not replaying to REG/invites, Not enough free memory

Miha miha at softnet.si
Thu Feb 27 14:12:37 CET 2014


HI,

I went back looking for logs. This is what I have found:

Which memory is too low? I can see that only 4% of system memory is 
used. Opensips is started with 512

Feb 27 07:43:47 sip2 /usr/sbin/opensips[30332]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30330]: 
ERROR:core:build_res_buf_from_sip_req: out of pkg memory ; needs 549
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30330]: 
ERROR:sl:sl_send_reply_helper: response building failed
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30330]: 
ERROR:signaling:sig_send_reply_mod: failed to send reply with sl module
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30330]: ERROR:auth:challenge: 
failed to send the response
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30332]: 
ERROR:core:build_res_buf_from_sip_req: out of pkg memory ; needs 547
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30332]: 
ERROR:sl:sl_send_reply_helper: response building failed
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30332]: 
ERROR:signaling:sig_send_reply_mod: failed to send reply with sl module
Feb 27 07:43:47 sip2 /usr/sbin/opensips[30332]: ERROR:auth:challenge: 
failed to send the response

Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: 
ERROR:core:new_credentials: no pkg memory left
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: 
ERROR:core:parse_credentials: failed to create new credentials
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: 
ERROR:auth:find_credentials: failed to parse credentials
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: ERROR:auth:pre_auth: 
failed to find credentials
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: 
ERROR:core:build_res_buf_from_sip_req: out of pkg memory ; needs 403
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: 
ERROR:sl:sl_send_reply_helper: response building failed
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: 
ERROR:signaling:sig_send_reply_mod: failed to send reply with sl module
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30332]: ERROR:auth:pre_auth: 
failed to send 400 reply
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: SCRIPT: stored password 
is rR62Tsm
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: 
ERROR:core:parse_headers: pkg memory allocation failed
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: 
ERROR:rr:find_first_route: failed to parse headers
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: ERROR:core:anchor_lump: 
out of pkg memory
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: ERROR:core:anchor_lump: 
out of pkg memory
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: ERROR:rr:record_route: 
failed to create an anchor
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: WARNING:core:fm_malloc: 
Not enough free memory, will atempt defragmenation
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: 
ERROR:core:parse_headers: pkg memory allocation failed
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: 
ERROR:core:build_res_buf_from_sip_req: parse_headers failed
Feb 27 07:43:46 sip2 /usr/sbin/opensips[30330]: 
ERROR:sl:sl_send_reply_helper: response building failed

thx!

miha
Dne 2/27/2014 8:11 AM, piše Miha:
> Hi,
>
> strange thig happend to me today. Opensips did not replay to 
> invites/registrations...
>
> After opensips (service) restart all loogs good. When this was 
> happening load was 0, so this was not an issue.
>
> Could this be causing domain setup.
>
> I have dns srv record sip.xxxxx.net which points to two domain's (geo 
> redundency). Than I have A record which point to the same domain 
> sip.xxxxx.net (dns srv domain).
> All was lookig goog, last week we enter this A record which is the 
> same as DNS SRV record. Could be this a problem?
>
> tnx!
>
> Opensips verison from repo (using centos, TLS is not used) :
>
> OpenSIPS (1.10.0beta-tls (x86_64/linux))
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list