all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs starts about 10 seconds to long
Date: Mon, 21 Sep 2009 10:59:17 +0100	[thread overview]
Message-ID: <4ab74e75$0$281$14726298@news.sunsite.dk> (raw)
In-Reply-To: <h97ii4$fto$1@news.eternal-september.org>

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.


  reply	other threads:[~2009-09-21  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21  7:24 emacs starts about 10 seconds to long Krzysztof Poc
2009-09-21  9:55 ` Christian Herenz
2009-09-21  9:59   ` Colin S. Miller [this message]
2009-09-30 15:12     ` Christian Herenz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4ab74e75$0$281$14726298@news.sunsite.dk' \
    --to=no-spam-thank-you@csmiller.demon.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.