Ask Your Question

How to troubleshoot a Swift Container running with a high CPU amount?

asked 2013-08-23 09:33:53 -0600

monksy gravatar image

updated 2013-08-23 14:51:16 -0600

smaffulli gravatar image

I'm having slow down issues with my Openstack setup. This is a recent developement. After I rebooted the machine I get a high CPU usage on the swift-container* type processes.

I'm not manually uploading/downloading/querying swift. So I'm not sure why all of those processes are utilizing 60-68% of the total CPU power.

Is there any way to debug this issue?

All of the glance images are stored in a bucket, and the Nova state is being stored on the local hard drive. [Is this the correct setup?]

edit retag flag offensive close merge delete


what do the swift logs say?

fifieldt gravatar imagefifieldt ( 2013-08-24 20:09:49 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-03 23:46:33 -0600

Edward Zhang gravatar image

There're 3 type of background daemons such as swift-container-replicator, swift-container-updater, swift-container-auditor. These daemons run in loop mode with interval to ensure object eventual consistency. They will generate workload on CPU. This is supposedly normal. But you are able to tune it by change the value of the interval, number of workers, concurrency options in /etc/swift/container-server.conf file to release the system overhead.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-23 09:33:53 -0600

Seen: 1,036 times

Last updated: Sep 03 '13