You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Pierre-Luc Dion (JIRA)" <ji...@apache.org> on 2014/09/21 18:42:33 UTC
[jira] [Resolved] (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:all-tabpanel ]
Pierre-Luc Dion resolved CLOUDSTACK-295.
----------------------------------------
Resolution: Fixed
cloud.spec contain limits.conf. installing from packages update those params.
> 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
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Doc
> Affects Versions: pre-4.0.0
> Reporter: David Nalley
> Priority: Minor
> Fix For: Future
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)