Public bug reported: [Summary] LB_NFV:KiloV1 ,the maxconn should be created on global section of HAprxy config file
[Topo] Openstack version :RDO kilo OS version :centOS 7.1 [Description and expect result] the maxconn should be created on global section of HAprxy config file [Reproduceable or not] it is easy to recreate. [Recreate Steps] after create a LB with max-session limit , the maxconn was not wrote to global section of HA proxy config file , this max config will effect our max session number ,because file-handle number was less than expect log following is default config ,the max open file is 4031 [root@scalenetwork1 ~(keystone_admin)]# cat /proc/24868/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 127881 127881 processes Max open files 4031 4031 files <<<<<<<<< Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127881 127881 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us [root@scalenetwork1 ~(keystone_admin)]# log following is config which maxconn in global secion has been change to 100000 ,the max open file is 200031 [root@scalenetwork1 ~(keystone_admin)]# cat /proc/14650/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 127881 127881 processes Max open files 200031 200031 files <<<<<<<<<<<<<<<<<<< Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127881 127881 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us [root@scalenetwork1 ~(keystone_admin)]# [Configration] [root@nit ~(keystone_admin)]# more /var/lib/neutron/lbaas/61a7696f-ded6-493c-98bc-27c2a82cca15/conf global daemon user nobody maxconn 100000<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<miss his parameter on global section group haproxy log /dev/log local0 log /dev/log local1 notice stats socket /var/lib/neutron/lbaas/61a7696f-ded6-493c-98bc-27c2a82cca15/sock mode 0666 level user defaults log global retries 3 option redispatch timeout connect 5000 timeout client 50000 timeout server 50000 frontend 46d5cb86-ec6c-474e-82dd-9dc70baa3222 option tcplog bind 0.0.0.0:80 mode http default_backend 61a7696f-ded6-493c-98bc-27c2a82cca15 maxconn 50000 option forwardfor backend 61a7696f-ded6-493c-98bc-27c2a82cca15 mode http balance roundrobin option forwardfor [logs] Post logs here. [Root cause anlyze or debug inf] [Attachment] ** Affects: neutron Importance: Undecided Status: New ** Tags: kilov1 lbaas -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1516861 Title: the maxconn should be created on global section of HAprxy config file Status in neutron: New Bug description: [Summary] LB_NFV:KiloV1 ,the maxconn should be created on global section of HAprxy config file [Topo] Openstack version :RDO kilo OS version :centOS 7.1 [Description and expect result] the maxconn should be created on global section of HAprxy config file [Reproduceable or not] it is easy to recreate. [Recreate Steps] after create a LB with max-session limit , the maxconn was not wrote to global section of HA proxy config file , this max config will effect our max session number ,because file-handle number was less than expect log following is default config ,the max open file is 4031 [root@scalenetwork1 ~(keystone_admin)]# cat /proc/24868/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 127881 127881 processes Max open files 4031 4031 files <<<<<<<<< Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127881 127881 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us [root@scalenetwork1 ~(keystone_admin)]# log following is config which maxconn in global secion has been change to 100000 ,the max open file is 200031 [root@scalenetwork1 ~(keystone_admin)]# cat /proc/14650/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size 0 unlimited bytes Max resident set unlimited unlimited bytes Max processes 127881 127881 processes Max open files 200031 200031 files <<<<<<<<<<<<<<<<<<< Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127881 127881 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us [root@scalenetwork1 ~(keystone_admin)]# [Configration] [root@nit ~(keystone_admin)]# more /var/lib/neutron/lbaas/61a7696f-ded6-493c-98bc-27c2a82cca15/conf global daemon user nobody maxconn 100000<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<miss his parameter on global section group haproxy log /dev/log local0 log /dev/log local1 notice stats socket /var/lib/neutron/lbaas/61a7696f-ded6-493c-98bc-27c2a82cca15/sock mode 0666 level user defaults log global retries 3 option redispatch timeout connect 5000 timeout client 50000 timeout server 50000 frontend 46d5cb86-ec6c-474e-82dd-9dc70baa3222 option tcplog bind 0.0.0.0:80 mode http default_backend 61a7696f-ded6-493c-98bc-27c2a82cca15 maxconn 50000 option forwardfor backend 61a7696f-ded6-493c-98bc-27c2a82cca15 mode http balance roundrobin option forwardfor [logs] Post logs here. [Root cause anlyze or debug inf] [Attachment] To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1516861/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp