PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : limits.conf: Sinnvoll mit diesen Werten?



Noether
15.03.10, 01:27
Um meine Rechner ein bischen zuverlässiger zu machen will ich eine universelle limits.conf einsetzen damit möglichst viel limitiert ist, aber sind die folgenden Werte sinnvoll? :confused:



#<domain> <type> <item> <value>
#
# as: virtual memory in Bytes
* soft as 100000000000
* hard as 123456789012
# core: core dump size in kiB
* soft core 10000000
* hard core 12345678
# chroot
#* - chroot /home
# cpu: cpu time in minutes
* soft cpu 10000000
* hard cpu 12345678
# data: size of data segement of a process in MiB
* soft data 100000
* hard data 123456
# fsize: file size in kiB
* soft fsize 1000000000
* hard fsize 1234567890
# locks: number of file system locks
* soft locks 100000
* hard locks 123456
# maxlogins: number of parallel logins
* - maxlogins 16
# maxsyslogins: number of parallel logins locally
* soft maxsyslogins 15
* hard maxsyslogins 16
# memlock: size of the memory in RAM in kiB
* soft memlock 100000
* hard memlock 123456
# msgqueue: memory for posix message queues in Bytes
* soft msgqueue 10000000
* hard msgqueue 12345678
# nice: nice value
* soft nice -17
* hard nice -18
# nofile: number of open files
* soft nofile 100000
* hard nofile 123456
# nproc: number of processes per PID
* soft nproc 10000
* hard nproc 12345
# priority
* soft priority -1
* hard priority -2
# rss: RSS memory size in kiB
* soft rss 100000
* hard rss 123456
# rt priority
* - rtpriority 0
# sigpending: number of waiting signals
* soft sigpending 10000
* hard sigpending 12345
# stack: size of the stack in kiB
* hard stack 1000000
* soft stack 1234567


Für chroot fehlt mir noch ein sinnvoller Eintrag.

Und gibt es eine einfache Möglichkeit die Anzahl der Zombies zu begrenzen? :confused: