[OpenSIPS-Users] FW: Opensips memory problem

dpa denis7979 at mail.ru
Wed Jun 27 15:32:16 CEST 2012



Hello!

 

Opensips 1.6.4-2.

When doing dp_reload or dr_reload there are such errors:

 

Jun 27 17:12:53 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]: WARNING:core:fm_malloc: Not
enough free memory, will atempt defragmenation

Jun 27 17:12:53 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:core:db_allocate_rows: no memory left

Jun 27 17:12:53 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:db_mysql:db_mysql_fetch_result: no memory left

Jun 27 17:12:53 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]: ERROR:dialplan:dp_load_db:
failed to fetch

Jun 27 17:12:53 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:dialplan:mi_reload_rules: failed to reload database data

Jun 27 17:12:53 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:mi_fifo:mi_fifo_server: command () processing failed

 

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
INFO:drouting:dr_reload_cmd: "dr_reload" MI command received!

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]: WARNING:core:fm_malloc: Not
enough free memory, will atempt defragmenation

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:core:db_allocate_rows: no memory left

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:db_mysql:db_mysql_fetch_result: no memory left

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
ERROR:drouting:dr_load_routing_info: Error fetching rows

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
CRITICAL:drouting:dr_reload_data: failed to load routing info

Jun 27 17:14:43 opensips-mirror
/usr/local/opensips1.6.4-2/sbin/opensips[21801]:
CRITICAL:drouting:dr_reload_cmd: failed to load routing data

 

When, for example, doing address reload there is no problem.

There is no problem with call proceeding. 

 

opensips.cfg

...

modparam("drouting", "fetch_rows", 1000)

..

modparam("dialplan", "fetch_rows", 1000)

 

Opensips memory

 

shmem:total_size = 104857600

shmem:used_size = 41207560

shmem:real_used_size = 46998880

shmem:max_used_size = 53773824

shmem:free_size = 57858720

shmem:fragments = 54557

 

pkmem:0-total_size = 20971520

pkmem:0-used_size = 710496

pkmem:0-real_used_size = 857016

pkmem:0-max_used_size = 1036592

pkmem:0-free_size = 20114504

pkmem:0-fragments = 3

 

Other process has nearly same values.

 

Thank you for any help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120627/21ad60bc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20120627/21ad60bc/attachment.gif>


More information about the Users mailing list