From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: Guile hangs for minutes when many files are opened (1.8.7)
Date: Tue, 21 Jun 2011 23:59:22 +0200 [thread overview]
Message-ID: <8739j2x2v9.fsf@gnu.org> (raw)
In-Reply-To: 20110621130220.GA6411@ccellier.rd.happyleptic.org
Hi Cédric,
rixed@happyleptic.org skribis:
> Ok, the problem is straightforward: fport_input_waiting is using select
> with a predefined SELECT_SET_SIZE of 1024. Although guile does not see
> the many files used by the applications, it may ends up with a file
> descriptor whose number is bigger than that. Then the select will
> block forever.
Oooh, interesting bug. :-)
> Nobody's planned to replace select by ppoll yet? :)
Guile 2.0 has (ice-9 poll), but it relies on some features not available
in 1.8.
Thanks,
Ludo’.
next prev parent reply other threads:[~2011-06-21 21:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 7:21 Guile hangs for minutes when many files are opened (1.8.7) rixed
2011-06-21 13:02 ` rixed
2011-06-21 21:59 ` Ludovic Courtès [this message]
2011-06-22 8:34 ` rixed
2011-06-22 12:08 ` rixed
2011-06-22 14:31 ` Ludovic Courtès
2011-06-22 15:56 ` rixed
2011-07-04 9:33 ` rixed
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739j2x2v9.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guile-user@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).