xqms / rosmon

ROS node launcher & monitoring daemon
Other
179 stars 48 forks source link

Core Dumped for too many open files #180

Open tugbakara opened 9 months ago

tugbakara commented 9 months ago

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?

xqms commented 9 months ago

Hm, that can point to a bug in rosmon (file descriptor leak). Some questions for you:

hsynklceng commented 9 months ago

There are 16 nodes in my launch file. ulimit -n is 1024.

xqms commented 9 months ago

I think we need more information. Can you share your launch file? Or try to reduce it to a minimal example that reproduces the problem?