Issue
Large lve snapshot files in /var/lve/snapshots/*/
How to reduce snapshot files size?
Environment
- CloudLinux
- LVE Stats
Solution
1) To reduce lve snapshot files size, the following configuration options can be tuned in/etc/sysconfig/lvestats.config/SnapshotSaver.cfg
:
snapshots_per_minute=1
max_snapshots_per_incident=5
compresslevel=5
2) Restart lvestats service to apply the changes:
systemctl restart lvestats
Cause
Currently, the whole SQL query payload is stored in a snapshot when user hit some LVE limit. No matter how big it is.
Links:
https://docs.cloudlinux.com/shared/cloudlinux_os_components/#configuration
Comments
0 comments
Please sign in to leave a comment.