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/07/15 04:41:04 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=14061581#comment-14061581 ]
Pierre-Luc Dion commented on CLOUDSTACK-295:
--------------------------------------------
does this issue is still relevant?
cloud.spec still contain:
{code}
# 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
{code}
> 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.2#6252)