Open Saurabh-Mudgal opened 4 months ago
Hi @Saurabh-Mudgal , did you able resolve the problem, i have the same issue
Hi @Saurabh-Mudgal , did you able resolve the problem, i have the same issue
I have not identified the root cause yet. However, increasing the ephemeral storage to 1024MB works as a band-aid fix for me.
Any other information or solutions are much appreciated.
Same issue here. Something related to --single-process
option in chrome options
The image works fine initially but the more I run it (aka call the Lambda), the more often do I get this error back:
Dockerfile
status.py
is just wrappers for returning appropriate status codes. My only dependencies are selenium and requests.main.py
Here is the relevant code calling selenium:
Lambda Configs
For context, I would call the lambda in a loop of 5000. It would return the aforementioned error 4 times. When I do that again without changing the image, it returns error 8-9 times. Then 20+ times and so on.
This goes away and resets when I deploy the (same) image again.
What I have tried so far
mkdtmemp()
/tmp/
folder as cleanup at end of function executionI appreciate any help and advice. Thank you!