We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6935a0 commit 6df005aCopy full SHA for 6df005a
1 file changed
python/lib/cloudutils/serviceConfigServer.py
@@ -90,7 +90,13 @@ def checkHostName():
90
#distro like sl 6.1 needs this folder, or tomcat6 failed to start
91
checkHostName()
92
bash("mkdir /var/log/cloud-management/")
93
-
+ #set max process per account is unlimited
94
+ if os.path.exists("/etc/security/limits.conf"):
95
+ cfo = configFileOps("/etc/security/limits.conf")
96
+ cfo.add_lines("cloud soft nproc -1\n")
97
+ cfo.add_lines("cloud hard nproc -1\n")
98
+ cfo.save()
99
+
100
try:
101
self.syscfg.svo.disableService("tomcat6")
102
except:
0 commit comments