help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs startup slow


From: Tim X
Subject: Re: emacs startup slow
Date: Sun, 10 Dec 2006 11:42:00 +1100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Wolfgang Korsch <korsch@pa.uky.edu> writes:

> Hello,
>  I am running emacs-22 (same with emacs-21) on FC6.
> It turns out that it takes more than 30s for emacs to
> startup (even emacs -nw) when I run within a WEP key enabled
> network. It's fine within a network w/o WEP key (fast startup).
>
> I have no idea how to pin down the problem.
>
> Any hints or help is highly appreciated.
>

Just some things that may be worth looking at......

Check the *Messages* buffer to see if there are any messages that
might narrow down your problem search. You may need to increase the
maximum message log size with 

(setq message-log-max 2048) 

Try running with -q and --no-site-init to see if that makes a
difference. --debug-init may also provide some clues.

If you check the Emacs Problems file, you will find a reference to
slow emacs startup due to network issues, mainly with determining the
hostname and DNS related functions. If you are seeing this problem
when moving between networks, it is likely your problem is somehow
related to this. 

This is a SWAG ("Scientific wild arse guess), but maybe there is
something different between the two networks and how your hostname is
determined (especially if you are on a dhcp based network and IP is
dynamically assigned). Other possibilities are that you have two
different IP addresses depending on whether your in the non-WEP
network or the WEP enabled network. Check you haven't got a hard coded
hostname in /etc/hosts that is confusing/slowing things down when you
move to the other network. Verify things like DNS settings in
resolve.conf etc. See if any other programs with network dependencies
are slower or having problems. 

HTH

Tim


-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]