dnssafety icon indicating copy to clipboard operation
dnssafety copied to clipboard

high I/O usage while generating reports, and running out of inodes

Open iamdue opened this issue 5 years ago • 3 comments

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?

iamdue avatar Feb 21 '20 08:02 iamdue

May I ask how many users/ips are directed to the dnssafety server? What is the size of the /opt/dnssafety* folders?

ra-at-diladele-com avatar Feb 21 '20 08:02 ra-at-diladele-com

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.

iamdue avatar Mar 01 '20 08:03 iamdue

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.

groninge01 avatar Jul 25 '20 06:07 groninge01