[SR-Users] usrloc concurrency

Alex Balashov abalashov at evaristesys.com
Tue Jul 10 13:19:24 CEST 2012


On 07/10/2012 06:21 AM, Daniel-Constantin Mierla wrote:

> I asked also on devel list, but no follow up there, so here again for
> the sake of going on with the conversation on this forum:
>
> Is this like blocking or just not writing to db, but in memory
> everything is ok?  iirc, all db failed operations should be reported as
> error to syslog, do you get any?

Sorry Daniel, I must have missed your reply on the devel list!  My 
apologies.

To answer your questions:

1) Yes, this is just not writing to the DB; there is no evidence of 
blocking, nor evidence of database impact outside of usrloc.  All other 
DB-backed modules write fine.

2) Yes, the contact bindings are stored in memory, so everything 
"works".  However, certain internal needs rely on being able to see the 
bindings in the DB.

3) No DB or other complaints from Kamailio internally in syslog.

The next logical step would be to turn up debug logs, but the problem is 
that this issue is extremely difficult to consistently reproduce, which 
makes me think there is some sort of exotic race condition afoot.

-- Alex

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/





More information about the sr-users mailing list