Purging Reports

Hello,

I realize I can use the tasks rakefile to expire old logs. However,
when running this it takes a long time and consumes a lot of CPU/
Memory. Can I simply just drop records from the puppet.reports db
table older than a certain date?

Thank You!

> Hello,
>
> I realize I can use the tasks rakefile to expire old logs. However,
> when running this it takes a long time and consumes a lot of CPU/
> Memory. Can I simply just drop records from the puppet.reports db
> table older than a certain date?

This was fixed at Bug #687: rake reports:expire abuses memory and network bandwidth - Foreman

Purging just the report table is not enough… I think it should be
safe to apply the patch.

Ohad

··· On Mon, Jul 25, 2011 at 9:25 PM, dmaraio wrote: > > Thank You! > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en. > >