Close

Why does it take so long to load after system restart

Having trouble with Sighthound Video? Post here for help.

Moderator: Staff

no avatar
billkater
 
Posts: 23
Joined: Thu May 12, 2011 12:59 pm

Why does it take so long to load after system restart

by billkater » Wed May 07, 2014 10:36 am

It seems like it takes forever for the program to load after a system restart. What is the deal with that?

User avatar
ryan
 
Posts: 1015
Joined: Wed Aug 25, 2010 2:52 pm
Location: Palo Alto, California

Re: Why does it take so long to load after system restart

by ryan » Wed May 07, 2014 1:52 pm

Hi Bill,

I'm not aware of any issues with the application's launch time. Immediately after booting computers often have lots of services and applications scheduled to open which are all competing for CPU, memory, and disk resources. This could certainly contribute to a slower start than normal. I'm unsure what hardware you are running on, older/slower hardware can definitely exacerbate the above resource conflicts. The application will report an error if it is unable to launch correctly in some number of seconds, you didn't mention seeing that so I assume "forever" translates to seconds and not minutes?

Also, keep in mind that when you first launch the application it has to start a variety of "behind the scenes" tasks to monitor cameras, do real time searches, provide responses, monitor disk use, etc... Once these are running every launch of the visible portion of the application (the user interface) simply connects to these processes rather than starting them anew - that is to say, each subsequent "launch" of the app will be quicker compared to the first, whether the first happens immediately after a reboot or hours later.

Hope that helps,
- ryan
Learn more about Sighthound Video in our support pages - Reference Guide | All Articles
Are you a developer? Check out our cloud APIs - Demo | Docs

no avatar
billkater
 
Posts: 23
Joined: Thu May 12, 2011 12:59 pm

Re: Why does it take so long to load after system restart

by billkater » Mon Mar 09, 2015 3:47 pm

I am running a AMD Athlon 2 X4 645 Processor 3.10 GHz with 8 GB memory. A 1TB hard drive with 349 GB free. I am running Windows 7 Ultimate as a operating system. I have 8 cameras configured, but only have 6 of them turned on via the programs interface.

This is the only application that runs on this computer. And when I say takes forever to start, I mean somewhere in the neighborhood of 10 minutes.Since this the program accesses the hard drive continuously should I have a drive rated for that? Or does a plain old desktop drive work ok?

no avatar
flynreelow
 
Posts: 53
Joined: Sat Feb 21, 2015 6:27 pm

Re: Why does it take so long to load after system restart

by flynreelow » Tue Mar 10, 2015 8:39 pm

billkater wrote:I am running a AMD Athlon 2 X4 645 Processor 3.10 GHz with 8 GB memory. A 1TB hard drive with 349 GB free. I am running Windows 7 Ultimate as a operating system. I have 8 cameras configured, but only have 6 of them turned on via the programs interface.

This is the only application that runs on this computer. And when I say takes forever to start, I mean somewhere in the neighborhood of 10 minutes.Since this the program accesses the hard drive continuously should I have a drive rated for that? Or does a plain old desktop drive work ok?



should definelty not take 10 minutes to start up. something else is bogging your computer down. maybe windows?

User avatar
Semper Vaporo
 
Posts: 331
Joined: Sat Oct 09, 2010 11:51 am

Re: Why does it take so long to load after system restart

by Semper Vaporo » Tue Mar 10, 2015 11:25 pm

As soon as your computer finishes booting up, run Task Manager and monitor the processes to see if one (or more) are using excessive CPU time for those 1st few minutes.

To run Task Manager, Right-click on the Task Bar at the bottom of the screen (on most systems) and select "Task Manager" from the context menu.

Select the "Processes" tab on Task Manager and click the "Show processes from all users" button at the bottom of the page.

If the "CPU" and "User Name" columns are not showing, click the "View" menu and click on "Select Columns..." and then select to show the "CPU" and "User Name" columns.

Click the "CPU" column header to sort the list in CPU percentage of use. (Each time you click a column header it will reverse the sort... 'highest to lowest' or 'lowest to highest'... get it in the CPU 'highest to lowest' sort order.) You may have to scroll the list to the top to see the processes that are using the most CPU time.

In a quiescent system the top "Image Name" will be "System Idle Process" at usually around 95%. There will then be a few other processes that will randomly be 2nd or 3rd, etc. in the list at 1% to 3%.

On one of my PCs, I get the process, "svchost" for User Name, "NETWORK SERVICE" running at 30% to 35% for 3 to 10 minutes at boot-up before any network activity can take place. I can run other programs (though sometimes sluggishly) but if they require access to the internet, they will hang until that "svchost/NETWORK SERVICE" process completes.

"svchost" is a major part of Windows, handling various tasks, like the mouse, keyboard, display, program scheduling, etc. and thus there will be many instances of it under various User Names (SYSTEM, LOCAL SERVICE, NETWORK SERVICE, and your log-in ID... and multiples of those, too).

Being a reckless sort, I have terminated that process (right click and select "End Process" and/or "End Process Tree") and found that "USUALLY" that can cure the problem, but I have to terminate it 3 times in a row (it comes back each time) before I can get it to stay away or at least let go of the network connection so other programs can use it.
I have found that I have to let it run for at least a little while or not much will actually "work" on the Internet after I get it killed! My understanding is that it is establishing my "location" and has to complete that before other things will work properly, but it seems to get hung and tie up the Network Adapter after it actually accomplishes that and so nothing else can access the Internet until it gets done, or I kill it.

NOTE: Doing this sort of thing is NOT RECOMMENDED to those that are faint of heart, as it is somewhat like playing Russian Roulette with a random number of bullets in the gun... and no way to know which way it is aimed! Yes, I have shot myself in the foot (or worse) many times, :oops: but I am willing to accept the consequences of doing dumb things like that on MY system. I have never had something so bad happen that a simple reboot did not get things back to the way they were! But I would be remiss if I didn't give you that stern warning about playing with guns or your computer operating system! Kill the 'wrong' instance of "svchost" and your mouse may stop working, or the keyboard, or "???" until you reboot. It is possible that you could get something really in a tizzy that may take some hard work to undo. As the car manufacturers say, "Your mileage may vary!"

If you determine that there is nothing causing your present problem outside of SightHound, then run SightHound and watch the SH "Agents" to see how they behave at start-up.

Report back here what you find. Maybe you will discover what is wrong with my system and I can get it fixed! :D

Note, I don't work for SightHound, I am just a happy user.
Semper Vaporo,

no avatar
billkater
 
Posts: 23
Joined: Thu May 12, 2011 12:59 pm

Re: Why does it take so long to load after system restart

by billkater » Thu Mar 12, 2015 1:55 pm

I have increase the start up speed by going to c:\Users\(my user name)\AppData\Local\Temp and deleted all files and folders in this folder. It was clear full, 10,000+, of session floders that I believe SightHound had made over the past year or so.

This worked for me. But beware I am not a Microsoft tech and can not promise this will work for you

Bill

User avatar
Semper Vaporo
 
Posts: 331
Joined: Sat Oct 09, 2010 11:51 am

Re: Why does it take so long to load after system restart

by Semper Vaporo » Fri Mar 13, 2015 3:52 pm

Ah yes... I keep my PCs so "clean" that I tend to forget about clogged folders. I use "CCleaner" to keep my PCs free of a lot of these extraneous files that get left behind. Free and paid versions from Piriform at:

"http://www.piriform.com/ccleaner"

It has several functions to clean extra junk out of a PC. The default settings are pretty benign, but it can also be more aggressive if you are of a mind to allow it, just make sure you understand what it will do before you enable it to do so.

Again, I am not associate with either SightHound or Piriform... just a happy user of products from both of them.
Semper Vaporo,

no avatar
billkater
 
Posts: 23
Joined: Thu May 12, 2011 12:59 pm

Re: Why does it take so long to load after system restart

by billkater » Fri Mar 13, 2015 4:54 pm

Yes, I use CCleaner as well on my everyday computer. But as this one was dedicated to the security cameras I never run it on it. Guess I will have to start.

Bill


Return to Technical Support