tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Bob Vickers <bobv () cs ! rhul ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY: emacs hangs when first buffer modified
Date: Wed, 16 May 2001 14:08:54 +0000	[thread overview]
Message-ID: <102653647621902.tru64-unix-managers.marc@archive.invalid> (raw)

Dear Managers,

After sending out the question I did a bit of playing around with the ddd
debugger and to my surprise found the answer. emacs is looking backwards
through /var/adm/wtmp to find out when the last system reboot was. Our
wtmp file was extremely large and very probably corrupt (it often is, as a
perusal of the list archive shows).

Renaming wtmp fixed the problem.

Original message:
>
> Recently emacs has started behaving very strangely on on of our Tru64
> systems. The first time you modify a non-scratch buffer a long hang takes
> place during which emacs uses 40 to 50 seconds of CPU time. After that
> emacs behaves normally, even if you visit new files.
>
> The hang takes place when you change the memory copy of the file, not when
> you save the file. So for example,
>  $ emacs myfile
>  move cursor to place of interest
>  insert a character
>  LONG WAIT
>  everything normal
>
> We are running Tru64 4.0E patch kit 4 and GNU Emacs 20.4.2 (compiled from
> source).
>
> Does anyone have any ideas on what might cause this problem, or how to go
> about diagnosing it?
>

==============================================================
Bob Vickers                     R.Vickers@cs.rhul.ac.uk
Dept of Computer Science, Royal Holloway, University of London
WWW:    http://www.cs.rhul.ac.uk/home/bobv
Phone:  +44 1784 443691

                 reply	other threads:[~2001-05-16 14:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox