unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs startup slow
@ 2006-12-09 15:49 Wolfgang Korsch
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Korsch @ 2006-12-09 15:49 UTC (permalink / raw)


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.

Thanks,
  Wolfgang

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs startup slow
       [not found] <mailman.1691.1165679366.2155.help-gnu-emacs@gnu.org>
@ 2006-12-09 17:03 ` Oliver Heins
  2006-12-10  0:42 ` Tim X
  1 sibling, 0 replies; 3+ messages in thread
From: Oliver Heins @ 2006-12-09 17:03 UTC (permalink / raw)


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

> 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.

Does this still happen when you start emacs -q?  I had a massive startup
delay due to some settings in my .emacs, which dissapeared after putting
appropriate substitutions into .Xressources.

HTH,
 olli

Btw, are you related to Karl Korsch?
( http://en.wikipedia.org/wiki/Karl_Korsch )

-- 
Homepage: http://www.sopos.org/olli/
GnuPG-Key: http://www.sopos.org/pgp/olli.asc
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
NP: Nothing

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs startup slow
       [not found] <mailman.1691.1165679366.2155.help-gnu-emacs@gnu.org>
  2006-12-09 17:03 ` emacs startup slow Oliver Heins
@ 2006-12-10  0:42 ` Tim X
  1 sibling, 0 replies; 3+ messages in thread
From: Tim X @ 2006-12-10  0:42 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-10  0:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1691.1165679366.2155.help-gnu-emacs@gnu.org>
2006-12-09 17:03 ` emacs startup slow Oliver Heins
2006-12-10  0:42 ` Tim X
2006-12-09 15:49 Wolfgang Korsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).