Disk I/O error after PC sleep [#21538]

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

cjnaz
Posts: 8
Joined: Tue May 02, 2017 12:04 am

Re: Disk I/O error after PC sleep [#21538]

Post by cjnaz »

I checked out builds 3082 and 3113 (the current Standard Version on your Download page for Gold upgrade) with simply putting the notebook to sleep and waking it up again. No DB errors. I'll let it sleep for 30 minutes when I get a chance. So currently I can't reproduce the problem and thus can't test if its fixed. I'll get back to you.

Peke, I have a gigabit link between the computers. I don't see any performance issues with 8722 .mp3s in the library.
Peke
Posts: 18312
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Disk I/O error after PC sleep [#21538]

Post by Peke »

cjnaz wrote: Mon Apr 07, 2025 9:28 pm Peke, I have a gigabit link between the computers. I don't see any performance issues with 8722 .mp3s in the library.
Problem may recur on remapping network paths on back from sleep as there is an delay in which Windows remap/regain access to network path. It is hit and miss case if MM in that time tries to access DB.

Let us know if problem recur.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
cjnaz
Posts: 8
Joined: Tue May 02, 2017 12:04 am

Re: Disk I/O error after PC sleep [#21538]

Post by cjnaz »

On 2024.0.0.3082 after wake I got one IO error message which I dismissed and then the current song started playing.
On 2024.1.0.3113 after wake gives me repeated disk I/O errors, as reported, requiring the process to be killed.
On 2024.2.0.3150 after wake no IO error messages. Tested twice after 30+ minutes asleep. (I understand the timing issue that Peke brings up.)

My vote is that a single on-wake error message pop-up to be dismissed is quite fine, as long as MM functions normally afterward.

Thank you,
cjn
Peke
Posts: 18312
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Disk I/O error after PC sleep [#21538]

Post by Peke »

Hi,
Thank you for confirming.
cjnaz wrote: Tue Apr 08, 2025 9:09 pm On 2024.2.0.3150 after wake no IO error messages. Tested twice after 30+ minutes asleep. (I understand the timing issue that Peke brings up.)
That aspect was fixed in 3150+ eg. MM do not throw I/O error immediately but retries several times to give time to mapped/UNC drive wake up.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
cjnaz
Posts: 8
Joined: Tue May 02, 2017 12:04 am

Re: Disk I/O error after PC sleep [#21538]

Post by cjnaz »

OK, fails on further testing.

I put the notebook to sleep before lunch, and then waking after lunch MM is stuck in the same error pop-up loop.
Note that the network drive (mapped to Z:) is available to my file manager and other apps on the notebook, but MM is still stuck. The error popup reemerges after 20 seconds, or just a few seconds after hitting OK button.

Database file Z:\media...\MM5.DB cannot be accessed.
Error: disk I/O error

After hitting OK on the above pop-up and then hitting the X (close) button on MM window, after a few seconds an Application Error pop-up:

Application throw an exception. Not all close query events are finished!! (C:\Sources\MediaMonkey2024_2\HTML5Monkey\BaseApp.pas. line 7801
Would you like to restart MediaMonkey in Safe mode?

I selected Restart (not in Safe mode)

It seems that MM can't recover some in-process DB operations even after the DB file is again accessible. No way to make DB operations pause for 20 seconds after wake from sleep?
Post Reply