- Numero máximo de procesos del usuario
- Tiempo máximo de uso en el CPU
etc.
Ejemplo:
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 8187
virtual memory (kbytes, -v) unlimited
La siguiente es una sugerencia para cambiar estos parámetros:
On Sun, May 02, 1999 at 08:48:42AM -0700, David S Edwards wrote:
This isn't bash, this is the linux kernel:
--BEGIN: /usr/src/linux/include/linux/tasks.h:
MAX_TASKS_PER_USER is later used to determine the default ulimit
(which is independant of bash. See setrlimit(2)). A normal user can't
ever raise his limit, and /etc/profile runs as the user, so you can't
fix it there. The only solution I know is to change tasks.h and
recompile your kernel.
Para ver/cambiar estos límites a nivel de código:
man setrlimit
No comments:
Post a Comment