With ulimit.

Since it has no manpage, see
; ulimit --help


To see your current shell resource limits, use

; ulimit -a
core file size              (blocks, -c) unlimited
data seg size               (kbytes, -d) 1572864
file size                   (blocks, -f) unlimited
max locked memory           (kbytes, -l) 87381
max memory size             (kbytes, -m) 129975952
open files                          (-n) 512
pipe size                (512 bytes, -p) 1
stack size                  (kbytes, -s) 4096
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 256
virtual memory              (kbytes, -v) 1576960

For your particular problem, use

; ulimit -c 0


I do not know how to make it permanent.

Thomas


On 9/21/25 03:38, H. Hartzer wrote:
Hi misc@,

How can one disable core dumps?

Normally these aren't an issue, but with testing the Monero port I am
sometimes getting core dumps. These will get to 30-60GB+ and fill up the
partition. I'd rather not have these.

Another thought, maybe controversial, might be for coredumps to get
deleted if they fill up the disk. Or stop writing if the filesystem is
more than 90% full.

Thank you!

-Henrich

uid 627 on /home: file system full
coredump of monerod(54572) failed, filesystem full


Reply via email to