madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 662 forks source link

std::runtime_error,thread failed with: fwrite() failed #548

Open xdli-19118946588 opened 3 years ago

xdli-19118946588 commented 3 years ago

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

Jahorse commented 3 years ago

I just ran into this too, seems they are already some issues opened for the same error: https://github.com/madMAx43v3r/chia-plotter/issues/333 https://github.com/madMAx43v3r/chia-plotter/issues/453

cyperbg commented 3 years ago

Maybe you didn't clear your temp drives from temp files and started a new job, so it ran out of space.

Dartellum commented 3 years ago

Out of space or failing drive would cause this error.

Rennechr commented 3 years ago

It must be something else, At first i tryed it with a ramdisk 110g, then this error occured. then I tryed to Plot only with nvme, and the error Occured again. Then I changed the os several Times (i tryed Cent, Ubuntu, Debian, Win Server 2008). At least I tryied with Windows Server 2012, there It suddenly Worked (even with ramdisk). I think its some failed garbage Collection Problem, but I don't really know...

NikXO6 commented 3 years ago

Had same issue, a previous job got terminated in between phase 1 after 3 tables. The 110GB ramdisk was full, so kept getting this error, work perfectly fine now after clearing it.

bdelgado1995 commented 3 years ago

I have a script that clears out my ramdisks before each madmax plot and that seems to be helping.