all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Conrad Lloyd-Knight <clloydknight@rudolphtech.com>
Subject: Re: slow response on first buffer edit
Date: Fri, 22 Oct 2004 14:04:00 -0400	[thread overview]
Message-ID: <20041022180400.GA2845@kelda> (raw)

Answering my own question here, just in case anyone else runs into
this...

> I have also noticed that this hangup occurs before a symbolic link is
> created, by the name of .#filename, pointing to a non-existant file
> called user@host.name.PID:somelongnumber. 

Running emacs with a debugger shows that during this hang time it's
accessing /var/log/wtmp. A look through the code for filelock.c
reveals that the somelongnumber is actually the time of the last
reboot (not sure why...), which emacs is trying to pull from the wtmp
file. Only in my case, the machine in question had a wtmp file over
90MB in size, which caused the delay. Flushing wtmp solved the
problem.

-C.

             reply	other threads:[~2004-10-22 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 18:04 Conrad Lloyd-Knight [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-20 18:29 slow response on first buffer edit Conrad Lloyd-Knight

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=20041022180400.GA2845@kelda \
    --to=clloydknight@rudolphtech.com \
    /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.