[Mailman-Developers] Log file rollovers

John Dennis jdennis at redhat.com
Thu Oct 9 14:47:33 EDT 2003


You didn't say on what type and version the system is, which is
important because things like log file rollovers aren't really part of
mailman proper but rather are done as part of the system specific
installation. I do know that for a while we (Red Hat) had a bug with log
file rotation in our RPM, that was fixed about 6 months ago. However the
bug I'm aware of does not seem like what you are describing. The bug we
fixed would keep generating new files with an extra digit appended to it
till it eventually filled the file system, e.g. the file log would
become log.1, then log.1.1, then log.1.1.1 rather than log.2. Exact
details may vary as I'm going from memory.

Best thing for you to do is let us know the exact type of system, the
contents of /etc/logrotate.conf and /etc/logrotate.d/mailman (assuming
you have a system with this version of logrotate.

HTH, 

John


On Thu, 2003-10-09 at 14:14, Nadim Shaikli wrote:
> I've noticed some weird happenings with Mailman (v-2.1.2).  As expected
> on the first of each month all the log files get rolled over (so vette
> becomes vette.1 and bounce becomes bounce.1, etc).  Every so often I see
> files that are created but are not used.  For instance, I'm looking at
> my log directory and can see,
> 
>   -rw-rw-r--    1 list     list            0 Oct  1 06:27 post
>   -rw-rw-r--    1 list     list      4819198 Oct  9 08:57 post.1
>   -rw-rw-r--    1 list     list       632841 Sep 10 07:59 post.2.gz
> 
> all the current posts are still making it to 'post.1' for some reason
> and not simply 'post'.  Mind you in September they were making it to
> the normal 'post' file.
> 
> Is this a known problem and is there a work-around or a means to fix
> this sans restarts.  I did notice this happening on other files as
> well (subscribe, error, etc) - the problem resolves itself if you
> restart mailman.
> 
> Regards,
> 
>  - Nadim
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> http://mail.python.org/mailman/listinfo/mailman-developers
-- 
John Dennis <jdennis at redhat.com>




More information about the Mailman-Developers mailing list