From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Change in process.c
Date: Mon, 26 Mar 2007 23:06:06 -0400 [thread overview]
Message-ID: <m37it3z8pt.fsf@loiso.podval.org> (raw)
In-Reply-To: E1HVyNi-0001Dk-Vq@fencepost.gnu.org
> * Richard Stallman <ezf@tah.bet> [2007-03-26 19:13:42 -0400]:
>
> What was the reason for moving the first sleep before the first wait3
> call? It looks like that will force a one-second delay even
> in cases where it would succeed straightaway.
>
> Using usleep would reduce that problem to an acceptable level,
> but I am not sure all systems have usleep. So it is risky
> to make that change.
>
> What's the issue here?
this has been discussed here:
http://thread.gmane.org/gmane.emacs.devel:67722
I have been observing the following behavior:
emacs hangs in sigchld_handler waiting for the child process to
terminate.
the system stops responding, loadavg goes to 5-8(!), CPU is 100% busy.
this lasts for ~10 seconds.
this happens on M-c compile and when I click on a URL (it is passed to
an existing Firefox).
the sleep (and the most recent usleep) patch fixes the problem for me.
this may be linux-specific - I have to defer to kernel experts on that.
--
Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod)
http://openvotingconsortium.org http://jihadwatch.org http://truepeace.org
http://memri.org http://iris.org.il http://camera.org http://dhimmi.com
We're too busy mopping the floor to turn off the faucet.
next prev parent reply other threads:[~2007-03-27 3:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-26 23:13 Change in process.c Richard Stallman
2007-03-27 3:06 ` Sam Steingold [this message]
2007-03-27 9:55 ` Andreas Schwab
2007-03-27 10:33 ` Nick Roberts
2007-03-27 16:43 ` Richard Stallman
2007-03-27 21:16 ` Chong Yidong
2007-03-27 22:11 ` Nick Roberts
2007-03-28 14:02 ` Sam Steingold
2007-03-28 21:09 ` Nick Roberts
2007-03-28 13:55 ` Sam Steingold
2007-03-28 14:13 ` Andreas Schwab
2007-03-28 15:25 ` Sam Steingold
2007-03-28 19:08 ` Jan Djärv
2007-03-28 20:57 ` Kim F. Storm
2007-03-29 6:12 ` Jan Djärv
2007-03-29 21:25 ` Kim F. Storm
2007-03-28 15:11 ` Chong Yidong
2007-03-28 16:09 ` Richard Stallman
2007-03-29 13:57 ` Randal L. Schwartz
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=m37it3z8pt.fsf@loiso.podval.org \
--to=sds@gnu.org \
--cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).