]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/operations/health-checks: fix TOO_MANY_PGS discussion 17427/head
authorSage Weil <sage@redhat.com>
Thu, 14 Sep 2017 20:01:14 +0000 (16:01 -0400)
committerSage Weil <sage@redhat.com>
Thu, 14 Sep 2017 20:01:14 +0000 (16:01 -0400)
Fiddling with pgp_num doesn't help with TOO_MANY_PGS.

Signed-off-by: Sage Weil <sage@redhat.com>
doc/rados/operations/health-checks.rst

index 34b12aff2fab9509487bd0a13644cb869975eb09..40b886f93f556fc98e3c65efd06f4d167df45457 100644 (file)
@@ -335,17 +335,20 @@ TOO_MANY_PGS
 ____________
 
 The number of PGs in use in the cluster is above the configurable
-threshold of ``mon_pg_warn_max_per_osd`` PGs per OSD.  This can lead
+threshold of ``mon_max_pg_per_osd`` PGs per OSD.  If this threshold is
+exceed the cluster will not allow new pools to be created, pool `pg_num` to
+be increased, or pool replication to be increased (any of which would lead to
+more PGs in the cluster).  A large number of PGs can lead
 to higher memory utilization for OSD daemons, slower peering after
 cluster state changes (like OSD restarts, additions, or removals), and
 higher load on the Manager and Monitor daemons.
 
-The ``pg_num`` value for existing pools cannot currently be reduced.
-However, the ``pgp_num`` value can, which effectively collocates some
-PGs on the same sets of OSDs, mitigating some of the negative impacts
-described above.  The ``pgp_num`` value can be adjusted with::
+The simplest way to mitigate the problem is to increase the number of
+OSDs in the cluster by adding more hardware.  Note that the OSD count
+used for the purposes of this health check is the number of "in" OSDs,
+so marking "out" OSDs "in" (if there are any) can also help::
 
-  ceph osd pool set <pool> pgp_num <value>
+  ceph osd in <osd id(s)>
 
 Please refer to :ref:`choosing-number-of-placement-groups` for more
 information.
@@ -366,7 +369,6 @@ triggering the data migration, with::
 
   ceph osd pool set <pool> pgp_num <pg-num-value>
 
-
 MANY_OBJECTS_PER_PG
 ___________________