When I run rosmon sometimes it gaves error and closed itself randomly:
terminate called after throwing an instance of 'std::runtime_error'
what(): Could not create stderr pipe: Too many open files
Aborted (core dumped)
Why is it happening and how can solve it?