aboutcode-org / aboutcode-org/scancode-toolkit

Scan Fails with Timeout for Specific Binaries Despite Extended Timeout Setting

Open
#4,223 4 comments 1 reaction 0 assignees View on GitHub
performance
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

Description:

Hi team,

I'm encountering a timeout error when scanning a few binary files for licenses using ScanCode. Here's what's happening:

- Some binaries fail with a timeout error (120s).

- I increased the timeout value to 1 hour, but ScanCode still waits for the full hour and then throws the same timeout error.

- Interestingly, other binaries (even larger ones) scan successfully all together in under 40 minutes.

- For example, a failed binary of size ~103 MB was tried individually, but still failed after 1 hour with a timeout.

This behavior seems inconsistent, and I’m wondering what might be causing it or how to debug further.

I’m happy to provide more general information or logs if needed.

Thanks in advance for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.