-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProxSpace Slow to Start #23
Comments
Today I seem to be having fewer issues, but I am still unable to identify the source of the delay whenever it happens, other than it being related to an update check. I would note that the problem seems to happen on all sorts of different networks, and I have consistently observed other users having the same problem during workshops. |
After the initial update, ProxSpace will not check for updates over the internet, it will only check the cache for updates. Try removing this line |
That line was actually on line 57 for me (right before “fi)
Removing it resulted in the following error upon start:
“bash: /etc/post-install/09-proxspace.post: line 58: syntax error near unexpected token `fi'
bash: /etc/post-install/09-proxspace.post: line 58: `fi'”
The only reason I assumed it was checking for some sort of update is because nearly every time I started it, it would appear to hang for several minutes before displaying:
“:: Starting core system upgrade...
there is nothing to do
:: Starting full system upgrade...
there is nothing to do”
The fastest way for me to break out of this was to disconnect my WiFi, and in fact I would not have the same delay if starting it while disconnected from the Internet. This even persisted after I did a clean install with latest git version because I considered maybe something was corrupted.
So all this begs the question: What is the cause of the inconsistency?
If I hadn’t witnessed the same behavior with my own eyes on other systems I would have chalked it up to something unique to me.
|
I see, remove the |
Ah yes, dumb error on my part. That did seem to resolve the error.
If it continues to happen maybe I’ll fire up Wireshark and see if I can nail down what’s happening.
|
Just a quick update: I observed the same issue again, even after making the changes to 09-proxspace.post. Whatever is happening, it's happening before any characters are printed to the console. I might have to actually do some digging and see what, if anything, is calling out. |
Does this still happen when you delete 09-proxspace.post? (Delete it after the initial setup of ProxSpace) |
So far deleting the file has seemed to significantly reduce start time. I have not yet observed the delay since removing the 09-proxspace.post file but I will continue to monitor. |
Replace the 09-proxspace.post with the code below and post the output from ProxSpace. If possible, monitor the CPU usage, IO usage and Network usage during the start up of ProxSpace to check for possible hardware bottlenecks.
|
Starting with ProxSpace 3.3 this should no longer be an issue. |
I have consistently observed that with v3.2 ProxSpace is VERY slow to start while the Internet is connected. Whatever update it's checking on, it often takes forever, and it seems to be much faster to disconnect from the Internet each time I start it and then re-connect once the prompt has fully loaded.
What is being checked online each time, and why does it take so long? I have done several clean installs of ProxSpace on several different Windows 10 systems and they all seem to behave the same way.
The text was updated successfully, but these errors were encountered: