[Mailman-Developers] Log file rollovers
Richard Barrett
r.barrett at openinfo.co.uk
Mon Oct 13 15:35:40 EDT 2003
On Monday, October 13, 2003, at 08:20 pm, Nadim Shaikli wrote:
> --- Brad Knowles wrote:
>> At 5:34 PM -0700 2003/10/09, Nadim Shaikli wrote:
>>
>>> Nothing looked out of place to me. The file is being created
>>> correctly, I'm just surprised that mailman would even touch a
>>> non-existent as far asits concerned (mailman know not about
>>> post.1 and logrotate) unless the file-handler is kept in a
>>> constant open state by mailman or something.
>>
>> When the file is renamed, the inode number and internal file handle
>> do not change. Mailman opens the file on start, and doesn't close it.
>> The file gets renamed, but this change is not relevant to mailman --
>> it
>> just keeps using the filehandle it's already got. This is why you
>> have
>> to use mailmanctl to stop and restart mailman.
>
> Well, if the statement "[MM] opens the file on start, and
> doesn't close it" is true, then it sounds very worrying.
Why?
> Shouldn't Mailman open/close upon prompting instead
> (ie. upon arrival of mail and/or when prompted for action) ?
>
Why?
> Is this a big deal to change/fix ?
>
Why change it?
> Regards,
>
> - Nadim
>
-----------------------------------------------------------------------
Richard Barrett http://www.openinfo.co.uk
More information about the Mailman-Developers
mailing list