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!
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.
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?
Jack Dodds
William Hopkins wrote:
> On 06/03/11 at 10:17pm, Camaleón wrote:
>
>> El 2011-06-03 a las 12:53 -0400, Thomas Milne escribió:
>>
>> (resending to the list)
>>
>>
>>> On Fri, Jun 3, 2011 at 10:13 AM, Camaleón <noelamac@gmail.com> wrote:
>>>
>>>
>>>> On Fri, 03 Jun 2011 05:38:23 -0400, Jack Dodds wrote:
>>>>
>>>>
>>>>> I am running Lenny. The system is connected to the Internet via a
>>>>> Linksys BEFSR81router and a cable modem. My desktop is Gnome.
>>>>>
>>>>> If the Internet is inaccessible - e.g. if the Ethernet cable is
>>>>> disconnected from the computer, or the cable modem power is
>>>>> disconnected, or if there are problems on the provider network - many
>>>>> GUI programs take a long time (about 60 seconds) to launch.
>>>>>
>>>> (...)
>>>>
>>>> I have not experienced that specific behaviour in any of my lenny
>>>> systems.
>>>>
>> (...)
>>
>>
>>>> Run "top" to check for any runaway process.
>>>>
>>>>
>>>>
>>> This sounds suspiciously like the effects of Gnome's notorious Network
>>> Manager. This tells Internet applications whether you are connected or not.
>>> That's where I would start looking, at least.
>>>
>> Yes, that would be a good test: shutdown the networking service
>> ("/etc/init.d/networking stop") and then check if there is still a
>> delay when opening gedit.
>>
>
> This would be the same as disconnecting the ethernet, wouldn't it? Network-manager is not called from this script.
>
>
Attachment:
signature.asc
Description: OpenPGP digital signature