I seem to be making a habit of replying off-list...
---------- Forwarded Message ----------
Subject: Re: [ILUG] logrotate hogs resources
Date: Wed, 4 Dec 2002 14:07:31 +0000
From: Barry O'Donovan <barryodonovan at eircom.net>
To: ccostelloe at flogas.ie
Logrotate is run daily at 4.02am from:
/etc/cron.daily/logrotate
See also /etc/crontab and /etc/logrotate.conf
Regards,
Barry
On Wednesday 04 December 2002 13:27, ccostelloe at flogas.ie wrote:
> I am no Linux expert, but generally I can coax it into doing what I want,
> but I don't know where to start with this one.
>> A 64 MB, 500 MHZ, lightly-loaded RedHat 7.3 server (bind, Apache), is
> unresponsive and has constant disk activity. top shows logrotate as the
> culprit, ~ 90% CPU, 50 MB memory, and the majority of the minutes since the
> last boot-up. Nothing else is much bigger than 1%. It's not the only 7.3
> server set up, but the only one with this problem.
>> I tried man logrotate, apparently it is configured via a file specified on
> it's command line, but I have no idea of what in the myriad of files in
> RedHat 7.3 is firing it up (my feeble guesses did not help). I initially
> suspected logrotate was getting messed up by having to rotate the message
> log, but it is relatively modest in size.
>> Can anyone please give me a clue where to start?
>> Ciaran
--
Regards,
Barry O'Donovan - barry.odonovan at ucd.ie - http://ihl.ucd.ie
Mobile: +353 (0)86 2891589, Office: +353 (0)1 716 2454
Roinn na Ríomheolaíochta, An Coláiste Ollscoile, Baile Átha Cliath.
Department of Computer Science, University College Dublin.
-------------------------------------------------------
--
Regards,
Barry O'Donovan - barry.odonovan at ucd.ie - http://ihl.ucd.ie
Mobile: +353 (0)86 2891589, Office: +353 (0)1 716 2454
Roinn na Ríomheolaíochta, An Coláiste Ollscoile, Baile Átha Cliath.
Department of Computer Science, University College Dublin.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!