Well, the bug is more annoying than previously though since guile use
select on various ports internally.
The attached patch fixes all occurrences of such uses.
The scm_std_poll function API is ugly, though.
I'd really like this issue being addressed in current guile branch
either with this patch
-[ Wed, Jun 22, 2011 at 04:31:06PM +0200, Ludovic Courtès ]
> We could/should apply it, but I must admit I feel little motivation to
> push another 1.8 release.
I can understand.
BTW, the same patch apply to master as well.
ri...@happyleptic.org skribis:
> Here is attached a patch over 1-8-8 that seams to fix the problem (I'm
> going to test it more thoughtfully).
>
> What do you think of the approach?
Simple and efficient. :-)
We could/should apply it, but I must admit I feel little motivation to
push another 1.8
-[ Wed, Jun 22, 2011 at 10:34:42AM +0200, ri...@happyleptic.org ]
> Here is attached a patch over 1-8-8 that seams to fix the problem (I'm
> going to test it more thoughtfully).
Works for me.
Here is attached a patch over 1-8-8 that seams to fix the problem (I'm
going to test it more thoughtfully).
What do you think of the approach?
diff --git a/configure.in b/configure.in
index 217ac83..ea26b5c 100644
--- a/configure.in
+++ b/configure.in
@@ -661,7 +661,7 @@ AC_CHECK_HEADERS([complex.
Hi Cédric,
ri...@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 th
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.
Increa
Hello happy hackers!
I'm using guile (1.8.7) to extend an application (written in C) that
writes on many opened file descriptors (usually 5000 files opened at
once).
Amongst other things, guile is listening on a socket to serve user'
commands (kind of embedded REPL).
When many files are opened,