xenial-queens verified
test output:
root@juju-662fa0-xq-sru-test-7:~# sed -i -r 's/(rgw frontends = civetweb port=70).*/\1 max_connections=10000000000000000000000000000000/g' /etc/ceph/ceph.conf root@juju-662fa0-xq-sru-test-7:~# systemctl restart ceph-radosgw@rgw.`hostname` root@juju-662fa0-xq-sru-test-7:~# lsof -i :70 root@juju-662fa0-xq-sru-test-7:~# grep max_conn /var/log/ceph/ceph-client.rgw.juju-662fa0-xq-sru-test-7.log 2019-10-30 11:11:22.085139 7f8c89268000 0 civetweb: 0x55e1294108e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:11:23.446174 7f961780d000 0 civetweb: 0x55d4401128e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:11:25.497004 7f3569786000 0 civetweb: 0x555c414398e0: max_connections value "10000000000000000000000000000000" is invalid root@juju-662fa0-xq-sru-test-7:~# sed -i -r 's/(rgw frontends = civetweb port=70).*/\1 max_connections=1000/g' /etc/ceph/ceph.conf root@juju-662fa0-xq-sru-test-7:~# systemctl restart ceph-radosgw@rgw.`hostname` root@juju-662fa0-xq-sru-test-7:~# lsof -i :70 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME radosgw 7663 ceph 37u IPv4 25171 0t0 TCP *:gopher (LISTEN) root@juju-662fa0-xq-sru-test-7:~# grep max_conn /var/log/ceph/ceph-client.rgw.juju-662fa0-xq-sru-test-7.log 2019-10-30 11:11:22.085139 7f8c89268000 0 civetweb: 0x55e1294108e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:11:23.446174 7f961780d000 0 civetweb: 0x55d4401128e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:11:25.497004 7f3569786000 0 civetweb: 0x555c414398e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:11:26.860549 7fbbe5e42000 0 civetweb: 0x55b8810748e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:11:28.070096 7f093f962000 0 civetweb: 0x55c44a9ac8e0: max_connections value "10000000000000000000000000000000" is invalid 2019-10-30 11:12:15.341958 7f14baf35000 1 mgrc service_daemon_register rgw.juju-662fa0-xq-sru-test-7 metadata {arch=x86_64,ceph_version=ceph version 12.2.12 (1436006594665279fe734b4c15d7e08c13ebd777) luminous (stable),cpu=Intel Xeon E312xx (Sandy Bridge, IBRS update),distro=ubuntu,distro_description=Ubuntu 16.04.6 LTS,distro_version=16.04,frontend_config#0=civetweb port=70 max_connections=1000,frontend_type#0=civetweb,hostname=juju-662fa0-xq-sru-test-7,kernel_description=#195-Ubuntu SMP Tue Oct 1 09:35:25 UTC 2019,kernel_version=4.4.0-166-generic,mem_swap_kb=0,mem_total_kb=2047984,num_handles=1,os=Linux,pid=7663,zone_id=a3fe50ec-b375-4b10-ba6a-8e3bb8a15e89,zone_name=default,zonegroup_id=c35bd079-a42d-4540-acd1-bf77ba2ee5c8,zonegroup_name=default}
xenial-queens verified
test output:
root@juju- 662fa0- xq-sru- test-7: ~# sed -i -r 's/(rgw frontends = civetweb port=70).*/\1 max_connections =10000000000000 000000000000000 000/g' /etc/ceph/ceph.conf 662fa0- xq-sru- test-7: ~# systemctl restart ceph-radosgw@ rgw.`hostname` 662fa0- xq-sru- test-7: ~# lsof -i :70 662fa0- xq-sru- test-7: ~# grep max_conn /var/log/ ceph/ceph- client. rgw.juju- 662fa0- xq-sru- test-7. log 000000000000000 000" is invalid 000000000000000 000" is invalid 000000000000000 000" is invalid 662fa0- xq-sru- test-7: ~# sed -i -r 's/(rgw frontends = civetweb port=70).*/\1 max_connections =1000/g' /etc/ceph/ceph.conf 662fa0- xq-sru- test-7: ~# systemctl restart ceph-radosgw@ rgw.`hostname` 662fa0- xq-sru- test-7: ~# lsof -i :70 662fa0- xq-sru- test-7: ~# grep max_conn /var/log/ ceph/ceph- client. rgw.juju- 662fa0- xq-sru- test-7. log 000000000000000 000" is invalid 000000000000000 000" is invalid 000000000000000 000" is invalid 000000000000000 000" is invalid 000000000000000 000" is invalid daemon_ register rgw.juju- 662fa0- xq-sru- test-7 metadata {arch=x86_ 64,ceph_ version= ceph version 12.2.12 (14360065946652 79fe734b4c15d7e 08c13ebd777) luminous (stable),cpu=Intel Xeon E312xx (Sandy Bridge, IBRS update) ,distro= ubuntu, distro_ description= Ubuntu 16.04.6 LTS,distro_ version= 16.04,frontend_ config# 0=civetweb port=70 max_connections =1000,frontend_ type#0= civetweb, hostname= juju-662fa0- xq-sru- test-7, kernel_ description= #195-Ubuntu SMP Tue Oct 1 09:35:25 UTC 2019,kernel_ version= 4.4.0-166- generic, mem_swap_ kb=0,mem_ total_kb= 2047984, num_handles= 1,os=Linux, pid=7663, zone_id= a3fe50ec- b375-4b10- ba6a-8e3bb8a15e 89,zone_ name=default, zonegroup_ id=c35bd079- a42d-4540- acd1-bf77ba2ee5 c8,zonegroup_ name=default}
root@juju-
root@juju-
root@juju-
2019-10-30 11:11:22.085139 7f8c89268000 0 civetweb: 0x55e1294108e0: max_connections value "10000000000000
2019-10-30 11:11:23.446174 7f961780d000 0 civetweb: 0x55d4401128e0: max_connections value "10000000000000
2019-10-30 11:11:25.497004 7f3569786000 0 civetweb: 0x555c414398e0: max_connections value "10000000000000
root@juju-
root@juju-
root@juju-
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
radosgw 7663 ceph 37u IPv4 25171 0t0 TCP *:gopher (LISTEN)
root@juju-
2019-10-30 11:11:22.085139 7f8c89268000 0 civetweb: 0x55e1294108e0: max_connections value "10000000000000
2019-10-30 11:11:23.446174 7f961780d000 0 civetweb: 0x55d4401128e0: max_connections value "10000000000000
2019-10-30 11:11:25.497004 7f3569786000 0 civetweb: 0x555c414398e0: max_connections value "10000000000000
2019-10-30 11:11:26.860549 7fbbe5e42000 0 civetweb: 0x55b8810748e0: max_connections value "10000000000000
2019-10-30 11:11:28.070096 7f093f962000 0 civetweb: 0x55c44a9ac8e0: max_connections value "10000000000000
2019-10-30 11:12:15.341958 7f14baf35000 1 mgrc service_