mirror of https://github.com/apache/cloudstack.git
Bug 10679 - increase file descriptor limit to 4096
Resolved fixed
This commit is contained in:
parent
b9f00ccbab
commit
93c55c2823
|
|
@ -387,6 +387,11 @@ fi
|
|||
%pre client
|
||||
id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "Cloud.com unprivileged user" \
|
||||
-r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true
|
||||
|
||||
# set max file descriptors for cloud user to 4096
|
||||
sed -i /"cloud"/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}
|
||||
# user harcoded here, also hardcoded on wscript
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue