Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open File Leak #151

Open
P3TE opened this issue May 18, 2022 · 0 comments
Open

Open File Leak #151

P3TE opened this issue May 18, 2022 · 0 comments

Comments

@P3TE
Copy link
Contributor

P3TE commented May 18, 2022

Describe the bug
So I was running my simulator in a stop start fashion for a while with the ROS_TCP_Endpoint running in the background and after a while I noticed some additional errors in the console:
[ERROR] [1652857378.828228]: Exception: [Errno 24] Too many open files

To Reproduce
Steps to reproduce the behavior:

  1. Register publishers & subscribers, a lot

Console logs / stack traces

[INFO] [1652857997.679180]: Disconnected from 127.0.0.1
[INFO] [1652857999.689510]: Connection from 127.0.0.1
[INFO] [1652857999.690933]: RegisterSubscriber(/tf, <class 'tf2_msgs.msg._TFMessage.TFMessage'>) OK
[ERROR] [1652857999.691834]: Exception: [Errno 24] Too many open files
[INFO] [1652857999.692657]: Disconnected from 127.0.0.1
[INFO] [1652858000.695326]: Connection from 127.0.0.1
[INFO] [1652858000.702791]: RegisterSubscriber(/tf, <class 'tf2_msgs.msg._TFMessage.TFMessage'>) OK
[ERROR] [1652858000.703683]: Exception: [Errno 24] Too many open files
{Repeat Every Two Seconds Indefinitely}

Environment (please complete the following information, where applicable):

  • Unity Version: [e.g. Unity 2021.2.18f1]
  • Unity machine OS + version: [e.g. Ubuntu 18.04]
  • ROS machine OS + version: [e.g. Ubuntu 18.04, ROS Melodic]
  • ROS–Unity communication: [e.g. Bare Metal]
  • Branch or version: [e.g. v idk lol probably a little old]

Additional context
It's possible that it's been encountered before and been fixed (I am a little behind on the version at the moment). What I might do is update my version of ROS_TCP_Connector and ROS_TCP_Endpoint and see if I can still replicate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant