mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-06-07 07:55:58 -04:00
@@ -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.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Maintenance Plugins
|
||||
|
||||
BIN
docs/img/PERFORMANCE/logs_memory_usage.png
Normal file
BIN
docs/img/PERFORMANCE/logs_memory_usage.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 237 KiB |
@@ -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."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user