Posts: 20
Joined: Feb 2013
Reputation:
0
I thought I'd give my two cents on this matter.
Reading though the thread, it appears the problem each time is highlighted as being due to a slow machine. I was having this same issue for the last week, with no notable changes to the set-up.
Recently my N40L has been maxed out by SAB and PAR2 freezing the OS up at every click of a button. I tried all the suggestions throughout the thread, but reluctant to use the release fritsch has been kind enough to keep updated.
But the solution seemed quite apparent by the end of the thread. Reduce your CPU load before starting Kodi. Sure enough it loaded fine.
As I see it, there are a lot of people here loading Kodi from at startup. The most intensive CPU moment. With Kodi comes SAB, SickB, CP etc... Whilst I appreciate placing a -d delay on XBMC might work for some slow systems, the really slow system should be delaying everything else! Get Kodi started, and add a -d 180 second delay to everything else.
As a trial run before delaying everything, try killing every non-essential process in Taskman. Maybe then your audio drivers and network will load in less than the reported 60 seconds! OMG.
I'm not saying this is the solution, but it sounds like the root of the problem.
Posts: 103
Joined: Dec 2013
Reputation:
1
Asphyx
Senior Member
Posts: 103
While it's quite possible your right....
It says to me that Kodi is dependent on some other service it is starting and it needs to do some check to see that these are actually started before it tries to continue on and fail.
By starting those services earlier and running a complete check on them before proceeding to the other parts that require them might solve the issue permanently.
But I have not seen any Kodi Code to speak with any intelligence on this...
I do know the Delays Fritsch has added does the trick, and now that they fixed the crashing issues for Windows, Kodi is again useable.
Posts: 9
Joined: Jun 2010
Reputation:
0
In my case I did not start Kodi on Startup, but at an idle machine state.
As stated before my issue was temporary, as I had to temporarily switch the system drive out for a slower disk.
Currently, with a fast disk for the system partition, the problem is gone, but the disk activity during startup is still quite high. So I can see slower disks or systems under moderate load still be prone to this error.
Regards,
zy.
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
For now that issues only affects Windows. No issues on any other OS - is there some virus "on access" scanner running?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 9
Joined: Jun 2010
Reputation:
0
Only Microsoft Security Essentials in my case.
Regards,
zy.
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
Which does on access scanning. Can you disable it for a test?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 20
Joined: Feb 2013
Reputation:
0
I've been running every stable version of XBMC for 3+ year, and this is the first time I've come across an issue loading, yet the N40L has remained the same since the day I bought it 2 years ago.
I also have a disc issue, prior to Win8 the issue was unseen: I have an 11Tb system, but the primary disk is a 640gb 6400rpm 2.5" laptop drive. Not ideal at all. But I'm not swapping disks again until an SSD is purchased for it. And that's not on the to-buy-list just yet.
The disk is usually at 100% is SAB (par2) is unwrapping.
But the start-up isn't the issue. Its the OS load. If like me, you're CPU or disk is loaded above 80%, then its likely to fail.
Ideally, it would be good if Kodi could wait until all relevant drivers are loaded. Instead of prompting and error to quit, it could ask to close or continue to wait.
Fritsch, is this something that could theoretically resolve our issue?
I'll certainly check what AV is running. Although tbh, I don't understand what access scanning is.
Posts: 1,112
Joined: Feb 2009
Reputation:
12
2015-03-01, 20:00
(This post was last modified: 2015-03-01, 20:02 by isamu.dragon.)
I've ran into this problem, and the problem comes from when the drive the userdata is on is being utilized at 100% (As windows reads it). Defrag and Virus Scans can cause this.
My solution was to move directory %Appdata%\Kodi to an external device (Flashdrive or External HDD) and mount it to the same location it originated from. (Can also be done via symlink)
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
60 is a _max_wait.
If it returns before it -> fine.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.