From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: emacs starts about 10 seconds to long Date: Mon, 21 Sep 2009 10:59:17 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <4ab74e75$0$281$14726298@news.sunsite.dk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253529763 7220 80.91.229.12 (21 Sep 2009 10:42:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 10:42:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 21 12:42:36 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpgLp-00020t-ON for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Sep 2009 12:42:34 +0200 Original-Received: from localhost ([127.0.0.1]:40760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpgLp-0006k5-7r for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Sep 2009 06:42:33 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 41 Original-NNTP-Posting-Host: 62.56.58.189 Original-X-Trace: news.sunsite.dk DXC=MgJl2<2j>BFh6dZj2aj97OYSB=nbEKnkKhLGL9=egbGI5fdD?L8VmBHOOn[7LY1L_EQScK68eBi5G; QNS\SSPXnG=`B>8HMEIDHP; BoZQhlG:@YG9lchf>KRH Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:173223 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:68342 Archived-At: Christian Herenz wrote: > Krzysztof Poc schrieb: > >> My emacs starts about 10 seconds to long. >> I suspect it is because my machine is not connected to a network. >> Below is the strace log. >> I found that it does a few short (1 second) breaks at each select >> function invocation. >> I pressed the ctrl-c after 3rd invocation of select function. >> My box has got the network disabled globaly. >> No ethX interfaces, only lo. resolv.conf is empty. All network >> services are down etc. >> My emacs version is 22.3. >> >> Please help me to get rid of those delays. >> Great thanks. > > Hi, I had the same problem some time ago... I think the source of the > problem had to do something with the hostname. If I remember correctly I > manually set my hostname to a value which was not consistent with some > system file. Maybe someone else knows more.... > > Greetings Christian I suspected that as well, emacs is trying to access port 53, which is the DNS server. Christian, Is the "lo" interface on 127.0.0.1 up? This is the loop-back interface which allows your machine to talk to itself. It should always be up, otherwise problems can occur. What is the contents of /etc/hostname and /etc/resolv.conf ? HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.