Re: Increasing mon_pg_warn_max_per_osd in v12.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Op 4 december 2017 om 10:59 schreef SOLTECSIS - Victor Rodriguez Cortes <vrodriguez@xxxxxxxxxxxxx>:
> 
> 
> Hello,
> 
> I have upgraded from v12.2.1 to v12.2.2 and now a warning shows using
> "ceph status":
> 
> ---
> # ceph status
>   cluster:
>     id:    
>     health: HEALTH_WARN
>             too many PGs per OSD (208 > max 200)
> ---
> 
> I'm ok with the amount of PGs, so I'm trying to increase the max PGs.

Why are you OK with this? A high amount of PGs can cause serious peering issues. OSDs might eat up a lot of memory and CPU after a reboot or such.

Wido

> I've tried adding this to /etc/ceph/ceph.conf and restarting
> services/servers:
> 
> ---
> [global]
> mon_pg_warn_max_per_osd = 300
> ---
> 
> 
> I've also tried to inject the config  to running daemons with:
> 
> ---
> ceph tell mon.* injectargs  "-mon_pg_warn_max_per_osd 0"
> ---
> 
> But I'm getting "Error EINVAL: injectargs: failed to parse arguments:
> --mon_pg_warn_max_per_osd,300" messages and I'm still getting the
> HEALTH_WARN message in the status command.
> 
> How can I increase mon_pg_warn_max_per_osd?
> 
> Thank you!
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux