Hi,
We just finished debugging a problem with RBD-backed Glance image creation 
failures, and thought our workaround would be useful for others. Basically, we 
found that during an image upload, librbd on the glance api server was 
consuming many many processes, eventually hitting the 1024 nproc limit of 
non-root users in RHEL. The failure occurred when uploading to pools with 2048 
PGs, but didn't fail when uploading to pools with 512 PGs (we're guessing that 
librbd is opening one thread per accessed-PG, and not closing those threads 
until the whole processes completes.)

If you hit this same problem (and you run RHEL like us), you'll need to modify 
at least /etc/security/limits.d/90-nproc.conf (adding your non-root user that 
should be allowed > 1024 procs), and then also possibly run ulimit -u in the 
init script of your client process. Ubuntu should have some similar limits.

Cheers, Dan
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to