add/rescan suddenly extremely slow

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

add/rescan suddenly extremely slow

Post by MPG »

Hi,
Up until this past Monday, the rescan used to take between 7-15 minutes on my collection. Suddenly on Monday, it took over 30 hours to complete. Since the issue started, I've tried changing some of the scan settings with no luck. Instead of whipping through the collection, each song is taking up to a second to be processed. I am running MM 4.1.13.1801 on a Windows 10 Pro V.1511 box that has 16 GB of RAM. Collection is on a 2 TB local drive with 118 GB of open space. Primary disk as 675GB free on a 1 TB drive. The database has recently been maintained a couple of times to reduce some MM processing delays. When I maintained I select Rebuild Full-Text Searches and Optimize database (Complete).

Any suggestions?

TIA
MPG
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
MMFrLife
Posts: 2894
Joined: Fri Oct 26, 2012 9:04 pm
Location: MM Forum

Re: add/rescan suddenly extremely slow

Post by MMFrLife »

MPG wrote:Collection is on a 2 TB local drive with 118 GB of open space.
How old is the drive?
MM user since 2003 (lifetime lic. 2012) "Trying to imagine life without music gives me a headache"
Top 2 scripts: RegExp Find & Replace (e.v.) and Magic Nodes (e.v.) ZvezdanD's scripts site
Please take a moment to read the bottom of the linked page to support the one and only - ZvezdanD! (the "originator" since 2006).
MMW 4.1.31.1919; 5.0.4.2690 || back it up...frequently!
|| software for power users: "Q-Dir" (free alt. to explorer) and file/folder renamer: "ReNamer" (den4b)
"The absurd is the essential concept and the first truth"
๐Ÿ˜œ
Lowlander
Posts: 56628
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: add/rescan suddenly extremely slow

Post by Lowlander »

Did you enable analyzing for duplicates?
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: add/rescan suddenly extremely slow

Post by MPG »

Hi,
The drive is about 5 years old and appears to be fully functional. TBH, I think this would be a red herring as the drive is used for other services and there hasn't been any degradation in their functionality. I checked the drive. 3% fragmented. Otherwise, everything checks out so I don't believe it's the drive.

No, I do not have analyzing for duplicates selected. :)
The options I have selected are:
Infer File Properties from Filenames and Use Tags then inferred properties
Get Album Titles and Track Numbers from Tags Only
Scan File directories for Artwork
Update file info from Tags when rescanning files
Only for files with changed timestamp or size
Remove unavailable items
Generate thumbnails for videos.

I've also noticed that the continuous scan that I have set up isn't updating the database. Some songs that I have in a "to be processed" folder are not being picked up by MediaMonkey. This is what made me do a rescan in the first place. So I get the feeling that the Optimizing has somehow changed the database and MediaMonkey is now trying to update it.

I'm loath to do an uninstall and reinstall as I have a number of automated playlists, Magic Nodes, and installed utilities. Setting it back up is not something I look forward to. I'd also loose my played count which is really important to me.

Thanks,
MPG
edit: provided more information to assist in analysis.
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
MMFrLife
Posts: 2894
Joined: Fri Oct 26, 2012 9:04 pm
Location: MM Forum

Re: add/rescan suddenly extremely slow

Post by MMFrLife »

MPG wrote:The drive is about 5 years old and appears to be fully functional. TBH, I think this would be a red herring as the drive is used for other services and there hasn't been any degradation in their functionality. I checked the drive. 3% fragmented. Otherwise, everything checks out so I don't believe it's the drive.
It's always good to check things like that first; process of elimination. The evidence you present is convincing. Although, 5 years is around the minimum range of even a quality, well maintained drive (no need for distraction, just keep an eye on it :wink: ).
MPG wrote:The options I have selected are:
Infer File Properties from Filenames and Use Tags then inferred properties
Get Album Titles and Track Numbers from Tags Only
Scan File directories for Artwork
Update file info from Tags when rescanning files
Only for files with changed timestamp or size
Remove unavailable items
Generate thumbnails for videos.
Have you had "scan file directories for Artwork" and "generate thumbnails for videos" enabled since before the problem?
MPG wrote:I've also noticed that the continuous scan that I have set up isn't updating the database. Some songs that I have in a "to be processed" folder are not being picked up by MediaMonkey. This is what made me do a rescan in the first place. So I get the feeling that the Optimizing has somehow changed the database and MediaMonkey is now trying to update it.
Um... maybe. But optimize should only put it back into proper working order not degrade it. Maybe the install has become corrupt.

The "to be processed folder" is a folder to be monitored and set to continuous? Do you sometimes make changes outside of MM without MM running?
MPG wrote:I'm loath to do an uninstall and reinstall as I have a number of automated playlists, Magic Nodes, and installed utilities. Setting it back up is not something I look forward to. I'd also loose my played count which is really important to me.
If you have the key MM files backed up, it shouldn't be too much of a problem. You shouldn't loose settings, playlists, counts
Last edited by MMFrLife on Thu Sep 22, 2016 8:52 pm, edited 1 time in total.
MM user since 2003 (lifetime lic. 2012) "Trying to imagine life without music gives me a headache"
Top 2 scripts: RegExp Find & Replace (e.v.) and Magic Nodes (e.v.) ZvezdanD's scripts site
Please take a moment to read the bottom of the linked page to support the one and only - ZvezdanD! (the "originator" since 2006).
MMW 4.1.31.1919; 5.0.4.2690 || back it up...frequently!
|| software for power users: "Q-Dir" (free alt. to explorer) and file/folder renamer: "ReNamer" (den4b)
"The absurd is the essential concept and the first truth"
๐Ÿ˜œ
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: add/rescan suddenly extremely slow

Post by MPG »

Thanks for the reply!
Have you had "scan file directories for Artwork" and "generate thumbnails for videos" enabled since before the problem?
Yes, both were selected. For testing purposes, I unchecked and tried again....still extremely slow.
The "to be processed folder" is a folder to be monitored and set to continuous? Do you sometimes make changes outside of MM without MM running?
I will at times add files to the folder outside of MM. They are usually picked up by the continuous monitoring, however every once in awhile, I will have to run the Rescan so they are picked up. I don't usually worry about doing the rescan as it's typically done in minutes.....not days or even hours.
If you have the key MM files backed up, it shouldn't be too much of a problem. You shouldn't loose settings, playlists, counts
Not sure how I would keep the counts as the uninstall would remove the database. Making a copy of the db and then swapping it back in, I think would put me back to square one. I guess that's an option...just not one I'm overly excited to do.

Wonder if I should submit a ticket to the support team....

MPG
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
Lowlander
Posts: 56628
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: add/rescan suddenly extremely slow

Post by Lowlander »

A debug log (step 4b) capturing this is probably a good way to go: http://www.mediamonkey.com/forum/viewtopic.php?f=1&t=69
MMFrLife
Posts: 2894
Joined: Fri Oct 26, 2012 9:04 pm
Location: MM Forum

Re: add/rescan suddenly extremely slow

Post by MMFrLife »

If you can back up key files just before reinstalling you should be fine, but I would submit a ticket at this point.
MM user since 2003 (lifetime lic. 2012) "Trying to imagine life without music gives me a headache"
Top 2 scripts: RegExp Find & Replace (e.v.) and Magic Nodes (e.v.) ZvezdanD's scripts site
Please take a moment to read the bottom of the linked page to support the one and only - ZvezdanD! (the "originator" since 2006).
MMW 4.1.31.1919; 5.0.4.2690 || back it up...frequently!
|| software for power users: "Q-Dir" (free alt. to explorer) and file/folder renamer: "ReNamer" (den4b)
"The absurd is the essential concept and the first truth"
๐Ÿ˜œ
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: add/rescan suddenly extremely slow

Post by MPG »

Hi,
I ran debug, then started Mediamonkey, after loading I ran the rescan. There are a number of errors which I think are coming from explorer. Do I submit a ticket or should I install the debug version of MM?

Code: Select all

[\\WIN8-OFFICE]
00000018	23.93763351	[5844] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF7A96B7C4A: (caller: 00007FFF1B607DE3) ReturnHr(441) tid(b5c) 80004005 Unspecified error 
00000019	24.89321899	[8640] shell\explorerframe\nsctask.cpp(1277)\explorerframe.dll!00007FFEFB84B136: (caller: 00007FFEFB84A989) ReturnHr(1233) tid(177c) 80070057 The parameter is incorrect. 
00000020	24.89326477	[8640] shell\explorerframe\nsctask.cpp(1277)\explorerframe.dll!00007FFEFB84B136: (caller: 00007FFEFB84A989) ReturnHr(1234) tid(818) 80070057 The parameter is incorrect. 
00000021	34.30164719	[6804] ASL checking for logging parameters in environment variable "MediaMonkey64Helper.exe.log"
00000022	34.30180740	[6804] ASL checking for logging parameters in environment variable "asl.log"
00000023	34.42554092	[5844] avcore\npsm\localprovider\baseprovider\lib\baseprovider.cpp(604)\NPSMDesktopProvider.dll!00007FFF00EC2140: (caller: 00007FFF00EC26E5) ReturnHr(219) tid(1958) 80070490 Element not found. 
00000024	34.42576981	[5844] onecore\base\appmodel\resourcepolicy\gameconfigstore\client\gameconfigstoreclient.cpp(104)\resourcepolicyclient.dll!00007FFF1383976C: (caller: 00007FFF022C8BE3) LogHr(61) tid(2e50) 80070490 Element not found. 
00000025	36.62505341	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1235) tid(1314) 80070057 The parameter is incorrect. 
00000026	37.61496353	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1236) tid(1314) 80070057 The parameter is incorrect. 
00000027	55.42253494	[5844] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF7A96B7C4A: (caller: 00007FFF1B607DE3) ReturnHr(442) tid(b5c) 80004005 Unspecified error 
00000028	116.28313446	[5844] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF7A96B7C4A: (caller: 00007FFF1B607DE3) ReturnHr(443) tid(b5c) 80004005 Unspecified error 
00000029	116.31297302	[5844] avcore\npsm\localprovider\baseprovider\lib\baseprovider.cpp(604)\NPSMDesktopProvider.dll!00007FFF00EC2140: (caller: 00007FFF00EC26E5) ReturnHr(220) tid(1958) 80070490 Element not found. 
00000030	116.36119843	[5844] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF7A96B7C4A: (caller: 00007FFF1B607DE3) ReturnHr(444) tid(b5c) 80004005 Unspecified error 
00000031	118.57787323	[5844] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF7A96B7C4A: (caller: 00007FFF1B607DE3) ReturnHr(445) tid(b5c) 80004005 Unspecified error 
00000032	178.47039795	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1237) tid(1314) 80070057 The parameter is incorrect. 
00000033	178.47047424	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1238) tid(1314) 80070057 The parameter is incorrect. 
00000034	178.47053528	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1239) tid(1314) 80070057 The parameter is incorrect. 
00000035	178.47067261	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1240) tid(1314) 80070057 The parameter is incorrect. 
00000036	178.47070313	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1241) tid(1314) 80070057 The parameter is incorrect. 
00000037	178.47082520	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1242) tid(1314) 80070057 The parameter is incorrect. 
00000038	178.47090149	[8640] shell\lib\bindctx.cpp(128)\explorerframe.dll!00007FFEFB74F210: (caller: 00007FFEFB7724FA) ReturnHr(1243) tid(1314) 80070057 The parameter is incorrect. 
00000039	178.96827698	[5844] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF7A96B7C4A: (caller: 00007FFF1B607DE3) ReturnHr(446) tid(b5c) 80004005 Unspecified error
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
dtsig
Posts: 3588
Joined: Mon Jan 24, 2011 6:34 pm

Re: add/rescan suddenly extremely slow

Post by dtsig »

follow lowlanders instructions a couple messages up ..
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: add/rescan suddenly extremely slow

Post by MPG »

The debug lines are from the log. Sorry, not sure what you are referring to dtsig.
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
dtsig
Posts: 3588
Joined: Mon Jan 24, 2011 6:34 pm

Re: add/rescan suddenly extremely slow

Post by dtsig »

Create a debug log, using the newest beta, and post it to the support group.
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: add/rescan suddenly extremely slow

Post by MPG »

Submitted a ticket. Hopefully it won't take too long for a response.
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
Lowlander
Posts: 56628
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: add/rescan suddenly extremely slow

Post by Lowlander »

Yeah, you need the debug version of MediaMonkey to get anything useful from DBGView.
Post Reply