[ https://issues.apache.org/jira/browse/CLOUDSTACK-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radhika Nair updated CLOUDSTACK-295: ------------------------------------ Fix Version/s: (was: 4.1.0) 4.2.0 > 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.2.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