Back to Changelog
v1.0.262
Apache apply hotfix: systemd unit refresh + extended health check for busy hosts
Improvements
2- Systemd unit copy is idempotent: if the target file is already byte-equal to the canonical source it is skipped, avoiding unnecessary daemon-reload cycles and preventing flapping of downstream units
- Faz A LoadModule mpm_prefork hook from 1.0.261 is preserved alongside FX1 and FX2 — both injections run in sequence on apache mpms-shared package apply
Bug Fixes
3- refreshApacheSystemdUnit now runs on every Apache package apply — copies the canonical unit (TimeoutStartSec=180, OOMScoreAdjust=-500) to /etc/systemd/system/panelica-apache.service and runs daemon-reload, upgrading installs that still have the legacy TimeoutStartSec=30 unit transparently
- Fixed OOM-kill during Apache restart on hosts with 100+ vhosts and low free RAM: OOMScoreAdjust=-500 reduces Apache kill priority so the kernel targets other processes first
- Health checker now uses package-specific retry config: Apache gets 30 retries x 4s = 120s total (was 3 x 2s = 6s) — prevents premature rollback on saturated hosts where Apache takes longer to finish parsing all vhost configs