Can ubus handle concurrent request?

I'm developing a module for nginx to directly access ubus query...

I'm having some problem with concurrent access to ubus. Every request have his own ubus ctx using the ubus_connect function...

Problem is that after some time rpcd locks up and i'm trying to find the reason...
I think is a problem with too much request at the same time and i reduced the max concurrent request to 2 but this didn't solve the problem.

So to make sure i'm not trying to implement things the wrong way... Does ubus CAN handle request by multiple threads at the same time?


ok to my conclusion, NO... if multiple thread try to issue a request at the same time, rpcd locks up and recover only after the request timeouts.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.