bergware / dynamix

51 stars 38 forks source link

S3 sleep - Check CPU Usage #82

Open newhinton opened 11 months ago

newhinton commented 11 months ago

I would like to prevent my system going to sleep when i am encoding files. This is entirely local, so i cannot prevent this by a network-check. However, the CPU usage is a good indicator.

Thanks!

bjoerns1983 commented 11 months ago

Why not simply checking if the array is up and using an array disk as encoding destination?

newhinton commented 11 months ago

Weirdly enough, that is enabled. I will have to monitor this closely. It might be possible that a bigger delay might help. (Related question, do you know if the "Extra Delay" in seconds or minutes?)

newhinton commented 11 months ago

No, delay only does not work. For some reason status&counter will not prevent sleep. From what i gathered, it should have been written to when it shut down. This might actually be a bug

bjoerns1983 commented 11 months ago

You are sure that the share you are writing on does not utilize the Cache disk?

newhinton commented 11 months ago

Yes, there is no cache disk.

Also i am not sure if i am actually writing to a "share". I dont know how unraid works, so i might be directly writing via the mountpoint. (The transcode process is inside a docker container, which writes and reads from a mounted directory and dvd-drives)