Logrotate no longer works..."Too Many Open Files"

Mike Burger mburger at bubbanfriends.org
Thu Jun 28 23:50:43 UTC 2007

The "current" logs were now being written to as named.log.1, messages.1, 

But the files weren't recreated, and the postrotate scripts not run.

I looked in my /var/named/chroot/var/log/named dir, and found tons and 
tons of logs with oddball numberings.  I cleared them and will see how 
that goes.

Mike Burger

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:


or send a blank email to:

site-update-subscribe at bubbanfriends.org

On Thu, 28 Jun 2007, Matthew Saltzman wrote:

> On Wed, 2007-06-27 at 18:48 -0400, Mike Burger wrote:
>> My named, maillog and messages logs have never rotated on a daily basis,
>> before.
> Are they actually being rotated?  Or are they just being checked?  My
> maillog and syslog entries in /etc/logrotate.d don't have any time
> designators, so they should go by the default in /etc/logrotate.conf.
> In my case, that says "weekly".  Yours should be the same.  But the
> logrotate job runs daily.
> Logrotate keeps last-rotated dates in /var/lib/logrotate.status.  If you
> have the runaway rotation problem (see my other post in this thread),
> it's possible that that's corrupted.
>> And no, it wasn't...my apologies...I usually do better.  I can only note
>> that my 2 month old was crying as I wrote the second message, and forgot
>> to trim it down before sending it.
> Accepted 8^).
>>> On Wed, 2007-06-27 at 08:52 -0400, Mike Burger wrote:
>>>> I should also point out that logrotate, although listed in cron.daily,
>>>> used to only rotate the logs on Sunday mornings.  Now it tries to rotate
>>>> them every day...yet another unexpected behavior.
>>> Most logs are rotated weekly, but some are not.  See the individual
>>> specs in /etc/logrotate.d.
>>> Was quoting your *entire* previous message strictly necessary?
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

More information about the fedora-list mailing list