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

[BUG] Fatal error: thread exhaustion #5605

Open
1 task done
Sh4d0wHunt3rX opened this issue Sep 5, 2024 · 2 comments · May be fixed by #5622
Open
1 task done

[BUG] Fatal error: thread exhaustion #5605

Sh4d0wHunt3rX opened this issue Sep 5, 2024 · 2 comments · May be fixed by #5622
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Sh4d0wHunt3rX
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

I'm currently testing different templates and have 100k in my folder. So, when I run a scan, I get this error.

Expected Behavior

Should start the scan without any error

Steps To Reproduce

nuclei -u LINK -t DIRECTORY

Relevant log output

No response

Environment

- OS: Ubuntu 22.01
- Nuclei: v3.3.1
- Go: 1.22.0

Anything else?

image
image
image
image

@Sh4d0wHunt3rX Sh4d0wHunt3rX added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Sep 5, 2024
@projectdiscovery projectdiscovery deleted a comment Sep 5, 2024
@ehsandeep
Copy link
Member

It's limited by resource - https://stackoverflow.com/questions/32042048/go-runtime-program-exceeds-10000-thread-limit, it's simply not possible to run that much of template.

@Mzack9999 Mzack9999 reopened this Sep 5, 2024
@Mzack9999
Copy link
Member

Mzack9999 commented Sep 5, 2024

It's possible via:

debug.SetMaxThreads(...)

Probably we can add this to utils

@dogancanbakir dogancanbakir self-assigned this Sep 10, 2024
@dogancanbakir dogancanbakir linked a pull request Sep 10, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants