7.1.2.5. Limit file sizes
The shell contains a built-in command to limit file sizes,
ulimit, which can also be used to display
limitations on system resources:
cindy:~> ulimit -a
core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 512
virtual memory (kbytes) unlimited
|
Cindy is not a developer and doesn't care about core dumps,
which contain debugging information on a program. If you do want
core dumps, you can set their size using the ulimit command. Read the Info pages on bash for
a detailed explanation.
|
Core file? |
|
A core file or core dump is sometimes generated when
things go wrong with a program during its execution. The core file
contains a copy of the system's memory, as it was at the time that
the error occured.
|