[Openstack] [Swift] Proxy server bottleneck

Pete Zaitcev zaitcev at redhat.com
Mon Jan 13 18:46:07 UTC 2014


On Fri, 10 Jan 2014 15:25:02 -0800
Shrinand Javadekar <shrinand at maginatics.com> wrote:

> I see that the proxy-server already has a "workers" config option. However,
> looks like that is the # of threads in one proxy-server process.

Not so. Workers are separate Linux processes. Look at os.fork() in
run_sever(). Perhaps you're looking for the 'max_client' option,
which restricts the green pool passed to eventlet in each of the workers.

> It does not send the request and go back do accept more requests.

The requests each gets a green thread inside the eventlet, by way
of monkey-patching of some syscalls.

Anyhow, please be more specific about the numbers you see on your
proxies, e.g. how many IOPS, GHz, workers, and so on. Otherwise
it's poinless to speculate about your bottleneck case and its causes.

-- Pete




More information about the Openstack mailing list