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

David T. Lewis lewis at mail.msen.com
Fri Oct 10 12:29:59 UTC 2014


On Fri, Oct 10, 2014 at 01:15:21PM +0200, G?ran Krampe wrote:
> 
> 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
> 

Nice detective work! I can't look right now but over the weekend I'll check to
make sure we capture these in Mantis and get the fixes into the oscog/trunk
repositories as needed.

Dave



More information about the Vm-dev mailing list