Merge pull request #1670 from netalertx/next_release

Next release
This commit is contained in:
Jokob @NetAlertX
2026-06-04 13:57:46 +10:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

View File

@@ -26,6 +26,10 @@ A large database or oversized log files can impact performance. You can check da
> * No table should exceed **10,000 rows** in a healthy system.
> * Actual values vary based on network activity and plugin settings.
Please note that excessively large log files will increase memory consumption. Decrease `MAINT_LOG_LENGTH` if you want to optimize memory use and increase it when debugging issues. See below chart on memory use after logs cleanup.
![memory use after excessive log clean up](./img/PERFORMANCE/logs_memory_usage.png)
---
## Maintenance Plugins

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

View File

@@ -228,7 +228,7 @@
}
]
},
"default_value": 250000,
"default_value": 10000,
"options": [],
"localized": ["name", "description"],
"name": [
@@ -240,7 +240,7 @@
"description": [
{
"language_code": "en_us",
"string": "How many last <code>app.log</code> lines to keep. If <code>LOG_LEVEL</code> is set to <code>debug</code> the app generates about 10000 lines per hour, so when debugging an issue the recommended setting should cover the bug occurence timeframe. For example for a bug with a 3 day periodical appearence the value <code>1000000</code> should be sufficient. Setting this value to <code>1000000</code> generates approximatelly a 50MB <code>app.log</code> file. Set to <code>0</code> to disable log purging."
"string": "How many log entries to keep. When <code>LOG_LEVEL</code> is set to <code>debug</code>, the application generates about 10,000 log entries per hour. Choose a value that covers the expected bug occurrence window. For example, <code>1000000</code> lines (~50 MB) is typically sufficient for issues that occur every 3 days. Set to <code>0</code> to disable log purging. Larger log files increase memory usage, so reduce the value after debugging is complete."
}
]
},