Omejitev rama in CPUja

Matej Zerovnik - LeVaK levak at planetq.org
Tue Oct 1 14:33:04 CEST 2002


Kako dolocenemu userju omejiti porabo pomnilnika in CPUja. Probal sem z ulimit 
oz sem nastavil v /etc/security/limits.conf omejitve pa zgleda da jih ne 
uposteva. nproc omejitev dela RSS pa noce. Proces mi pozre ves ram in potem 
dobim Out of memory! 

levak at element:/etc/security$ cat limits.conf
mldonkey        soft    rss     8000
mldonkey        hard    rss    10000
mldonkey        soft    memlock 8000
mldonkey        hard    memlock 10000
mldonkey        soft    nproc 6
mldonkey        hard    nproc 7

Kje je napaka?

LeVaK





More information about the lugos-list mailing list