[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] logrotate locks up swap space on RAQ3



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> We've got a RAQ3. Each day the cron.daily runs the logrotate job at
> 4am and no other daily jobs. As I've poked around I set up a reboot
> at 8am and noticed that after logrotate runs, it causes a spike in
> swap usage to 120M which declines but just down to 10M.  The reboot
> at 8am resets things and we don't end up using swap space until the
> next morning at 4am.
>
> Does anyone have any ideas about what might be causing the memory
> leak?

I don't think it's a leak.  The RAM is being used up as logrotate/ 
split_logs plows through all your log files.  High traffic sites with 
large logfiles take more time (and more RAM) to process.

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+SeZhvLA2hUZ9kgwRApE4AJ9RfTYOyc4W4jpN26OOJWtMF+cVCgCfVVEA
q4Q6J2G43Anxfqk0x7+HgsU=
=iGs2
-----END PGP SIGNATURE-----