SignalK log files filled partition... (Victron Venus install)
I accidentally left NMEA0183 logging running, and it seems like there is no log rotation/auto-stop mechanism so my /data partition on the Victron Ekranos has filled up overnight. I cannot ssh in any more.
I found a 'delete signalk logs' script and tried to enter that previously, but it didn't seem to liberate any space (according to 'df -h' anyhow).
The Venus side seems to continue to run okay, but signalk is now kind of dead in the water.
Any tips on how to get out of this one without functional ssh?
3 Replies
The file is probably still open by the SignalK process, so unless the process stops, the file will not actually be deleted.
Log rotation typcally is handled outside of the process by e.g. logrotate daemon.
See https://www.victronenergy.com/live/venus-os:large#backup_reset_to_factory_defaults for clearing disk space
Sk server handles log rotation itself (for cross platform vompatibility) and since https://github.com/SignalK/signalk-server/releases/tag/v2.2.0 keeps only recent files by default
GitHub
Release v2.2.0 · SignalK/signalk-server
🚀 Features
feature: Remember Me improvements
PR: #1588
feature: newServer notification as normal
PR: #1592
feature: add write statistics to dashboard
PR: #1603
feature: less verbose CORS ...