Skip to contentSkip to conversation

OSD memory leak when scrubbing [0.56.6]

DISCUSSION Oliver Francke 6 participants 11 messages May 21, 2013 – May 22, 2013

lore
Share & tools
lore
#0 lore raw

Well,

subject seems familiar, version was 0.48.3 in the last mail.

Some more of the story. Before successful upgrade to latest bobtail everything with regards to scrubbing was disabled. That is via:
ceph osd tell \* injectargs '--osd-max-scrubs 0'

We are running fine now since 9th of may. Fine means though, not have ran any scrubbing for ages. This morning I re-started scrubbing. After a couple of hours I detected the first OSD's eating up memory. Top-scorer was running with 23GiB rss. After stopping scrubbing again there was no regain of memory.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

Thnx in advance,

Oliver.

Signature · 15 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Uhm,

to be most correct... there was a follow-up even with version 0.56 ;)

Quoted 20 lines · Oliver Francke

Well,

subject seems familiar, version was 0.48.3 in the last mail.

Some more of the story. Before successful upgrade to latest bobtail everything with regards to scrubbing was disabled. That is via:
ceph osd tell \* injectargs '--osd-max-scrubs 0'

We are running fine now since 9th of may. Fine means though, not have ran any scrubbing for ages. This morning I re-started scrubbing. After a couple of hours I detected the first OSD's eating up memory. Top-scorer was running with 23GiB rss. After stopping scrubbing again there was no regain of memory.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

Thnx in advance,

Oliver.

Signature · 15 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Oliver Francke

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

Cheers,

Sylvain

#3 lore raw

Am 21.05.2013 um 17:35 schrieb Sylvain Munaut <[email protected]>:

Quoted 8 lines

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

Quoted 7 lines

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

I thought all mon leveldb issues were solved?

Quoted 8 lines

Cheers,

Sylvain
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 13 lines · Stefan Priebe - Profihost AG

Am 21.05.2013 um 17:35 schrieb Sylvain Munaut <[email protected]>:

Quoted 11 lines

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

Quoted 6 lines
Quoted 4 lines

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

I thought all mon leveldb issues were solved?

Not quite. I'm now able to reproduce the leveldb growth from Mike Dawson's trace (thanks!) but we don't have a fix yet.

I thought the scrub memory issues were addressed by f80f64cf024bd7519d5a1fb2a5698db97a003ce8 in 0.56.4... :(

sage

#5 lore raw

Sage,

Great news! My mons are growing again, but are significantly smaller right now. If you need a smaller set of data, I can probably get you something today.

Mike

Sent from my iPhone

Quoted 32 lines · Sage Weil
Quoted 13 lines · Stefan Priebe - Profihost AG

Am 21.05.2013 um 17:35 schrieb Sylvain Munaut <[email protected]>:

Quoted 11 lines

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

Quoted 6 lines
Quoted 4 lines

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

I thought all mon leveldb issues were solved?

Not quite. I'm now able to reproduce the leveldb growth from Mike Dawson's trace (thanks!) but we don't have a fix yet.

I thought the scrub memory issues were addressed by f80f64cf024bd7519d5a1fb2a5698db97a003ce8 in 0.56.4... :(

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to Sage Weil

Am 21.05.2013 17:44, schrieb Sage Weil:

Quoted 16 lines · Stefan Priebe - Profihost AG
Quoted 15 lines

Am 21.05.2013 um 17:35 schrieb Sylvain Munaut <[email protected]>:

Quoted 13 lines

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

It's now resolved in cuttlefish AFAICT.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

I thought all mon leveldb issues were solved?

Not quite. I'm now able to reproduce the leveldb growth from Mike Dawson's trace (thanks!) but we don't have a fix yet.

Oh OK. Is there a tracker id?

Quoted 5 lines

I thought the scrub memory issues were addressed by f80f64cf024bd7519d5a1fb2a5698db97a003ce8 in 0.56.4... :(

sage

#7 lore raw
Quoted 21 lines · Stefan Priebe

Am 21.05.2013 17:44, schrieb Sage Weil:

Quoted 20 lines · Stefan Priebe - Profihost AG
Quoted 19 lines

Am 21.05.2013 um 17:35 schrieb Sylvain Munaut
<[email protected]>:

Quoted 15 lines

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

I thought all mon leveldb issues were solved?

Not quite. I'm now able to reproduce the leveldb growth from Mike Dawson's trace (thanks!) but we don't have a fix yet.

Oh OK. Is there a tracker id?

http://tracker.ceph.com/issues/4895

Quoted 8 lines
Quoted 6 lines

I thought the scrub memory issues were addressed by f80f64cf024bd7519d5a1fb2a5698db97a003ce8 in 0.56.4... :(

sage

#8 lore raw

Well,

Am 21.05.2013 um 21:31 schrieb Sage Weil <[email protected]>:

Quoted 22 lines · Stefan Priebe
Quoted 21 lines

Am 21.05.2013 17:44, schrieb Sage Weil:

Quoted 20 lines · Stefan Priebe - Profihost AG
Quoted 19 lines

Am 21.05.2013 um 17:35 schrieb Sylvain Munaut
<[email protected]>:

Quoted 15 lines

Hi,

Quoted 5 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

I thought all mon leveldb issues were solved?

Not quite. I'm now able to reproduce the leveldb growth from Mike Dawson's trace (thanks!) but we don't have a fix yet.

Oh OK. Is there a tracker id?

http://tracker.ceph.com/issues/4895

true for this issue, but back to topic, still not being able to safely ( deep-) scrub the whole cluster with 0.56.6.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

I thought the scrub memory issues were addressed by f80f64cf024bd7519d5a1fb2a5698db97a003ce8 in 0.56.4... :(

any advice very welcome, though about 1/3 of the cluster is safe in means of "we scrubbed it deeply".

Best regards,

Oliver.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to Sylvain Munaut

Right,

Quoted 6 lines · Sylvain Munaut

Hi,

Quoted 4 lines

subject seems familiar, version was 0.48.3 in the last mail.

Not anyone else with perhaps large pg's experiencing such behaviour?

Quoted 8 lines
Quoted 1 line

Any advice on how to proceed?

I had the same behavior in both argonaut and bobtail, raising sharply ~ 100M or so at each scrub (every 24h).

It's now resolved in cuttlefish AFAICT.

However given the mon leveldb issues I'm having with cuttlefish, I'm not sure I'd recommend upgrading ...

not really at this moment. Cause we have an otherwise stable and fast cluster for our VM's ;)

Oliver.

Quoted 4 lines

Cheers,

Sylvain

Signature · 15 lines
Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#10 lore raw
In reply to Oliver Francke
Quoted 4 lines · Oliver Francke

Well,

Not anyone else with perhaps large pg's experiencing such behaviour?

100pg's per pool, 3 pools. deep-scrub adds about 200M to every OSD, it get's worse in time. it gets better when using syslog instead of direct logging, interestingly enougy.

Quoted 1 line

Any advice on how to proceed?

in my cast it is: wait until they say: the cuttlefish swims into a stable direction. and restart osd's every now and then...

Quoted 4 lines

Thnx in advance,

Oliver.

Signature · 15 lines
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
[email protected]
http://www.risc-software.at