You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sowmya Krishnan (JIRA)" <ji...@apache.org> on 2013/07/29 10:59:49 UTC

[jira] [Commented] (CLOUDSTACK-2997) HAProxy maxconn is not configurable

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722279#comment-13722279 ] 

Sowmya Krishnan commented on CLOUDSTACK-2997:
---------------------------------------------

updateNetworkOffering with maxconnections is throwing up error. Also don't see the concurrent_connections in network_offerings table.


                
> HAProxy maxconn is not configurable
> -----------------------------------
>
>                 Key: CLOUDSTACK-2997
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2997
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.2.0
>         Environment: Master, Xen
>            Reporter: Parth Jagirdar
>            Assignee: Bharat Kumar
>            Priority: Critical
>
> In core//src/com/cloud/network/HAProxyConfigurator.java, maxconn is hardcoded to 4096. According to the HAProxy page, it is safe to assume 20k connections per GB of RAM. This parameter can be changed by the patches/systemvm/debian/config/root/reconfigLB.sh to be based on the actual RAM of the VR.
> During testing following observations were made..
> - /etc/haproxy/haproxy.cfg doesnt have maxconn as global variable.
> - patches/systemvm/debian/config/root/reconfigLB.sh doesnt configure HAProxy.cfg as per VR service offering and available RAM;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira