On Fri, 2009-04-03 at 16:39 -0400, Dale Worley wrote: > I'm looking at how sipxrls behaves when it restarts after crashing. I > see that it executes SubscriptionDB::load(), which reads > var/sipxdata/sipdb/subscription.xml and loads the data into the > Subscription DB. Unfortunately, the Subscription DB is already loaded > and running (because it is a shared memory structure shared with the > other components). As far as I can tell, every time each component that > uses the Subscription DB starts, it reads subscription.xml and loads the > data it finds into the Subscription DB. Unfortunately, subscription.xml > can be up to 20 seconds behind the real contents of the Subscription DB.
It should be calling the SubscriptionDB::getInstance(), which would load it only if the database were not already loaded (which it should be in every case, since the sipXsupervisor should have preloaded it before your process was started). _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
