ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Why does ROS keep eating disk space even though I clean its log frequently?

asked 2018-03-08 08:37:43 -0500

zwz gravatar image

Hi, I am running ROS (kinect) on ubuntu 16.04, and I clean the ROS log using roslog clean command every 10 minutes. However, when I check the disk usage using df command, it shows my disk usage keeps increasing over time. After 2 hours, 10 Gb is gone. I am sure it's not the roslog because I cleaned it very often and it never exceeds 200MB. However, when I close ROS, the disk space is back immediately.

But for some reason, I can't close ROS.

It's driving me crazy and I can't figure this out after days of investigation. Please HELP!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-09 02:32:57 -0500

Humpelstilzchen gravatar image

Your log files might not be actually removed since "rm" only does an unlink. The file gets removed when no process has opened the files, see e.g. this question

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-03-08 08:31:59 -0500

Seen: 718 times

Last updated: Mar 08 '18