From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9291: 23.3.50; Emacs takes long time to start up due to DNS Date: Fri, 12 Aug 2011 23:01:45 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313204565 1501 80.91.229.12 (13 Aug 2011 03:02:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2011 03:02:45 +0000 (UTC) Cc: 9291@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 13 05:02:41 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qs4Uj-0002Aw-04 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Aug 2011 05:02:41 +0200 Original-Received: from localhost ([::1]:52225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs4Uh-0007JC-R3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2011 23:02:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs4Ue-0007It-A7 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2011 23:02:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qs4Ud-0000qj-3w for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2011 23:02:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qs4Uc-0000qf-Uo for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2011 23:02:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qs4W2-00015w-Hu; Fri, 12 Aug 2011 23:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2011 03:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9291-submit@debbugs.gnu.org id=B9291.13132045994156 (code B ref 9291); Sat, 13 Aug 2011 03:04:02 +0000 Original-Received: (at 9291) by debbugs.gnu.org; 13 Aug 2011 03:03:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qs4VK-00014z-Gf for submit@debbugs.gnu.org; Fri, 12 Aug 2011 23:03:18 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qs4VH-00014q-T1 for 9291@debbugs.gnu.org; Fri, 12 Aug 2011 23:03:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAIToRU5FxKeo/2dsb2JhbABBp3d4gUABAQQBViMFCws0EhQYDSSIAwS6HoZHBJ9shDM X-IronPort-AV: E=Sophos;i="4.67,365,1309752000"; d="scan'208";a="130894118" Original-Received: from 69-196-167-168.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.168]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 12 Aug 2011 23:01:46 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D6609660CF; Fri, 12 Aug 2011 23:01:45 -0400 (EDT) In-Reply-To: (Leo's message of "Sat, 13 Aug 2011 09:59:15 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 12 Aug 2011 23:04:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50041 Archived-At: > On my machine, emacs -q -nw normally takes 0.1 seconds. But I have just > found that it could take more than 10 seconds on some network. I have > this device that provides wifi/wapi through the telencom network here, > so the behaviour is readily reproducible. Let me know how I may provide > more information for debugging. AFAICT this happens in 24.0.50 too. I think you'll find an answer in etc/PROBLEMS: *** Emacs startup on GNU/Linux systems (and possibly other systems) is slow. This can happen if the system is misconfigured and Emacs can't get the full qualified domain name, FQDN. You should have your FQDN in the /etc/hosts file, something like this: 127.0.0.1 localhost 129.187.137.82 nuc04.t30.physik.tu-muenchen.de nuc04 > BTW, is it possible for init_system_name to be done async? Could be. Stefan