[Vm-dev] Squeak socket problem ... help!

Göran Krampe goran at krampe.se
Fri Oct 10 11:15:21 UTC 2014


On 10/10/2014 11:46 AM, Göran Krampe wrote:
> Hi guys!
>
> Long post but an interesting one. Summary for the impatient:
>
> - Ron seems to prove that:
>      - We never reach 1024 fds so no leak.
>      - But select() still fails, so we probably have an obscure close()
> bug with fds.
>
> - And I prove that select() is indeed broken above 1024.

Aha!

It seems Ragnar Hojland Espinosa has already fixed this 11 years ago:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2003-May/057750.html

I also found code from David Shaffer that fixes the listening to not 
miss stuff, also interesting:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2005-August/093575.html

...and the patch he mentions:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2005-August/093638.html


regards, Göran






More information about the Vm-dev mailing list