On 9/16/18 11:06 PM, Eric Eberhard wrote:
Most O/S will either prevent renaming a file that is in use (or deleting it).
Can you name one (besides M$ Windows)? It's definitely not AIX...
Since I generally use AIX it is the second feature I see. We have systems with over 500 connections via stunnel – it never rests, and rolling the log file is not easy.
Is there a problem with SIGUSR1 on AIX? Could you be more specific?
I can easily provide a code fix for stunnel that we use in out software. It allows daily logs, sized logs, etc. And it rolls properly.
Have you re-implemented logrotate? https://github.com/logrotate/logrotate
Best regards, Mike