You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading my zipped lambda package with zappa, I get a 'no space left on this device' error after calling zappa tail
This is a fairly large project, so it is totally reasonable that Lambda might not be the best fit for it. I need tensorflow dependencies as well as a fairly large model.
My total unzipped files are 498 MB (very close to 512 MB).
When zappa zips up everything it comes out to 213 MB for the project zip (unzipped is 492 MB) and 9.2 MB for the handler zip (unzipped is 47 MB).
While I know that 492 is cutting it very close to the 512 /tmp limit, it doesn't go over it...unless the 47 MB from the handler is counted in that as well...
Expected Behavior
Should be able to upload files in their entirity
Actual Behavior
I get this error when visiting the lambda URL:
"{'message': 'An uncaught exception happened while servicing this request. You can investigate this with the `zappa tail` command.', 'traceback': ['Traceback (most recent call last):\\n', ' File \"/var/task/handler.py\", line 433, in handler\\n response = Response.from_app(self.wsgi_app, environ)\\n', ' File \"/var/task/werkzeug/wrappers.py\", line 903, in from_app\\n return cls(*_run_wsgi_app(app, environ, buffered))\\n', ' File \"/var/task/werkzeug/wrappers.py\", line 57, in _run_wsgi_app\\n return _run_wsgi_app(*args)\\n', ' File \"/var/task/werkzeug/test.py\", line 884, in run_wsgi_app\\n app_rv = app(environ, start_response)\\n', \"TypeError: 'NoneType' object is not callable\\n\"]}"
and when looking through the tail log i get the OSError in the title.
Possible Fix
Steps to Reproduce
unzip the directory i link below, cd into it, activate the virtual environment (venv) and deploy with zappa.
Your Environment
Zappa version used: 0.42.2
Operating System and Python version: Mac OS 10.12.5, python3.6
Context
When uploading my zipped lambda package with zappa, I get a 'no space left on this device' error after calling
zappa tail
This is a fairly large project, so it is totally reasonable that Lambda might not be the best fit for it. I need tensorflow dependencies as well as a fairly large model.
My total unzipped files are 498 MB (very close to 512 MB).
When zappa zips up everything it comes out to 213 MB for the project zip (unzipped is 492 MB) and 9.2 MB for the handler zip (unzipped is 47 MB).
While I know that 492 is cutting it very close to the 512 /tmp limit, it doesn't go over it...unless the 47 MB from the handler is counted in that as well...
Expected Behavior
Should be able to upload files in their entirity
Actual Behavior
I get this error when visiting the lambda URL:
and when looking through the tail log i get the OSError in the title.
Possible Fix
Steps to Reproduce
Your Environment
0.42.2
pip freeze
:zappa_settings.json
:The text was updated successfully, but these errors were encountered: