From 6f80aaa6b70021d68149a0ef31cdc4869cff6ace Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 22 Oct 2024 13:59:45 +0200 Subject: [PATCH 1/3] etc/security/limits.conf: add file to mxtools --- etc/security/limits.conf | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 etc/security/limits.conf diff --git a/etc/security/limits.conf b/etc/security/limits.conf new file mode 100644 index 0000000..da60232 --- /dev/null +++ b/etc/security/limits.conf @@ -0,0 +1,60 @@ +# /etc/security/limits.conf +# +#Each line describes a limit for a user in the form: +# +# +# +#Where: +# can be: +# - an user name +# - a group name, with @group syntax +# - the wildcard *, for default entry +# - the wildcard %, can be also used with %group syntax, +# for maxlogin limit +# +# can have the two values: +# - "soft" for enforcing the soft limits +# - "hard" for enforcing hard limits +# +# can be one of the following: +# - core - limits the core file size (KB) +# - data - max data size (KB) +# - fsize - maximum filesize (KB) +# - memlock - max locked-in-memory address space (KB) +# - nofile - max number of open files +# - rss - max resident set size (KB) +# - stack - max stack size (KB) +# - cpu - max CPU time (MIN) +# - nproc - max number of processes +# - as - address space limit (KB) +# - maxlogins - max number of logins for this user +# - maxsyslogins - max number of logins on the system +# - priority - the priority to run user process with +# - locks - max number of file locks the user can hold +# - sigpending - max number of pending signals +# - msgqueue - max memory used by POSIX message queues (bytes) +# - nice - max nice priority allowed to raise to values: [-20, 19] +# - rtprio - max realtime priority +# +# +# + +#* soft core 0 +#* hard rss 10000 +#@student hard nproc 20 +#@faculty soft nproc 20 +#@faculty hard nproc 50 +#ftp hard nproc 0 +#@student - maxlogins 4 + +seiler hard nofile 1048576 # temp for benchmark, hd 9. 9. 21 Max open filehandles auf icebear +rahn hard nofile 10000 # temp for benchmark 29.06.2021 +mehringe hard nofile 1048576 # temp for benchmark, hd 2. 12. 21 Max open filehandles auf icebear + +torprj hard nofile 65536 +torbprj hard nofile 65536 + +buczek hard nofile 30000 +magalhae hard nofile 30000 + +# End of file From 88dad0b088125fd0afeab542c494b139a79abb8d Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 22 Oct 2024 14:03:58 +0200 Subject: [PATCH 2/3] etc/security/limits.conf: update users No longer active: rahn, mehringe. New one: ringel --- etc/security/limits.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/security/limits.conf b/etc/security/limits.conf index da60232..e7f87bc 100644 --- a/etc/security/limits.conf +++ b/etc/security/limits.conf @@ -48,8 +48,6 @@ #@student - maxlogins 4 seiler hard nofile 1048576 # temp for benchmark, hd 9. 9. 21 Max open filehandles auf icebear -rahn hard nofile 10000 # temp for benchmark 29.06.2021 -mehringe hard nofile 1048576 # temp for benchmark, hd 2. 12. 21 Max open filehandles auf icebear torprj hard nofile 65536 torbprj hard nofile 65536 @@ -57,4 +55,6 @@ torbprj hard nofile 65536 buczek hard nofile 30000 magalhae hard nofile 30000 +ringel hard nofile 32768 # requirement for cellranger software, HD Tue, 22 Oct 2024 + # End of file From c399db4d3cbd258f4a7174955418c56f29163b61 Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 22 Oct 2024 14:05:26 +0200 Subject: [PATCH 3/3] etc/security/limits.conf: add edit sentinels --- etc/security/limits.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etc/security/limits.conf b/etc/security/limits.conf index e7f87bc..138a45d 100644 --- a/etc/security/limits.conf +++ b/etc/security/limits.conf @@ -1,4 +1,9 @@ # /etc/security/limits.conf +##################################################### +## ## +## DO NOT EDIT outside of the mxtools repository ! ## +## ## +##################################################### # #Each line describes a limit for a user in the form: # @@ -57,4 +62,9 @@ magalhae hard nofile 30000 ringel hard nofile 32768 # requirement for cellranger software, HD Tue, 22 Oct 2024 +##################################################### +## ## +## DO NOT EDIT outside of the mxtools repository ! ## +## ## +##################################################### # End of file