From: Alexander Asteroth <alexander.asteroth@h-brs.de>
To: help-gnu-emacs@gnu.org
Subject: Emacs regularly hangs multiple seconds in e.g. find-file
Date: Fri, 18 Aug 2017 17:29:28 +0200 [thread overview]
Message-ID: <87tw14opwn.fsf@h-brs.de> (raw)
Dear all,
I'm using GNU Emacs 26.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
on top of Ubuntu Linux 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10
09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux, as Editor,
Window-Manager (exwm), ...
Unfortunately after start it regularly hangs for 10 or more seconds when
doing find-file or when starting a process (with autocompletion). The
frequency of these hangs reduces as emacs uptime increases.
I tried an strace and figured out, it probably hangs in a read:
...
0.000733 recvmsg(6, 0x7ffdfdb31430, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000273 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000230 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000435 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000202 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000288 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000177 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000390 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000159 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000199 recvmsg(6, 0x7ffdfdb31430, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000158 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000148 recvmsg(6, 0x7ffdfdb31650, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000086 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000117 pselect6(15, [4 6 7 10 12 13 14], [], NULL, {1, 911848155}, {NULL, 8}) = 1 (in [4], left {1, 4014190})
0.908089 read(4, "\1\0\0\0\0\0\0\0", 8) = 8
0.000229 pselect6(15, [4 6 7 10 12 13 14], [], NULL, {1, 3617217}, {NULL, 8}
I tried three times and always the last call seems to be this
read(4,...).
Any suggestion what could be the cause?
Thanks for any hint!
Cheers,
Alex
next reply other threads:[~2017-08-18 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-18 15:29 Alexander Asteroth [this message]
2017-08-19 7:09 ` Emacs regularly hangs multiple seconds in e.g. find-file Eli Zaretskii
2017-08-19 14:20 ` Emanuel Berg
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=87tw14opwn.fsf@h-brs.de \
--to=alexander.asteroth@h-brs.de \
--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).