Zhang Weiwu ha scritto: > So: is ulimit the solution? If so, what option should I set? My current > ulimit is: > > $ ulimit -a > core file size (blocks, -c) 0 > data seg size (kbytes, -d) 300000 > scheduling priority (-e) 0 > file size (blocks, -f) unlimited > pending signals (-i) 3072 > max locked memory (kbytes, -l) 32 > max memory size (kbytes, -m) 300 > open files (-n) 1024 > pipe size (512 bytes, -p) 8 > POSIX message queues (bytes, -q) 819200 > real-time priority (-r) 0 > stack size (kbytes, -s) 8192 > cpu time (seconds, -t) unlimited > max user processes (-u) 3072 > virtual memory (kbytes, -v) unlimited > file locks (-x) unlimited
On my machine I use "ulimit -v" and it works- however never tried it inside a script. m.