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 -0600

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 224 times

Last updated: Mar 08 '18