madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 662 forks source link

thread failed with: fwrite() failed error exit when plotting. #453

Open industrialtablet opened 3 years ago

industrialtablet commented 3 years ago

My plot cmd like this:

!/bin/bash

./chia_plot \
-n -1 \
-u 7 \
-t /mnt/ram/ \
-d /media/admin_/HYY4/ \
-p redacted \
-f redacted \

/mnt/ram dir is create like this: mkdir -p /mnt/ram sudo mount -t tmpfs -o size=120G tmpfs /mnt/ram


admin_@admin:~/chia-plotter/build$ ./p_2_disk4_withram.sh Multi-threaded pipelined Chia k32 plotter - 06ebeb1 Final Directory: /media/admin/HYY4/ Number of Plots: infinite Crafting plot 1 out of -1 Process ID: 446358 Number of Threads: 8 Number of Buckets: 2^7 (128) Pool Public Key: redacted Farmer Public Key: redacted Working Directory: /mnt/ram/ Working Directory 2: /mnt/ram/ Plot Name: plot-k32-2021-06-14-22-50-redacted [P1] Table 1 took 199.545 sec [P1] Table 2 took 875.755 sec, found 4295007508 matches terminate called after throwing an instance of 'std::runtime_error' what(): thread failed with: thread failed with: thread failed with: thread failed with: fwrite() failed

madMAx43v3r commented 3 years ago
Working Directory: /mnt/ram/
Working Directory 2: /mnt/ram/

For that you need like 256 GiB RAM disk

Dartellum commented 3 years ago

You ran out of space. Also, remove you keys before posting.