> Op 17 februari 2017 om 17:44 schreef Kostis Fardelas <[email protected]>:
> 
> 
> Hi,
> I keep reading recommendations about disabling debug logging in Ceph
> in order to improve performance. There are two things that are unclear
> to me though:
> 
> a. what do we lose if we decrease default debug logging and where is
> the sweet point in order to not lose critical messages?
> 

Having logs enabled consumes CPU power, mainly on the OSDs. It introduces 
latency, so when people disable logging they do this to lower latency.

I usually disable logs on the OSDs and leave them on on the MONs. Enable them 
on the OSDs when needed.

[osd]
debug_osd = 0
debug_filestore = 0
debug_journal = 0
debug_ms = 0

Wido

> I would say for example that we would lose OSD traces after a random
> OSD crash if we set debug level of osd subsystem to zero (log and
> memory). Or a "Errno 24: Too many open files" on mon logs if we set
> debug level of mon subsystem to zero.
> 
> b. is there a recommended set of debug settings to mute in client
> nodes versus the Ceph daemons nodes? I mean are there settings that
> you would mute in client nodes, but prefer to keep them on default
> levels on Ceph nodes?
> 
> Best regards,
> Kostis
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to