[Bug 1838109] Re: civetweb does not allow tuning of maximum socket connections
Jesse Williamson
1838109 at bugs.launchpad.net
Mon Sep 16 20:36:06 UTC 2019
verification-done-bionic
verification-done-disco
Procedure:
* run: strings radosgw | grep max_connections
max_connections
max_connections value "%s" is invalid
run: sudo systemctl restart ceph-radosgw.target
...see no error in logs.
r
* edit /etc/ceph/ceph.conf
change:
rgw frontends = civetweb port=70
to:
rgw frontends = civetweb port=70 max_connections=1099329233823823823823832823832832
...see error in logs.
...restart with value in range (say, 1000), no error message.
* in the code there is no codepath setting this value without using the
variable, internally: so seeing this behavior is evidence the feature is
present.
** Tags removed: verification-needed-bionic verification-needed-disco
** Tags added: verification-done-bionic verification-done-disco
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1838109
Title:
civetweb does not allow tuning of maximum socket connections
Status in Ceph:
New
Status in Ubuntu Cloud Archive:
Fix Committed
Status in Ubuntu Cloud Archive queens series:
In Progress
Status in Ubuntu Cloud Archive rocky series:
Fix Committed
Status in Ubuntu Cloud Archive stein series:
Fix Committed
Status in Ubuntu Cloud Archive train series:
In Progress
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Bionic:
Fix Committed
Status in ceph source package in Disco:
Fix Committed
Status in ceph source package in Eoan:
Fix Released
Bug description:
[Impact]
RADOS gateway can run out of sockets prior to consuming the CPU and memory resources on the server on which it is running.
[Test Case]
Deploy RGW to a large server; scale test - RGW processes will only be able to service around 100 open connections.
[Regression Potential]
Medium; the fix introduces a new configuration option for civetweb (the web connector for RGW) to allow the max connections to be set via configuration, rather than being set during compilation; improvement has been accepted upstream in the civetweb project.
[Original Bug Report]
Civetweb does not offer an option for configuring the maximum number of sockets available. Some users run out of sockets and are left with no workaround.
This patch adds a new user-configurable parameter, "max_connections".
See:
https://github.com/civetweb/civetweb/issues/775
To manage notifications about this bug go to:
https://bugs.launchpad.net/ceph/+bug/1838109/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list