Hi CyberPanel team and community,
I’m running CyberPanel on an AlmaLinux 9.5 VPS powered by a Ryzen 9 7950X (16 cores / 32 threads). Out of the box, the built-in backup routine uses single-threaded tar + gzip
, leaving most of my CPU cores idle and dragging my nightly backups into the multi-hour range.
I want to:
- Enable parallel compression (e.g. switch to
pigz
or similar) so every core can contribute. - Run backups at max CPU & I/O priority (via
nice
/ionice
or systemd settings) to minimize wall-time. - Do this in a supported or minimally invasive way—ideally via a panel config flag or official hook—so it survives future CyberPanel updates.
Specifically:
- Is there a built-in option or config file where I can swap out
gzip
forpigz
(with-p $(nproc)
threads)? - Can I instruct CyberPanel’s backup service (lscpd) to drop its default nice/ionice values or adjust its systemd cgroup settings?
- If code-patching is currently the only path, which exact file(s) under
/usr/local/CyberCP/…
should I target, and how do I ensure my changes aren’t overwritten on panel upgrades?
Any guidance, sample configs or pointers to the relevant code sections would be massively appreciated—thank you!