Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tray Monitor hangs/crashes out of sleep mode
#1
Dean: This is a very old issue that occurs from time to time on a Win 7 machine (CQC 4.8.0) that I use as my movie viewing PC with the XBMC driver (now on Kodi build). Itunes was not installed in the tray application install screen, as I'm just using XBMC at this time. I have this machine go to sleep when not in use as it supports a FlexRaid server with around 12 TB of storage, so don't want the drives running when not in use.

Probably around 20% of the time it comes out of sleep mode (WOL command) with the symptom that the Tray Mon is an active process but is hung up or non functional with regard to the XBMC driver. When I go to the Admin Interface and try reconfiguring the XBMC driver, it shows the Tray Monitor on the machine, but hangs at waiting for comm resource. This occurs with and without XBMC running before sleep mode kicks in.

The most recent instance (log entry below), is that the Tray Monitor goes offline and disappears from the task bar. Typically I need to end the process and start the Tray Monitor up manually from the program menu. Restarting the process does nothing. I had the Tray App in verbose mode, so if there are logs elsewhere to reference other than the main logs let me know.

I would love to track this down as it's annoying as hell...I'll keep the machine in this state if that might help track down the issue.

Next steps?

Here's the most recent log entry:

01/17 08:48:34-zotac, CQCServer, CQCDrv_XBMCThread26
{
CQCKit, MEng.System.CQC.Runtime.CQCLogger.128, Status/App Status
Connect: Exception - An unknown exception recieved from server object
}
01/17 08:48:34-CQC-HTPC, CQCTrayMon, CIDOrbSrvWorkThread_3
{
CIDOrb, CIDOrb_ThisFacility.cpp.552, Failed/Unknown, Error: 6502/0/0
An unknown exception recieved from server object
RemoveRecord
<CQCServer> CQCKit_AppCtrlClientProxy.cpp - 585
Reply
#2
So you are using an app control driver, for XMBC? It looks like that thread is getting some sort of system exception. I'll take a peak at it. These things are stupidly hard to debug because of the sleep thing being involved, but I'll try to think my way through it.

In the meantime, have you considered letting Win7 shut down the drives without putting the machine to sleep? The power management stuff allows you to stop the drives spinning after a period of inactivity.
Dean Roddey
Explorans limites defectum
Reply
#3
Dean Roddey Wrote:So you are using an app control driver, for XMBC?

In the meantime, have you considered letting Win7 shut down the drives without putting the machine to sleep? The power management stuff allows you to stop the drives spinning after a period of inactivity.

Yes, for app control of XBMC.

Let me check on the drive shutdown option, but there may be a complication as I'm running the drives through a SAS controller, and expander.
Reply
#4
Based on the time stamp, is that error from the time it went to sleep, or the time it woke up? I.e. was the damage done on shutdown but didn't really show up until it tried to start up, or did it really happen at startup?
Dean Roddey
Explorans limites defectum
Reply
#5
I'm beginning to suspect that the system isn't giving the program enough time to get itself cleaned up, and it's leaving it sort of in limbo land. When it wakes up, it tries to pick back up again in this half-baked state and croaks. Unfortunately I can't tell from the available bits if the error is actually happening on shutdown (and then it gets frozen in that state until later woken up), or if it's just freezing it halfway through cleaning up, and it happens later when it wakes it back up halfway through a cleanup. I may have to add some logging to help with that.

The whole sleep thing is sort of silly in that it doesn't allow, AFAIR, for programs to ask to be given more time. I understand that it's a user convenience thing, to allow for quick shutdown. But programs that have to deal with the outside world just can't guarantee that they can clean up that fast.
Dean Roddey
Explorans limites defectum
Reply
#6
Dean Roddey Wrote:Based on the time stamp, is that error from the time it went to sleep, or the time it woke up? I.e. was the damage done on shutdown but didn't really show up until it tried to start up, or did it really happen at startup?

Dean: Must have been at startup given the 8AM+ timestamp...

Willing to test anything thrown way Wink
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  tray icon keeps disappearing MikeA 64 21,521 12-14-2019, 08:17 AM
Last Post: Dean Roddey
  Generic-Network Monitor - Config File Error gReatAutomation 17 6,777 06-27-2019, 11:46 AM
Last Post: gReatAutomation
  Omni arming mode user info dlmorgan999 2 1,385 05-02-2019, 04:42 PM
Last Post: dlmorgan999
  can i monitor the battery status? indygreg 10 6,432 06-12-2017, 10:16 AM
Last Post: dlmorgan999
  EVent Server Monitor znelbok 1 2,032 06-07-2017, 12:36 PM
Last Post: Dean Roddey
  Running Template Scaling Crashes Running IV's wuench 3 2,250 01-24-2016, 01:40 PM
Last Post: Dean Roddey
  parameter not saving for event monitor bbrendon 2 1,988 10-26-2015, 03:55 PM
Last Post: Dean Roddey
  Tray Application issue Bugman 4 2,839 03-30-2015, 03:32 PM
Last Post: Bugman
  any way to monitor CQC bbrendon 2 2,003 12-16-2014, 07:14 PM
Last Post: potts.mike
  CQC client - hangs and restart jpsavaria 9 4,400 12-01-2014, 08:40 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)