ruby script/server and ‘too many open files’ error

September 4th, 2007

So I’ve been running into problems with my local dev machine lately - every so often it’s been crashing with an exception message like ‘too many open files’. I’ve been content to ignore it until it became a bigger problem, which it did today, when I started full stack integration testing.

After waving a few dead chickens around google, I found this.

I added the small patch to activerecord and it seems to be working properly now.

This issue also seems to have been responsible for < RangeError: 0xfooo is a recycled object> errors that Ruby was emitting occasionally

ruby, programming, ruby on rails | Comments | Trackback Jump to the top of this page

Leave a Reply

  •  
  •  
  •  

You can keep track of new comments to this post with the comments feed.

Recently on Flickr

    mull - 21.jpgmull - 20.jpgmull - 19.jpgmull - 18.jpg

Recently Listened

Meta

The Carousell