[SR-Users] Failed shared memory allocation even though there's enough free memory

Alex Hermann alex at speakup.nl
Mon Apr 16 12:49:00 CEST 2012


Hello,


i'm seeing a lot of failed memory allocations for shared memory after the 
shared memory has been fully used once (see shmem:max_used_size below).

Used_size keeps increasing fast on a heavy loaded server, until it reaches the 
total_size. From that moment memory allocations start failing and eventually 
used_size starts dropping. After while, even when there's a lot of free 
memory, new allocations keep failing.


ERROR:tm:build_uac_req: no more share memory (19852)
ERROR:tm:t_uac: failed to build message
ERROR:presence:send_notify_request: in function tmb.t_request_within
ERROR:presence:notify: sending Notify not successful
ERROR:presence:publ_notify: Could not send notify for dialog


When i request the shmem statistics at such time, there's lots of free memory:

shmem:total_size = 268435456
shmem:used_size = 3749696
shmem:real_used_size = 4822288
shmem:max_used_size = 268048584
shmem:free_size = 263613168
shmem:fragments = 62156

This is on 1.5.x, any suggestion on why it keeps failing and how to prevent 
this error?
-- 
Greetings,

Alex Hermann




More information about the sr-users mailing list