Skip to content

No space left on hard drive when using UVC stereo camera #691

@matlabbe

Description

@matlabbe

System: Ubuntu 18.04
Tested with Zed2 camera using OpenCV's cv::VideoCapture

When launching StereoCameraVideo, the hard drive is filling fast until there is no more space:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            7.7G     0  7.7G   0% /dev
tmpfs           1.6G   11M  1.6G   1% /run
/dev/nvme0n1p7  288G  288G     0 100% /
tmpfs           7.7G  172K  7.7G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           7.7G     0  7.7G   0% /sys/fs/cgroup
...

The problem can be fixed following this post by deleting /var/log/uvcdynctrl-udev.log and setting uvcdynctrl debug flag to 0: https://askubuntu.com/a/196332

On my computer the log file increased to 45 GB to fill the hard drive:

$ ls -l /var/log
...
-rw-r--r--  1 root              root            45229785088 Feb 25 22:06 uvcdynctrl-udev.log
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions