All of lore.kernel.org
 help / color / mirror / Atom feed
* [0.48.3] OSD memory leak when scrubbing
@ 2013-01-22 20:01 Sylvain Munaut
  2013-01-22 21:19 ` Sébastien Han
  0 siblings, 1 reply; 30+ messages in thread
From: Sylvain Munaut @ 2013-01-22 20:01 UTC (permalink / raw)
  To: ceph-devel

Hi,

Since I have ceph in prod, I experienced a memory leak in the OSD
forcing to restart them every 5 or 6 days. Without that the OSD
process just grows infinitely and eventually gets killed by the OOM
killer. (To make sure it wasn't "legitimate", I left one grow up to 4G
or RSS ...).

Here's for example the RSS usage of the 12 OSDs process
http://i.imgur.com/ZJxyldq.png during a few hours.

What I've just noticed is that if I look at the logs of the osd
process right when it grows, I can see it's scrubbing PGs from pool
#3. When scrubbing PGs from other pools, nothing really happens memory
wise.

Pool #3 is the pool where I have all the RBD images for the VMs and so
have a bunch of small read/write/modify. The other pools are used by
RGW for object storage and are mostly write-once,read-many-times of
relatively large objects.

I'm planning to upgrade to 0.56.1 this week end and I was hoping to
see if someone knew if that issue had been fixed with the scrubbing
code ?

I've seen other posts about memory leaks but at the time, it wasn't
confirmed what was the source. Here I clearly see it's the scrubbing
on pools that have RBD image.

Cheers,

      Sylvain

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2013-02-19 19:50 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22 20:01 [0.48.3] OSD memory leak when scrubbing Sylvain Munaut
2013-01-22 21:19 ` Sébastien Han
2013-01-22 21:32   ` Sylvain Munaut
2013-01-22 21:38     ` Sébastien Han
2013-01-25 16:29       ` Sébastien Han
2013-01-25 20:16         ` Sylvain Munaut
2013-01-27 16:17           ` Sylvain Munaut
2013-01-27 17:47             ` Sage Weil
2013-01-27 18:17               ` Sylvain Munaut
2013-01-30  9:12               ` Sylvain Munaut
2013-01-30  9:18                 ` Sage Weil
2013-01-30 13:26                   ` Sylvain Munaut
2013-01-30 19:40                     ` Sage Weil
2013-01-31 13:20                       ` Sylvain Munaut
     [not found]                         ` <31226757.422.1359645742478.JavaMail.dspano@it1>
2013-01-31 15:26                           ` Sylvain Munaut
2013-01-31 19:57                         ` Sage Weil
2013-02-03 18:17                           ` Loic Dachary
     [not found]                             ` <CAOLwVUkUFvLihb6KbxG9Et7R_-ZTZpLQJYTjXm9TEe40V_ZRHg@mail.gmail.com>
2013-02-03 21:03                               ` Sébastien Han
2013-02-04 17:29                                 ` Sébastien Han
2013-02-04 19:29                                   ` Sage Weil
2013-02-04 21:03                                     ` Dan Mick
2013-02-04 21:08                                       ` Sébastien Han
2013-02-04 21:22                                         ` Gregory Farnum
2013-02-04 21:27                                           ` Sébastien Han
2013-02-16  7:09                                             ` Andrey Korolyov
2013-02-16  9:09                                               ` Wido den Hollander
2013-02-17 17:21                                                 ` Sébastien Han
2013-02-18 16:46                                                 ` 0.56 scrub OSD memleaks, WAS " Christopher Kunz
2013-02-19 19:23                                                   ` Samuel Just
2013-02-19 19:50                                                     ` Christopher Kunz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.