-
Notifications
You must be signed in to change notification settings - Fork 98
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
Cloudsim: state.tlog files are much larger now #766
Comments
Some more info (assume
|
On a maybe (?) related note, the simulation does not respond to SIGINT or SIGTERM which is the default way to stop containers. It needs to be killed instead, which is surprising and might be related to the problem at hand. In order to respond to signals something like this needs to be there: The solution is based on https://linuxconfig.org/how-to-propagate-a-signal-to-child-processes-from-a-bash-script. The main point is that if the process with PID 1 is a bash script, it needs to be inside The same problem has been worked around by creating a custom rosbag recorder in the bridge container that responds to |
Maybe this is related to https://gitlab.com/ignitionrobotics/web/cloudsim/-/merge_requests/172? |
Cloudsim now waits for the |
Could this be the reason?
I just saw it when a local simulation has ended. |
We've still been having problems with indefinitely running simulations (killed only after the 48 hour timeout). Examples: 6afe994e-71a0-4f69-a51a-8c4b9402695d and aa43cea4-36ad-4aab-a70e-92a02c1ea515 (state.tlog has 92 GB!!!). |
I think I have a solution for this problem. See ros/ros_comm#2139 . It'd be great if someone can help with review of the PR to get it merged ASAP. Next Melodic sync will be in about a month (one happened last week), so it'd be great to get this merged until the next sync. |
Slowly getting there: ros/ros_comm#2151 (comment) got merged into noetic-devel and is now waiting for backport to melodic-devel. And then a release of ros_comm... Hmm, I'm really curious whether this will make it earlier than the virtual challenge concludes... |
Wow, it seems the PR came really on time - there is a backport to melodic containing the fix: ros/ros_comm#2152 . |
fix should be out in the latest melodic sync: |
This is the size of our cloudsim state.tlog files from the last month or so:
Notice the 5-10-fold increase in size of state.tlog from this weeks simulations. All the simulations were run with the same team of robots and all of the in cave competition worlds.
What's the reason for this increase? It becomes inconvenient to play back such large files...
The text was updated successfully, but these errors were encountered: