Intel® Aero Platform For UAVs
Peer-to-peer support only
Announcements
This is a peer-to-peer only forum. This forum is not monitored by Intel.
774 Discussions

Disk fills up, large ULG files in /var/lib/mavlink-router

JoshDavisNC
Beginner
1,343 Views

Is there a way to limit the size of the *.ulg files generated in /var/lib/mavlink-router?

The drone is just sitting on a desk, not even flying, and it runs out of disk space every few days due to 20+ GB worth of ULG files in /var/lib/mavlink-router. I delete the files and reboot and then it's good for a few more days. Are there settings somewhere that control the growth of these files?

0 Kudos
7 Replies
JoshDavisNC
Beginner
183 Views

Here is some output that shows how fast these files are growing.

2018-04-12T09:35:42-04:00

total 17M

-rw-r--r-- 1 root root 0 Apr 12 09:26 00000-2018-04-12_09-26-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00001-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00002-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00003-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00004-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 17M Apr 12 09:35 00005-2018-04-12_09-28-39.ulg

-----

2018-04-12T09:47:08-04:00

total 45M

-rw-r--r-- 1 root root 0 Apr 12 09:26 00000-2018-04-12_09-26-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00001-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00002-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00003-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 0 Apr 12 09:28 00004-2018-04-12_09-28-39.ulg

-rw-r--r-- 1 root root 45M Apr 12 09:47 00005-2018-04-12_09-28-39.ulg

idata
Community Manager
184 Views

Hello Josh,

 

 

Thank you for your interest in the Intel Aero Drone.

 

 

Your request has been received and is currently being investigated.

 

We will get back to you as soon as possible.

 

 

Regards,

 

Octavian
JoshDavisNC
Beginner
184 Views

Thanks. In the meantime, as a workaround, I put the following in the root crontab:

0 2 * * * rm /var/lib/mavlink-router/*.ulg && systemctl restart mavlink-router.service

idata
Community Manager
184 Views

Hello Josh,

 

 

Thank you for your patience.

As another workaround, you can turn off logging on the mavlink routing service

Modify /etc/mavlink-router/main.conf and comment out the line below:

[General]

# Log=/var/log/mavlink-router

Additionally, you can try going to the mavlink-router github community for more detailed help regarding this particular issue.

 

 

Mavlink-router github is located here https://github.com/intel/mavlink-router https://github.com/intel/mavlink-router

 

 

Hope this helps.

 

 

Regards,

 

Octavian
idata
Community Manager
184 Views

Hello Josh,

 

 

Do you require any more assistance with this issue?

 

 

Regards,

 

Octavian
JoshDavisNC
Beginner
184 Views

I don't require any more assistance from Intel on this. I'll ask the Mavlink community about it. If I get a solution I'll post it here. Thanks.

JoshDavisNC
Beginner
184 Views

It turns out there is no way to do this. There are only the workarounds mentioned upthread. Thanks for your help.

Reply