Giter VIP home page Giter VIP logo

Comments (6)

volodymyrsmirnov avatar volodymyrsmirnov commented on August 21, 2024

Hello,

As mentioned in README, you can control timeouts and file size limitations via environment variables.

Edit docker-compose.yaml and add following environment variables:

  1. FILE_SIZE_LIMIT=52428800 to the api service where 52428800 is the maximum file size in bytes.
  2. MAX_SCANNING_TIME=60 to all scanners where 60 is the maximum duration scanner can scan the file.

Hope that helps.

from malwaremultiscan.

mcsmith2150 avatar mcsmith2150 commented on August 21, 2024

from malwaremultiscan.

volodymyrsmirnov avatar volodymyrsmirnov commented on August 21, 2024

I'll try tonight and let you know. Meanwhile, could you please confirm if that happens with a particular file or any file bigger than 200 MB?

As to the environment variables, you should add them in docker-compose.yaml for api and all scanners unless you are rebuilding docker-compose file from scratch.

from malwaremultiscan.

mcsmith2150 avatar mcsmith2150 commented on August 21, 2024

from malwaremultiscan.

mcsmith2150 avatar mcsmith2150 commented on August 21, 2024

Good Afternoon,

I just wanted to let you know I made the changes:
Edit docker-compose.yaml and add following environment variables:

FILE_SIZE_LIMIT=52428800 to the api service where 52428800 is the maximum file size in bytes.
MAX_SCANNING_TIME=60 to all scanners where 60 is the maximum duration scanner can scan the file.

I even changed the 52428800 to 0 so it would not verify file size but when I try to scan a file that is 200MB the bar stops half way and I even increased the MAX_SCANNING_TIME=20000 and still have issues, let me know if there is anything I can do to scan.

from malwaremultiscan.

h45h-1nclud3 avatar h45h-1nclud3 commented on August 21, 2024

Maybe try to do the following after adding the changes

docker-compose build --no-cache

from malwaremultiscan.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.