Files
NetAlertX/docs/PERFORMANCE.md
jokob-sk efc9a974b1
Some checks are pending
docker / docker_dev (push) Waiting to run
Settings - UI component changes #826
2024-10-08 08:52:24 +11:00

1.5 KiB
Executable File

Performance tips

The application runs regular maintenance and DB cleanup tasks. If these tasks fail, you might encounter performance issues.

Most performance issues are caused by a big database or large log files. Enabling unnecessary plugins will also lead to performance degradation.

You can always check the size of your database and database tables under the Maintenance page.

Db size check

Note

For around 100 devices the database should be approximately 50MB and none of the entries (rows) should exceed the value of 10 000 on a healthy system. These numbers will depend on your network activity and settings.

Maintenance plugins

There are 2 plugins responsible for maintaining the overal health of the application. One is responsible for the database cleanup and one for other tasks, such as log cleanup.

DB Cleanup (DBCLNP)

The database cleanup plugin. Check details and related setting in the DB Cleanup plugin docs. Make sure the plugin is not failing by checking the logs. Try changing the schedule DBCLNP_RUN_SCHD and the timeout DBCLNP_RUN_TIMEOUT (increase) if the plugin is failing to execute.

Maintenance (MAINT)

The maintenance plugin. Check details and related setting in the Maintenance plugin docs. Make sure the plugin is not failing by checking the logs. Try changing the schedule MAINT_RUN_SCHD and the timeout MAINT_RUN_TIMEOUT (increase) if the plugin is failing to execute.