You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Alex Huang (JIRA)" <ji...@apache.org> on 2012/10/09 04:58:02 UTC

[jira] [Commented] (CLOUDSTACK-295) Add instructions to modify limits.conf in installation directions

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

Alex Huang commented on CLOUDSTACK-295:
---------------------------------------

This line is only needed when the system is running with hosts > the standard 1024.  This should be more documented as a scaling and tuning item.  It is not required for regular CloudStack deployment.
                
> Add instructions to modify limits.conf in installation directions
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-295
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-295
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Doc
>    Affects Versions: pre-4.0.0
>            Reporter: David Nalley
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> Changing config files was deemed too unsavory to be done in a automated manner so that was removed from the spec file. 
> Thus we need to add a section to installation documents that discusses modifying /etc/security/limits.conf
> Here is what was in the spec file, this should only be for the management server. 
> # set max file descriptors for cloud user to 4096 sed -i /"cloud hard nofile"/d
> /etc/security/limits.conf sed -i /"cloud soft nofile"/d /etc/security/limits.conf
> echo "cloud hard nofile 4096" >> /etc/security/limits.conf echo "cloud soft
> nofile 4096" >> /etc/security/limits.conf rm -
> rf %{_localstatedir}/cache/%{name}

--
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