You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Radhika Nair (JIRA)" <ji...@apache.org> on 2013/01/17 07:42:23 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=13555914#comment-13555914 ]
Radhika Nair commented on CLOUDSTACK-295:
-----------------------------------------
description from 296:
If the system has a lot of resources to logon to, the cloud user may run out of file descriptor limits. If so, add the following to the limits.conf file.
# 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}
> 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
> Assignee: Radhika Nair
> 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