Re: Gnome/KDE program launches hang when Internet disconnected - Lenny
On Sat, 04 Jun 2011 09:34:26 -0400, Jack Dodds wrote:
> Thanks to those who commented.
>
> I tried /etc/init.d/networking stop . When this is done, programs
> launch without delay. Of course, this makes it impossible for any
> program to access the Internet so it's not a solution!
Nope, not a solution, this was just for testing pruposes :-)
> However, taking gedit as an example,
>
> Normal operation - Internet accessible - gedit launches in 2 seconds.
> External problem - Internet inaccessible - gedit takes 60 seconds to
> launch.
> Internal shutdown of networking - gedit launches in 2 seconds.
>
> Maybe this means something, but I am not sure what.
When sutting down the network service you are telling the applications:
"hey, there is no network available, so don't bother going online".
> I also found NetworkManager and NetworkManagerDispatcher daemons
> running.
>
> I tried /etc/init.d/network-manager stop which eliminated one - I
> killed the other. This had no effect on the symptoms - gedit and other
> still take 60 seconds ot launch.
>
> I also found 8 instances of nfsd and one instance of nfsd4 running.
> Tried to kill -9 all of them. This had no effect.
>
> Any other suggestions?
By Googling around I found this (comment #5):
Gnome slow loading apps, yet fine once load
http://www.linuxquestions.org/questions/linux-desktop-74/gnome-slow-loading-apps-yet-fine-once-load-574196/
This is indeed in the line of what Liam suggested, so try and check if
you experience any improvement.
Greetings,
--
Camaleón
Reply to: