# Restreindre la taille d'un répertoire

**URL:** <https://www.debian-fr.org/t/restreindre-la-taille-dun-repertoire/4366>\
**Category:** Support Debian\
**Created:** [Février 20, 2016, 2:59 UTC](https://www.debian-fr.org/t/restreindre-la-taille-dun-repertoire/4366 "2016-02-20T14:59:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stonfi](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@stonfi](https://www.debian-fr.org/u/stonfi)\
**Post date:** [Février 20, 2016, 2:59 UTC](https://www.debian-fr.org/t/restreindre-la-taille-dun-repertoire/4366/2 "2016-02-20T14:59:09Z")

</div>

hello,

Essaie du coté du fichier “/etc/security/limits.conf”, voila un exemple :

[quote]

# - data - max data size (KB) ?

- core - limits the core file 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

# - maxlogins - max number of logins for this user

# - priority - the priority to run user process with

# - locks - max number of file locks the user can hold

#\* 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[/quote]

---

_[View the full topic](https://www.debian-fr.org/t/restreindre-la-taille-dun-repertoire/4366)._
