[pve-devel] pve api offline during log rotation
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Tue Sep 12 09:27:59 CEST 2017
Hello,
pveproxy has already a reload command - which seems to reopen the logs
correctly. Is there any reason why restart is used in the postrotate
part of logrotate?
Greets,
Stefan
Am 12.09.2017 um 09:13 schrieb Stefan Priebe - Profihost AG:
> Hello,
>
> we're heavily using the pve api - doing a lot of calls every few minutes.
>
> Currently the log rotation does a pveproxy restart which makes the API
> unavailable for a few seconds. This is pretty bad.
>
> I see the following solution:
> - add a special signal like SIGUSR1 to pveproxy and spiceproxy to just
> reopen the logs
>
> Greets,
> Stefan
>
More information about the pve-devel
mailing list