I'm trying to track down the source of the following errors in syslog:
/usr/local/sbin/opensips[25490]: WARNING:core:fm_malloc: Not enough free
memory, will atempt defragmenation
/usr/local/sbin/opensips[25490]: ERROR:core:db_allocate_rows: no memory
left
/usr/local/sbin/opensips[25490]: ERROR:db_
Some more information... this only occurs when issuing 'opensipsctl fifo
dr_reload'. All other fifo commands seem to work without issue. Anyone have
any suggestions on how I can track this down?
Thanks.
On Thu, Apr 21, 2011 at 8:56 AM, thrillerbee wrote:
> I'm trying to track down the source of
Hi Ryan,
The problem is that the opensips process that does the reload has too
little private memory and the rules can not be loaded from database.
You should increase the private memory. You do this by editing config.h
file and re-writing the value for PKG_MEM_POOL_SIZE, eg:
PKG_MEM_POOL_S
Hi again,
I missed the part where you said you increased the private memory to
100M :) .
The dr_reload command fetches one chunk at a time - you can modify the
number of rows fetched by setting fetch_rows parameter in dr_module .But
there could also be a leak if you say that this happens after