On Wed, Jan 26, 2022 at 06:39:52PM -0800, William Tu wrote:
> On Wed, Jan 26, 2022 at 8:56 AM Ben Pfaff wrote:
> >
> > Until now, the monitor process held its log file open while it waited for
> > the child to exit, and then it reopened it after the child exited. Holding
> > the log file open thi
On Wed, Jan 26, 2022 at 8:56 AM Ben Pfaff wrote:
>
> Until now, the monitor process held its log file open while it waited for
> the child to exit, and then it reopened it after the child exited. Holding
> the log file open this way prevented log rotation from freeing disk space.
> This commit av
Until now, the monitor process held its log file open while it waited for
the child to exit, and then it reopened it after the child exited. Holding
the log file open this way prevented log rotation from freeing disk space.
This commit avoids the problem by closing the log file before waiting, the