The rados gateway uses libfcgi, which provides the fastcgi api. We've
bumped into an issue yesterday, where when the total number of the
file descriptors that were used by rgw crossed 1024 the requests
weren't handled correctly (apache started returning 500s). It appears
that libfcgi uses select() instead of other safer options (e.g.,
poll() ) which has a limit related to the max file descriptor number
it can process correctly (usually 1024). This also poses a security
issue.
Apparently, there's a patch for it (already available in ubuntu), so
everyone uses libfcgi should make sure they're using a version that
contains this fix:

https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/933417


Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to