Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185750

Limiting resource usage

From <jumpy@tutanota.com>
Newsgroups linux.debian.user
Subject Limiting resource usage
Date 2017-08-23 00:10 +0200
Message-ID <uhpx0-74-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

https://www.debian.org/doc/manuals/securing-debian-howto/ch4.en.html
4.11.2 Limiting resource usage: the limits.conf file.
$ ulimit -a
core file size          
(blocks, -c) 
data seg size           
(kbytes, -d)
scheduling priority             
(-e)
file size               
(blocks, -f) 
pending signals                 
(-i) 
max locked memory       
(kbytes, -l) 
max memory size         
(kbytes, -m) 
open files                      
(-n) 
pipe size            
(512 bytes, -p) 
POSIX message queues     
(bytes, -q) 
real-time priority              
(-r) 
stack size              
(kbytes, -s) 
cpu time               
(seconds, -t) 
max user processes              
(-u) 
virtual memory          
(kbytes, -v) 
file locks                      
(-x) 

- i cannot change the default setting.
is it a secure feature/the best option or a sign that something is wrong.

- have i to configure limits.conf ?
my /etc/security/limits.conf is not set (all is marked as # comment)
i do not know how-to-do that & i have not found (desktop default user / no server) something that i could copy & past or a soft/script which should generate the best option for me.

- could someone solve that using k.i.s.s. ?

thx by advance in case of responses.
https://www.debian.org/doc/manuals/debian-handbook does not answer at my questions  ),

--
Securely sent with Tutanota.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Limiting resource usage <jumpy@tutanota.com> - 2017-08-23 00:10 +0200
  Re: Limiting resource usage Zoltán Herman <zoltanhbz@gmail.com> - 2017-08-23 00:40 +0200
    Re: Limiting resource usage Reco <recoverym4n@gmail.com> - 2017-08-23 08:20 +0200
      Re: Limiting resource usage Zoltán Herman <zoltanhbz@gmail.com> - 2017-08-23 10:30 +0200
  Re: Limiting resource usage Lck Ras <likcoras@riseup.net> - 2017-08-23 02:10 +0200

csiph-web