The app crashes when loading too many cameras with the following error,
(deepstream-app:3896479): GLib-ERROR **: 14:11:24.351: Creating pipes for GWakeup: Too many open files
Trace/breakpoint trap (core dumped)
I feel like this is more on the gstreamer level, but not entirely sure. Currently observing this if the camera count goes beyond 210. Any idea as to how this could be rectified?
This definitely is being caused due to app opening too many file descriptors. When monitoring the pid of deepstream app,
ls -la /proc/pidof deepstream-app,
the count continuously increases, when reaching a limit of 2048, the app crashes.