hi, it would make sense to run database lookup in a seperate thread (with lower priority). but in this case the database request function of openbsc will not have a result at the time they return. it would take some changes of the processes which do database lookups. i think it will be some work, but it can be done.
regards, andreas