bluesentry / bucket-antivirus-function

Serverless antivirus for cloud storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not Enough Disk Space

JasonPriestelyLIT opened this issue · comments

Hi

We are noticing the following error preventing us from updating our daily.cvd

image

we've had no issue with updates until the 5th July

Noticed there was a similar issue #49 and potentially #97

I believe this has something to do with AWS cold starts or how the /tmp dir is used.
I am able to resolve this by deleting the clam_defs and forcing a cold start by adding an environment variable to the lambda.

This can be reproduced by setting a size limit on /tmp to be 512mb which is the hard limit for AWS lambda.
#130 (comment)

Perfect, we've taken your advice and cleared the calmav_defs before the update.py runs and it looks like that has fixed this issue.

Surprised more people haven't ran into this issue.

We are hoping the issue has been resolved but we will know tomorrow when remove the clear clamav_defs.

Thanks for the help