Ceph: HEALTH_WARN: 1 pools have more objects per pg than average

Solution Verified - Updated -

Issue

  • The command ceph -s reporting 1 pools have many more objects per pg than average.
  • How to change mon_pg_warn_max_object_skew.
  • PG is the acronym for Placement Group
# ceph -s 
  cluster:
    id:     fc06fa{Cluster-ID-Obfuscated}605b939
    health: HEALTH_WARN
            1 pools have many more objects per pg than average                          <-- here

  services:
    mon: 3 daemons, quorum cephxx,cephyy,cephzz
    mgr: mgr-m(active), standbys: mgr-n, mgr-q
    mds: cephfs-1/1/1 up  {0=mds-1=up:active}, 1 up:standby
    osd: 48 osds: 48 up, 48 in

  data:
    pools:   7 pools, 1504 pgs
    objects: 612k objects, 1788 GB
    usage:   5363 GB used, 75051 GB / 80414 GB avail
    pgs:     1504 active+clean

  io:
    client:   6435 kB/s wr, 0 op/s rd, 137 op/s wr
# ceph health detail
HEALTH_WARN 1 pools have many more objects per pg than average
MANY_OBJECTS_PER_PG 1 pools have many more objects per pg than average
    pool `problem` objects per pg (5436) is more than 13.036 times cluster average (417) <-- here

Environment

  • Red Hat Ceph Storage (RHCS) 3.x
  • Red Hat Ceph Storage (RHCS) 4.x
  • Red Hat Ceph Storage (RHCS) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content