Nobody?

Stefan

Excuse my typo sent from my mobile phone.

> Am 12.09.2017 um 09:27 schrieb Stefan Priebe - Profihost AG 
> <s.pri...@profihost.ag>:
> 
> 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
>> 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to