scylladb / scylla-ami

7 stars 29 forks source link

Coredump is not being created when AMI has a small root disk #17

Open tgrabiec opened 8 years ago

tgrabiec commented 8 years ago

journalctl:

Aug 03 08:13:02 ip-172-31-1-38.us-west-2.compute.internal systemd-coredump[28694]: Not enough disk space for coredump of 2818 (scylla), refusing.

Workaround, assuming the AMI is set up with a raid disk:

sudo /usr/lib/scylla/scylla_coredump_setup --dump-to-raiddir

Before executing above, you may want to consider editing /usr/lib/scylla/scylla_coredump_setup and changing Compress: yes to Compress: no, otherwise the coredump creation takes veeery long.