Strange delay in account server POST

asked 2013-01-17 22:05:57 -0600

david-kranz gravatar image

My swift system is not under very heavy load. An application is running that does frequent account POSTs to set the tempurl metadata. Usually this operation in the account servers log shows it taking about .00x seconds. But every few hundred requests or so, spread over hours, this request will take up to 7 seconds to complete. I looked at the account server code and didn't see anything that could plausibly take that long. Is there any known explanation for this? If not, is there some more instrumentation that can be turned on to find out why this is happening?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-18 15:49:35 -0600

cthier gravatar image

The first step in debugging this issue would be to get the transaction ID from the headers returned for the slow request. Then grep all the backend server logs for that transaction id. Each back end request log line includes how long that request took, and you can also look for any errors or time-outs that may have caused the issue.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-01-17 22:05:57 -0600

Seen: 41 times

Last updated: Jan 18 '13