Re: Log files with 0.45

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

 



On Fri, 20 Apr 2012, Calvin Morrow wrote:
> I'm seeing the same.  < 12 hours with 6 OSDs resulted in ~18 GB of
> logs.  I had to change my log rotate config to compress based on size
> instead of once a day or I ended up with a full root partition.
> 
> I would love to know if there's a better way to handle it.

This will be fixed in 0.46. You can also cherry-pick 
ac874a62533c3845f9e68201bfd4f7020332da24 from the stable branch to fix 
this.

You can also set 'debug optracker = 0' to turn this down.

sage



> 
> Calvin
> 
> On Fri, Apr 20, 2012 at 5:05 PM, Nick Bartos <nick@xxxxxxxxxxxxxxx> wrote:
> > Is there a recommended log config for production systems?  I'm also
> > trying to decrease the verbosity in 0.45, using the options specified
> > here:  http://ceph.newdream.net/wiki/Debugging.  Setting them down to
> > '1' doesn't end the insane log sprawl I'm seeing.
> >
> > On Tue, Apr 17, 2012 at 10:09 PM, Greg Farnum
> > <gregory.farnum@xxxxxxxxxxxxx> wrote:
> >> On Tuesday, April 17, 2012 at 9:53 PM, Danny Kukawka wrote:
> >>> Hi,
> >>>
> >>> did something change with the default log levels for OSDs on v0.45? With
> >>> 0.43 and IIRC also 0.44* the logfiles had a acceptable size, but now I
> >>> get by default ~3Gbyte per OSD over 12 hours without any change in the
> >>> config file.
> >>>
> >>> Danny
> >> I think some extra event notifications got stuck in the logs for OSD operations; they're nice for debugging but may well have a log level higher than they should. They should be easy to compress a lot, though!
> >>
> >> Can you comment on this, Sam?
> >> -Greg
> >>
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> >> the body of a message to majordomo@xxxxxxxxxxxxxxx
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > --
> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux