Bugs item #2684958, was opened at 2009-03-12 13:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2684958&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Vasil Kolev (krokodilerian)
Assigned to: Nobody/Anonymous (nobody)
Summary: Holding the hash_table lock for subscriptions too long

Initial Comment:
In subscribe.c:update_db_subs() the lock for the hash part is held until all 
the notifies are sent. This is a problem, as if you're using tcp, these 
operations take too long and block the processing of SUBSCRIBE requests.

The attached patch releases the lock before doing the notifies and re-aquires 
it afterwards.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2684958&group_id=232389

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to