Release Notes for
uiDivStats 4.0.3 version (now available):
1) Modified SQLite3 configuration parameters to improve the trimming of records from the database and then perform "garbage collection" of deleted entries to reclaim unused space & avoid excessive fragmentation.
This is an effort to prevent cases in which, after some weeks of operation, the database file size becomes increasingly & unnecessarily very large (>> 2GB) causing long processing times that interfere with & disrupt normal internet activity.
2) To help with future debugging & monitoring, a log file is now created during the record trimming process to keep ~60 days of processing results (assuming once per day):
Bash:
/opt/share/uiDivStats.d/uiDivStats_Trim.LOG
3) Modified SQLite3 configuration parameters to improve processing database records.
4) The previously added CLI menu option
6) to set a preferred time for the daily cron job that trims the database was modified to set ONLY the
HOUR parameter. This was done because the scheduled minutes must be coordinated with 3 other cron jobs to avoid possible conflicts while accessing & generating database records.
5) Show the current database file size information on the CLI menu and the webGUI page (see screenshots below).
6) Miscellaneous code improvements & fine-tuning.
I'd like to give special thanks to
@Ripshod &
@bjark for their generous donation of their time & patience when running a custom diagnostics shell script on their routers to gather SQLite3 configuration data while trimming records from their very large databases to troubleshoot the problem & narrow down a solution. Their collaboration is highly appreciated.
BTW, both
@Ripshod &
@bjark have been running the Beta 4.0.3 version for about 3 weeks now and have not reported any issues so far.
Screenshots: