ShokoServer icon indicating copy to clipboard operation
ShokoServer copied to clipboard

Problems ejecting an external drive

Open OronDF343 opened this issue 8 years ago • 5 comments

JMM Server prevents me from using the windows "eject" option to safely remove my external drive of anime. I'd appreciate it if JMM Server could release the handle to the drive when it is not needed - every FileStream should be properly closed.

OronDF343 avatar Oct 27 '16 06:10 OronDF343

It you can help narrow down which accesses aren't closed, that'd be awesome. There are several ways we access files. There's hashing, file serving for streaming, file serving for local, file renaming, and drop folders that I can think off the top of my head. Even if you can say which you use or don't use.

da3dsoul avatar Oct 27 '16 06:10 da3dsoul

The drive is set as a source folder for anime hashing and as a drop destination. All queues are empty on the server (everything idle), and the drive even spins down at some point.

OronDF343 avatar Oct 27 '16 08:10 OronDF343

OK... So we need to look at everything except renaming...

da3dsoul avatar Oct 27 '16 08:10 da3dsoul

I'll try to do some more testing when I have the time

OronDF343 avatar Oct 27 '16 08:10 OronDF343

There's checkbox "watch for new files" in new import folder dialog which is probably the problem.

bond4u avatar Feb 12 '17 09:02 bond4u