When importing lots of records into ElasticSearch the file limit can cause the import to fail. The fix is to increase the limit on the number of open files. The ES recipe should be updated according to the following information:
http://www.elasticsearch.org/tutorials/2011/04/06/too-many-open-files.html