From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d190601031128t6efe9166ta02fad0dcf0f1d04@mail.gmail.com> Date: Wed, 4 Jan 2006 06:28:48 +1100 From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [9fans] clunk clunk Topicbox-Message-UUID: cf371484-ead0-11e9-9d60-3106f5b1d025 Why do I have a few hundred processes that are exiting but can't find the door (thanks joe walsh)? When a process exits it closes it's fds, so it sends a Tclunk ...but if the process it sends it to is exiting it can't respond. It's in the same position. Call it "deadly embrace". Think about it. I fixed it in Inferno years ago. Nobody checks the return value of close() - I haven't grepped around to see if someone does, but Rclunk or Rerror are silly to wait for, particularly if they aren't gonna happen. There is no close() in Inferno so the garbage collector is responsible. The code is in /usr/nferno at the labs. Maybe glenda needs it. Opinions? brucee