From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: emacs startup slow Date: Sun, 10 Dec 2006 11:42:00 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87lklgk2ef.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165714832 32323 80.91.229.10 (10 Dec 2006 01:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Dec 2006 01:40:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 10 02:40:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GtDg4-0001CX-On for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Dec 2006 02:40:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtDg4-0003c5-A1 for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2006 20:40:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-02!sn-xt-sjc-11!sn-xt-sjc-09!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:yv1+ymNvyhlc8L5LghVLJkefqKk= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 48 Original-Xref: shelby.stanford.edu gnu.emacs.help:143779 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39382 Archived-At: Wolfgang Korsch 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