guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile hangs for minutes when many files are opened (1.8.7)


From: Ludovic Courtès
Subject: Re: Guile hangs for minutes when many files are opened (1.8.7)
Date: Tue, 21 Jun 2011 23:59:22 +0200
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)

Hi Cédric,

address@hidden 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’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]