Serverless-python-requirements: File Table Overflow when using package zip feature

Created on 23 Aug 2017  路  5Comments  路  Source: UnitedIncome/serverless-python-requirements

I'm getting the following error when using the package compression option. Using v2.5.0.

Error: ENFILE: file table overflow, open '~/lambda/.requirements/tensorflow/include/external/eigen_archive/Eigen/src/PardisoSupport/PardisoSupport.h'

Is there any reason why the zipping seems to not be working?

bug help wanted

Most helpful comment

I managed to fix it via:
https://github.com/karma-runner/karma/issues/1979
http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit

It's related to Mac OSX file limits. Consider putting this on the README if anyone else runs into the same issue! :)

All 5 comments

Hrmm.. only when zipping? Does sls package without the option work? I use nearly the same code as serverless itself uses to zip the service (i copy and pasted it), so I'd expect that to break in the same way.

I have serverless v1.20 and yes sls package fails with the same error. It fails at the zipping step. Disabling zip feature works.

Right, but does serverless's zipping of the whole service fail if you disable this plugin's zip option?

@dschep Just tested. Without the zip, sls package works fine. With zip, it fails.

EDIT: I did some Googling with regards to this error. Seems like a Mac OSX Sierra issue?

I managed to fix it via:
https://github.com/karma-runner/karma/issues/1979
http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit

It's related to Mac OSX file limits. Consider putting this on the README if anyone else runs into the same issue! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xedef picture xedef  路  3Comments

amitm02 picture amitm02  路  6Comments

IanTayler picture IanTayler  路  4Comments

gutyril picture gutyril  路  5Comments

jnicho02 picture jnicho02  路  6Comments