[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang)
From: |
Phillip Lord |
Subject: |
bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang) |
Date: |
Tue, 07 Apr 2015 16:28:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: phillip.lord@newcastle.ac.uk (Phillip Lord)
>> Date: Tue, 07 Apr 2015 15:38:42 +0100
>>
>> > I don't understand how could the slow-down happen here, at least not
>> > due to something Emacs does. Can you collect thread-level CPU usage,
>> > and see which threads are using CPU?
>>
>> How do I go about this?
>
> Pressing 'H' in 'top' is one way; there might be others.
I will add this tomorrow. It takes a while to produce the crash.
>> > What about timers -- do you have many of them running? What is the
>> > value of timer-list and timer-idle-list?
>>
>> A few, indeed, but not thousands. I know how to debug timers but not
>> work out if one is chewing CPU. Some of them my own timers.
>
> When Emacs becomes sluggish, does pressing and holding an arrow key
> produces a slow response time for the first keypress, followed by more
> or less normal response times for the next keypresses?
Nope. The lag is general. If I carry one for long enough, emacs hangs
totally, but Emacs because unusable long before that point.
> If so, the
> culprit is probably some idle timer. If all the keypresses get the
> same slow response, then it could be a non-idle timer.
>
> Showing a list of the timers you have might be a first step towards
> digging into this possibility.
timer-list is a variable defined in `C source code'.
Its value is
([nil 21795 62426 202965 60 ac-clear-variables-every-minute nil nil 1000])
timer-idle-list is a variable defined in `C source code'.
Its value is shown below.
Documentation:
List of active idle-time timers in order of increasing time.
Value: ([t 0 0 500000 t jit-lock-context-fontify nil idle 0]
[t 0 0 500000 t
#[0 "\205\301 \207"
[eldoc-mode eldoc-print-current-symbol-info]
1 "\n\n(fn)"]
nil idle 0]
[nil 0 1 0 t pabbrev-short-idle-timer nil idle 0]
[nil 0 1 200000 t reftex-view-crossref-when-idle nil idle 0]
[nil 0 5 0 t pabbrev-idle-timer-function nil idle 0]
[nil 0 30 0 nil desktop-auto-save nil idle 0]
[nil 0 60 0 t bibtex-parse-buffers-stealthily nil idle 0])
[back]
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Eli Zaretskii, 2015/04/07
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang),
Phillip Lord <=
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Eli Zaretskii, 2015/04/07
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Phillip Lord, 2015/04/07
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Eli Zaretskii, 2015/04/07
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Phillip Lord, 2015/04/08
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Eli Zaretskii, 2015/04/08
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Stefan Monnier, 2015/04/08
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Phillip Lord, 2015/04/08
- bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang), Eli Zaretskii, 2015/04/08