Ask Your Question
0

max_clients parameter

asked 2014-07-04 01:47:13 -0500

birben gravatar image

Hi all,

In the "Deployment Guide" document's "General Service Tuning" section, it mentions a parameter called max_clients. In the conf files presented in several other documents I haven't seen any parameter called max_clients. However there is a parameter called "max connections", are these two parameters the same? Otherwise, what are the differences?

Thanks a lot

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-04 02:11:17 -0500

foexle gravatar image

Hi Birben,

i've never seen max_connections, maybe a deprecated option? However if you're not sure with configuration options a good place is to look into the github repo.

# Use an integer to override the number of pre-forked processes that will
# accept connections. Should default to the number of effective cpu
# cores in the system. It's worth noting that individual workers will
# use many eventlet co-routines to service multiple concurrent requests.
# workers = auto
#
# Maximum concurrent requests per worker
# max_clients = 1024

Cheers Heiko

edit flag offensive delete link more

Comments

Thanks, it is a very good advice! Cheers

birben gravatar imagebirben ( 2014-07-04 02:38:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-04 01:47:13 -0500

Seen: 53 times

Last updated: Jul 04 '14