INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: JRiver hangs overnight  (Read 216 times)

MikeO3

  • World Citizen
  • ***
  • Posts: 101
JRiver hangs overnight
« on: October 31, 2024, 06:29:19 am »

I wake to a daily hung and dead JRiver since the last update to 33.0.37.

Two things I have noticed in the logfile. One it is this trying to update files from a non-existent server and second is a timeout situation for something.

Months ago I changed my fileserver and it appears there is some process looking for the old path. Not sure what process is attempting to reach out. All thumbnails are 100% built. Perhaps someone can tell me how or what to update to stop looking for files there. I don't think this is the issue with causing the hang situation but thought it relevant since the second log finding is a timeout confition.
Code: [Select]
8535992: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535992: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\Queen\Flash Gordon\Folder.jpg, type: 0, attributes: 0)
8535993: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535993: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\Michael Oman, Amandine Beyer, Austrian Baroque Company\London Calling\Folder.jpg, type: 0, attributes: 0)
8535994: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535994: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\Kurt Baker\Girl's Got Money\Covers\Front Sleeve.png, type: 0, attributes: 0)
8535995: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535995: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\Kurt Baker\Girl's Got Money\Covers\Rear.jpg, type: 0, attributes: 0)
8535997: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535997: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\The B-52's\Cosmic Thing\Folder.jpg, type: 0, attributes: 0)
8535998: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535998: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\Nine Inch Nails\The Slip\Folder.jpg, type: 0, attributes: 0)
8535999: 19732: General: CFileSystemManager::AnalyzeDrive: Error using connection '\\ajaxnas02\Music': 67
8535999: 19732: General: CFileSystemManager::AnalyzeDrive: Drive does not exist (drive: \\ajaxnas02\Music, filename: \\ajaxnas02\Music\Claire Martin\Too Darn Hot\Info + Art\Too Darn Hot! - front.png, type: 0, attributes:

Second item is showing a Wait situation which I assume is why JRiver is hanging? Dunno as the only way to find out is restarting since the timestamp is serial and not a date/time can't tell "when". Perhaps someone can advise what this is looking for.

Here is where the last entry stops working and appears to be looping forever only this one process 17864 till the end of the log. 17864 appears to have looped through the logfile as it appears at the very top of the log.
Code: [Select]
8787651: 18416: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Action: Search
8792207: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8792207: 17864: Import: CWatchFoldersThread::Thread: Timeout
8792207: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8792207: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8797221: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8797221: 17864: Import: CWatchFoldersThread::Thread: Timeout
8797221: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8797221: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8802235: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8802235: 17864: Import: CWatchFoldersThread::Thread: Timeout
8802235: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8802235: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8807248: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8807248: 17864: Import: CWatchFoldersThread::Thread: Timeout
8807248: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8807248: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8812260: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8812260: 17864: Import: CWatchFoldersThread::Thread: Timeout
8812261: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8812261: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8817271: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8817271: 17864: Import: CWatchFoldersThread::Thread: Timeout
8817271: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8817271: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8819599: 3664: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Start
8819604: 3664: Sharing Plugins: VHTTPMessage::ParseBody: Start
8819604: 3664: Sharing Plugins: VHTTPMessage::ParseBody: Reading 771 bytes from message body
8819657: 3664: Sharing Plugins: VHTTPMessage::ParseBody: Finish (53 ms)
8819657: 3664: Sharing Plugins: CHTTPListenerWorker::HandleRequest: TCP: 192.168.0.157: POST: http://192.168.0.116:52103/ContentDirectory/control
8819657: 3664: Sharing Plugins: CDLNADeviceServerWorker::ProcessPost: Start
8819657: 3664: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Start
8819657: 3664: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Action: Search
8822283: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8822283: 17864: Import: CWatchFoldersThread::Thread: Timeout
8822283: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8822283: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8827292: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8827292: 17864: Import: CWatchFoldersThread::Thread: Timeout
8827292: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8827292: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8832298: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8832298: 17864: Import: CWatchFoldersThread::Thread: Timeout
8832298: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8832298: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8837306: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8837306: 17864: Import: CWatchFoldersThread::Thread: Timeout
8837306: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8837306: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8842318: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8842318: 17864: Import: CWatchFoldersThread::Thread: Timeout
8842318: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8842318: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8847331: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8847331: 17864: Import: CWatchFoldersThread::Thread: Timeout
8847331: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8847331: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8852345: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8852345: 17864: Import: CWatchFoldersThread::Thread: Timeout
8852345: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8852345: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8857355: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8857355: 17864: Import: CWatchFoldersThread::Thread: Timeout
8857355: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8857355: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8862368: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8862368: 17864: Import: CWatchFoldersThread::Thread: Timeout
8862368: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8862368: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8867369: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8867369: 17864: Import: CWatchFoldersThread::Thread: Timeout
8867369: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8867369: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8872382: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8872382: 17864: Import: CWatchFoldersThread::Thread: Timeout
8872383: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8872383: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8877395: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8877395: 17864: Import: CWatchFoldersThread::Thread: Timeout
8877395: 17864: Import: CWatchFoldersThread::Thread: Success (looping again)
8877395: 17864: Import: CWatchFoldersThread::Thread: Waiting (2)
8882404: 17864: Import: CWatchFoldersThread::Thread: Wait result (258)
8882404: 17864: Import: CWatchFoldersThread::Thread: Timeout

Let me know if there is additional information I can provide or PM someone the error log package.

Thank you.

Quote
System info:
Library
    Total files: 119,056
    Audio files: 110,483
    Image files: 8,556
    Video files: 17
    Other files: 0
    Artists: 8,348
    Albums: 8,732
    Genres: 181
    Years: 73
    Playlists: 121
    Most Played Tracks: Burn-in Track;Frequency Test - 1000Hz;Left Channel;Rain Of Zero Nuclear;Brainhole
    Most Played Albums: Audiophile Hi-Res System Test;Audiophile Speaker Set-Up;Whipped Cream & Other Delights;Interludes;Mr. Luck - A Tribute to Jimmy Reed: Live at the Royal Albert Hall
Processing
    Thumbnails built: 100% (119056 of 119056)
    Audio analyzed (audio files): 100% (110483 of 110483)
    Audio analyzed (video files): 0% (0 of 17)
Background Tools Running
    No tools currently running
Power
    No entries that affect the system power state
Media Center
    Version: 33.0.37 Registered
    Install path: C:\Program Files\J River\Media Center 33\
    Interface plug-ins: Interface Plugins: TiVo Server (not running)
    JRMark: 5767 (version 32.0.58)
    Program run time: 36 minutes
    Memory used: 137 MB memory
    Handles used: 878 handles
  Memory & CPU
        CPU features: MMX, SSE2, SSE3, SSSE3, SSE4.1, AVX, AVX2
        Free Physical Memory: 52 GB
        Total Logical Cores: 20
        Total Memory: 63.9 GB
    Operating System
        Microsoft Windows 11 64-bit
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2616
Re: JRiver hangs overnight
« Reply #1 on: October 31, 2024, 06:58:03 am »

Maybe some thumbnails/clipart are still pointing to the old server?
You can check if any of the MC database fields/files (.jmd) contain references to ajaxnas02. Open the database folder in CMD and run this to find out:
Code: [Select]
findstr /i /m ajaxnas02 *.*

Silly workaround: add an entry to your Hosts file to redirect ajaxnas02 to ajaxnas04, using the current IP address for Ajaxnas04 - this should avoid MC hanging long enough for you to fix the DB:
Code: [Select]
192.168.0.202 ajaxnas02
Logged

MikeO3

  • World Citizen
  • ***
  • Posts: 101
Re: JRiver hangs overnight
« Reply #2 on: October 31, 2024, 07:57:39 am »

Thanks for the quick reply...

Maybe some thumbnails/clipart are still pointing to the old server?
You can check if any of the MC database fields/files (.jmd) contain references to ajaxnas02. Open the database folder in CMD and run this to find out:
Code: [Select]
findstr /i /m ajaxnas02 *.*

This is the output which didn't find anything for either server:
Code: [Select]
C:\Users\username\AppData\Roaming\J River\Media Center 33\Library>findstr /i /m ajaxnas02 *.*
field (filename).jmd

C:\Users\username\AppData\Roaming\J River\Media Center 33\Library>

C:\Users\username\AppData\Roaming\J River\Media Center 33\Library>findstr /i /m ajaxnas04 *.*
field (filename).jmd

C:\Users\username\AppData\Roaming\J River\Media Center 33\Library>


Quote
Silly workaround: add an entry to your Hosts file to redirect ajaxnas02 to ajaxnas04, using the current IP address for Ajaxnas04 - this should avoid MC hanging long enough for you to fix the DB:
Code: [Select]
192.168.0.202 ajaxnas02
I was thinking that myself, so I just created a CNAME entry in DNS.

That seemed to make the process happy: ;D
Code: [Select]
7692179: 17864: Sharing Plugins: CDLNADeviceServerWorker::ProcessPost: Start
7692179: 6252: Sharing Plugins: CHTTPListenerWorker::HandleRequest: TCP: 192.168.0.139: POST: http://192.168.0.116:52101/ContentDirectory/control
7692179: 6252: Sharing Plugins: CDLNADeviceServerWorker::ProcessPost: Start
7692179: 17864: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Start
7692179: 17864: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Action: GetSearchCapabilities
7692179: 17864: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Finish (0 ms)
7692179: 6252: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Start
7692179: 6252: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Action: GetSearchCapabilities
7692179: 6252: Sharing Plugins: CContentDirectoryService::HandleControlFunction: Finish (0 ms)
7692179: 17864: Sharing Plugins: CDLNADeviceServerWorker::ProcessPost: Finish (0 ms)
7692179: 6252: Sharing Plugins: CDLNADeviceServerWorker::ProcessPost: Finish (0 ms)
7692179: 17864: Sharing Plugins: VHTTPMessage::Write: Wrote 553 bytes
7692179: 6252: Sharing Plugins: VHTTPMessage::Write: Wrote 553 bytes
7692190: 4744: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Start
7692190: 4744: Sharing Plugins: CHTTPListenerWorker::HandleRequest: TCP: 192.168.0.158: GET: http://192.168.0.116:52103/DeviceDescription.xml
7692192: 6252: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Finish (64 ms)
7692192: 6252: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: closesocket() closing 3208
7692192: 17864: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Finish (63 ms)
7692192: 17864: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: closesocket() closing 1784

I'll do a Find later today because I should be getting to work! lol...
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2616
Re: JRiver hangs overnight
« Reply #3 on: October 31, 2024, 08:03:40 am »

This is the output which didn't find anything for either server:
Code: [Select]
C:\Users\username\AppData\Roaming\J River\Media Center 33\Library>findstr /i /m ajaxnas02 *.*
field (filename).jmd

This is actually saying that it found the string in the [Filename] field. So you have some files still pointing there, possibly deleted files. If a regular search in MC for "[filename]=ajaxnas02" doesn't find anything, try searching the deleted files with "[filename]=ajaxnas02 ~d=r". If something shows up, delete it again to make it permanent. After doing that and closing MC, the "findstr" command should not find anything.
Logged

MikeO3

  • World Citizen
  • ***
  • Posts: 101
[Solved] Re: JRiver hangs overnight
« Reply #4 on: October 31, 2024, 09:20:27 am »

Ah, got it on a match in that particular db file.

I ran both searches [filename=] and there are no results. I validated "ajaxnas04" which did yield results.

Also tried filename-name and path with no results.

I have just stopped all clients as well in case there is an errant request from them.

Edit... Could it be a stack related problem? I see the requests in the log for a lot of Folder.jpg which is my default.
Edit Edit: There are 8556 tab stacks pointing to the old location. Guess these paths are not updated when the Move Tool or Rename, Move is used perhaps?

Marking the issue solved as my problem is identified.
Logged
Pages: [1]   Go Up