EAGAIN error on ubus when there are many objects

When there are many objects in the bus the **ubus list ** call crashes. It gets stuck in a loop and I'm getting EAGAIN error all the time. Specifically I'm getting this error on libubus-io.c --> recv_retry--> recvmsg

Luci in uhttpd or luci on nginx?

uhttpd but I'm doing ubus list from the device itself