dnssafety
dnssafety copied to clipboard
high I/O usage while generating reports, and running out of inodes
As dnssafety stores the reports in files, it ususally generates high I/O usage on the virtual machine it runs on, while generating it's reports. Also we run out of inodes because of storing everything in little files. I wrote a cron to delete reports older than 15 days, to free up inodes, but the deleted reports are recreated every day. Is it possible to set report range that should be stored, or to store data in SQL?
May I ask how many users/ips are directed to the dnssafety server? What is the size of the /opt/dnssafety* folders?
Nearly 100 users are using the server. And the size of folders 3.2G. I also have to mention that I am now deleting reports and stats older than 15 days with a cron.
I also have the same problem on a RPI. I am using it on my home network and I only have 9 devices using it.
278M /opt/dnssafety 1.2G /opt/dnssafety-ui
I have deleted some reports and access.logs to free up space.