FW: Opensips memory problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FW: Opensips memory problem

Denis

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


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: FW: Opensips memory problem

k1028
I have the same problem with location and address tables before and i increased the memory pool fixed it. Hope this will help you as well. Take a look at http://www.opensips.org/Resources/DocsTsMem