Bug #12640
closedradosgw + civetweb latency issue on Hammer
0%
Description
After upgrading to Hammer and moving from apache to civetweb. We
started seeing high PUT latency in the order of 2 sec for every PUT
request. The GET request latency looks good.
Attaching the radosgw logs for a single request. The ceph.conf has the
following configuration for civetweb.
[client.radosgw.gateway]
rgw frontends = civetweb port=5632
Further investion reveled the call to get_data() at
https://github.com/ceph/ceph/blob/hammer/src/rgw/rgw_op.cc#L1786 is
taking 2 sec to respond. The cluster is on Hammer 94.2 release.
Files
Updated by Yehuda Sadeh over 8 years ago
any chance you could provide a corresponding strace?
Updated by Giridhar Yasa over 8 years ago
I am faced with the same issue, with AWS Java SDK based S3 client.
Looking at the packet trace, I found that this was happening because 'rgw print continue' was set to false (the default for ceph-ansible based deployments) and the client was waiting for 100-Continue. This doesn't happen with a Python Boto based client though.
If the OP can confirm this, we can close this as a non-bug.