Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

[Bug] K32 plots are using more than 256gb of temp space #9328

Closed zerovski closed 2 years ago

zerovski commented 2 years ago

What happened?

When plotting on a 320gb hard drive, it freezes at 42%, and the hard drive is full, exceding the recommended 256gb (239GiB) space needed to plot.

Version

1.2.11

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

No response

loppefaaret commented 2 years ago

make sure you clean out any previous failed attempts .tmp files. failed plots leave behind their .tmp files in the temp directory

zerovski commented 2 years ago

Yes I did that! That's not the problem! The drive was formatted.

loppefaaret commented 2 years ago

can you replicate the issue ? also, which plotter are you using ? chiapos ?

zerovski commented 2 years ago

can you replicate the issue ? also, which plotter are you using ? chiapos ?

Yes I can replicate it. It happens every time I try to plot on a 320gb hard drive. I'm using chiapos plotter.

loppefaaret commented 2 years ago

assuming it is formatted as NTFS - do you by any chance have folder compression enabled on the folder that is being used as temp directory ? any chance you could try to describe the settings you are using when it seemingly is running out of space ? before starting a plot, how much free space is reported on the filesystem ?

zerovski commented 2 years ago

Yes, it is formatted as NTFS without folder compression. It's an HDD, not an SSD. The system reports 297GB free. I plot with Chia Proof of Space 1.0.6, k32 plot, in queue with bitfield disabled (it's old hardware). You can see the rest of the settings in the prints i send. I'm trying to plot now, when it gets to the error i'll sent the message it shows!

chia 01 chia 02 chia 03 print disk

loppefaaret commented 2 years ago

thank you very much for the detailed report - one final request: when it ends up stuck - could you perhaps try and open up a PowerShell window, and switch to E:\ and list the dir ?

E:
dir

and either copy paste it into a .txt file and attach, or just simply paste it into a message here - it will show me which files are left behind also if you could add the plot .log file, it should be stored under you users folder: ~\.chia\mainnet\plotter\*.log from this latest attempt

zerovski commented 2 years ago

Hi! No problem, i think this are the files you asked. Thank you!

chia 04 chia 05 e dir.txt plotter_log_104baabb-c406-4cf5-8044-b8270c118384.txt

loppefaaret commented 2 years ago

that is absolutely perfect - thank you very much for data you submitted

zerovski commented 2 years ago

No problem! If you need any more data, just tell!

zerovski commented 2 years ago

Hi! Any news on this?

alginnon commented 2 years ago

hi there, is the temp file location a mapped usb as ready boost normally appears for usb or plug in usb this may not work correctly and be the issue, only a guess since no one else has responded recently. Try using a spare hard drive as the temp space for building then copy to location to farm.

zerovski commented 2 years ago

hi there, is the temp file location a mapped usb as ready boost normally appears for usb or plug in usb this may not work correctly and be the issue, only a guess since no one else has responded recently. Try using a spare hard drive as the temp space for building then copy to location to farm.

Hi! Thank you for your input, but if i understood correctly, that's not the issue here. The temp location it's a physical drive, SATA HDD, with ready boost already disabled.

alginnon commented 2 years ago

Hi there, ok in that case make sure that all hidden files on the drive are being shown.

In windows another option to make sure of is to disable shadow copy for a drive. https://www.maketecheasier.com/free-up-drive-space-by-removing-shadow-copies/ This link be helpful to check if it enabled or disabled for a drive.

alginnon commented 2 years ago

Hi there, To find out exactly what's taking up space try this to investigate the folder location https://www.fosshub.com/WinDirStat.html it should be useful

github-actions[bot] commented 2 years ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

zerovski commented 2 years ago

Ok! I'll try that app and get back with more data!

github-actions[bot] commented 2 years ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

github-actions[bot] commented 2 years ago

This issue was automatically closed because it has been flagged as stale, and subsequently passed 7 days with no further activity from the submitter or watchers.