Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce memory usage when queuing a lot of scans #511

Closed
nabla-c0d3 opened this issue Mar 22, 2021 · 1 comment
Closed

Reduce memory usage when queuing a lot of scans #511

nabla-c0d3 opened this issue Mar 22, 2021 · 1 comment

Comments

@nabla-c0d3
Copy link
Owner

nabla-c0d3 commented Mar 22, 2021

When queuing a ot lof server scans, SSLyze's memory usage increases significantly. For example, queuing 100 server scans results the SSLyze process taking 1.5 GB of memory, which seems huge. This makes it difficult to deploy SSLyze in environments with limited RAM (such as AWS Lambda).

After investigating, this is due to the fact that SSLyze relies on Python's ThreadPoolExecutor, which uses a lot of memory when submitting a large number of jobs:

@nabla-c0d3
Copy link
Owner Author

Fix released as part of v4.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant