From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Trent W. Buck" Newsgroups: gmane.emacs.bugs Subject: bug#1058: 23.0.60; emacs --daemon should not return until socket is ready Date: Thu, 2 Oct 2008 10:43:24 +1000 Message-ID: <20081002004323.GA2400@Clio.twb.ath.cx> References: <1222782234_2281@mail.internode.on.net> <200810011651.m91GpAZQ010333@mothra.ics.uci.edu> Reply-To: "Trent W. Buck" , 1058@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222909816 31587 80.91.229.12 (2 Oct 2008 01:10:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 01:10:16 +0000 (UTC) Cc: 1058@emacsbugs.donarmstrong.com, rfrancoise@debian.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 03:11:15 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-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 1KlCik-0004t0-CO for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 03:11:10 +0200 Original-Received: from localhost ([127.0.0.1]:53412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlChh-0007je-De for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2008 21:10:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlChc-0007gG-Bn for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 21:10:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlCha-0007ef-SW for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 21:10:00 -0400 Original-Received: from [199.232.76.173] (port=40127 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlCha-0007eW-Oe for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 21:09:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41444) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlCha-00082k-3X for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 21:09:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9219tWP029742; Wed, 1 Oct 2008 18:09:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m920o3Dt024388; Wed, 1 Oct 2008 17:50:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Trent W. Buck" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Oct 2008 00:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1058 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1058-submit@emacsbugs.donarmstrong.com id=B1058.122290819523088 (code B ref 1058); Thu, 02 Oct 2008 00:50:03 +0000 Original-Received: (at 1058) by emacsbugs.donarmstrong.com; 2 Oct 2008 00:43:15 +0000 Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m920hCeu023082 for <1058@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 17:43:13 -0700 Original-Received: by wa-out-1112.google.com with SMTP id j40so491157wah.1 for <1058@emacsbugs.donarmstrong.com>; Wed, 01 Oct 2008 17:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=bV8IBshqykCu45YVQm5n0dramrFtBpzIgfNJbb0Rrxg=; b=wJslz0rFLAAcMHFjQJzZWEh/UP5xIq4zSU3vVpzg4d5qzSnswKZ9AeFz+Yu9G8KRQ0 ah9x+vuewCO7GRObW+c3QNBJ3oQ6s2xQKB7oh6r7dAdQt7O9nkQ6XRdPqx8BlrwDsl7A uoR60pTaFQbzpDRaTQV9z0YymQsfukZKpsQSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QTMjrEvGyZ8c+KiJR723T8fdXZG9TM2MfIii5nrml1uWX/WPGa5fhll9irPV4DcdUH 3ShedLNPz1O7mu0F1Zly+CtBJQpEt3LJH7A2tqnlUXQUcTl7iHVT9YOSh/oquptw8J6u vxwFinOhdkKKWtNWkuheERawGHhTiJVBw1iqk= Original-Received: by 10.114.57.15 with SMTP id f15mr10079980waa.116.1222908191868; Wed, 01 Oct 2008 17:43:11 -0700 (PDT) Original-Received: from localhost ([203.7.155.64]) by mx.google.com with ESMTPS id m29sm694541poh.7.2008.10.01.17.43.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Oct 2008 17:43:11 -0700 (PDT) Content-Disposition: inline In-Reply-To: <200810011651.m91GpAZQ010333@mothra.ics.uci.edu> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 01 Oct 2008 21:10:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20978 Archived-At: On Wed, Oct 01, 2008 at 09:51:10AM -0700, Dan Nicolaescu wrote: >> From this transcript, you can see that after starting 'emacs >> --daemon', it takes five seconds before the socket is actually >> available for emacsclient to talk to it. >> >> $ emacs --daemon; while ! ls /tmp/emacs1187/; do sleep 1; done > > Just curious, what do you get if you do: > > emacs -Q --daemon; while ! ls /tmp/emacs1187/; do sleep 1; done I get the same problem. Running c++ elsewhere and starting Emacs nicely, I managed to get the delay up to 17 seconds. $ nice -n 19 emacs -Q --daemon; until ls /tmp/emacs1187/; do sleep 1; done ls: cannot access /tmp/emacs1187/: No such file or directory [repeats 16 times] server