hi, i don't think the pg log can be 500MB in size, may be the osd daemon hold the data of PULL messages in memory during recovery, there are some options to configure it, like "osd_client_message_size_cap" and "osd_client_message_cap". In our test environment, the OSD daemon can consume as mush as 8GB memory when we add new osd to the cluster. 2015-07-20 0:07 GMT+08:00 David Casier AEVOO <david.casier@xxxxxxxx>: > Hi, > I have a question about PGLog and RAM consumption. > > In the documentation, we read "OSDs do not require as much RAM for regular > operations (e.g., 500MB of RAM per daemon instance); however, during > recovery they need significantly more RAM (e.g., ~1GB per 1TB of storage per > daemon)" > > But in fact, all pg log are read in the start of ceph-osd daemon and put in > RAM ( pg->read_state(store, bl); ) > > Is this normal behavior or I have a defect in my environment? > > Cordialement, > David Casier. > -- > 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 -- thanks huangjun -- 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