650e0bc92d
- increase process limit to 1200 to help chromium users with many tabs OBS-URL: https://build.opensuse.org/request/show/280985 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=145
16 lines
568 B
Diff
16 lines
568 B
Diff
Index: Linux-PAM-1.1.8/modules/pam_limits/limits.conf
|
|
===================================================================
|
|
--- Linux-PAM-1.1.8.orig/modules/pam_limits/limits.conf
|
|
+++ Linux-PAM-1.1.8/modules/pam_limits/limits.conf
|
|
@@ -47,4 +47,10 @@
|
|
#ftp hard nproc 0
|
|
#@student - maxlogins 4
|
|
|
|
+# harden against fork-bombs
|
|
+* hard nproc 1700
|
|
+* soft nproc 1200
|
|
+root hard nproc 3000
|
|
+root soft nproc 1850
|
|
+
|
|
# End of file
|