From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] a pair nec bugs
Date: Fri, 3 Jun 2011 09:13:25 -0400 [thread overview]
Message-ID: <d7951ce816d54334edc51f867529f462@ladd.quanstro.net> (raw)
> unfortunately, that one still fails:
i was willing to accept the fact that closing random file descriptors
could result in lossage at this point to solve the infinite loop problem.
(and any library function that opens a fd is potentially racing with
any other thread closing random fds.)
it's worse than that, unfortunately. since there's no close-on-exit
flag, a program that makes a habit of forking with a shared fd table
quickly hits the 5000 fd limit. kfs is a quick casuality.
i do like your rsec(int fd), but for some reason i'd rather not admit
there's a fd in there. one is tempted to paw through /proc/pid/fd. :-)
- erik
next reply other threads:[~2011-06-03 13:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-03 13:13 erik quanstrom [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-20 1:30 erik quanstrom
2011-05-20 10:43 ` ron minnich
2011-05-20 10:52 ` roger peppe
2011-05-20 10:57 ` ron minnich
2011-05-20 12:47 ` erik quanstrom
2011-05-20 19:03 ` ron minnich
2011-05-20 19:16 ` erik quanstrom
2011-05-21 3:27 ` erik quanstrom
2011-05-21 9:59 ` Charles Forsyth
2011-05-21 12:16 ` erik quanstrom
2011-05-21 21:50 ` erik quanstrom
2011-05-21 22:14 ` Charles Forsyth
2011-05-22 3:06 ` erik quanstrom
2011-05-22 13:30 ` Charles Forsyth
2011-06-02 19:16 ` erik quanstrom
2011-06-03 9:52 ` Charles Forsyth
2011-06-04 18:12 ` adriano
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d7951ce816d54334edc51f867529f462@ladd.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/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 NNTP newsgroup(s).