# /etc/security/limits.conf # #Each line describes a limit for a user in the form: # # # #Where: # can be: # - a 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 # * soft core 20000 @public soft nproc 100 @public hard nproc 120 #@public soft as 500000 @public hard nofile 3000 @public soft nofile 1000 @public hard priority 2 @public hard maxlogins 50 #miners and other extreme CPU abuse (minutes) razvan hard cpu 5 holmes hard cpu 5 fabinsomnia hard cpu 5 vekt0r hard cpu 5 cateye hard cpu 5 kiayam hard cpu 5 #dos / excessive scanning etc. sm0k hard cpu 1 misterx hard cpu 1 one hard cpu 1 #alias? medbot hard cpu 1 faaka hard cpu 1 # CPU hogging bots / whatever redrock hard cpu 120 tomatosoup hard cpu 120 matt soft cpu 120 meimei soft cpu 120 jogjamedia soft cpu 60 lolmoney soft cpu 60 kizaru soft cpu 90 # Infinite bash scripts sameer soft nproc 3 # Spaning lots of proxy threads awoglerhow soft nproc 4 # Memory leaking bots s845 soft as 100000 s845 hard as 1000000 hansolo soft as 500000 # incoming bandwidth hogs ansenn hard nproc 3 # Tor exit node on main IP. vlatin hard cpu 5 # End of file