unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs launches excruciatingly slowly
Date: Thu, 3 Nov 2011 06:23:41 -0700 (PDT)	[thread overview]
Message-ID: <a56f358b-b829-415b-b2b2-d10d423a9270@c16g2000pre.googlegroups.com> (raw)
In-Reply-To: mailman.1660.1320298989.15868.help-gnu-emacs@gnu.org

On Nov 3, 10:43 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Ryan Wersal <r...@ryanwersal.com>
> > Date: Wed, 2 Nov 2011 14:34:40 -0500
> > Cc: "<help-gnu-em...@gnu.org>" <help-gnu-em...@gnu.org>
>
> > I can confirm that all network drives are functioning correctly. Just to be thorough, I also removed all network drives. The problem continues to persist.
>
> Can you use some OS-monitoring tool, like Process Monitor, to see just
> what Emacs is doing during those long minutes?
>
> If you can install GDB (you can find one on the MinGW site), then
> starting GDB like this:
>
>  gdb -p EMACS_PID
>
> where EMACS_PID is the Emacs process ID (a number shown, e.g., by the
> Task Manager), and then, once GDB is up and shows its "(gdb)" prompt,
> typing this command:
>
>  (gdb) thread apply all bt
>
> will show where each one of the Emacs threads is wasting the time.
>
> Doing that procedure several times during the wait should reveal where
> this time is spent.  (After each "thread apply" command, type "q" to
> exit the debugger and let Emacs run some more, then repeat the above
> recipe.)
>
> (It sounds like this kind of issue should be discussed not here, but
> rather on emacs-de...@gnu.org, or as part of a bug report sent with
> "M-x report-emacs-bug RET" so please follow up there.)

I remember emacs hanging (well maybe I should say 'hanging' because I
did not wait 43 minutes :-).
This must have been about 9-10 years ago, linux box on internal
network when something was wrong with the network.  Dont remember
exactly what wrong...

Doing something to the effect of 'networking off' (again dont remember
the details) made emacs startup normal (2-3 seconds).

Unplugging the network cord without doing the corresponding command
worsens/causes the problem


      parent reply	other threads:[~2011-11-03 13:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 18:24 Emacs launches excruciatingly slowly Ryan Wersal
2011-11-02 19:28 ` Drew Adams
2011-11-02 19:34   ` Ryan Wersal
2011-11-03  5:43     ` Eli Zaretskii
     [not found]     ` <mailman.1660.1320298989.15868.help-gnu-emacs@gnu.org>
2011-11-03 13:23       ` rusi [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=a56f358b-b829-415b-b2b2-d10d423a9270@c16g2000pre.googlegroups.com \
    --to=rustompmody@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).