-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
thread 'main' panicked at 'Too many open files. Please reduce batch size.' in kali on WSL2 #39
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
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hey! You need to decrease the batch size as your OS doesn't support that. Or increase your OS' batch size. Run this: ulimit -a This will tell you how many open files you're allowed at any given time. Reduce the batch size to either that number or below. Alternatively, increase the batch size of your OS. Use ulimit -n to do this, where the flag for -n is how much you are comfortable with. For RustScan, the default is 5000. |
Unfortunately kali linux on WSL2 doesn't seem to have ulimit?
Edit: nevermind, I fixed it with |
I still get the same error
|
It looks like WSL doesn't support ulimit :-( See here too |
Damn, ironically using docker worked fine |
I'm writing documentation for this issue, so thanks for bringing it up! PS: I'm releasing a Docker version maybe tomorrow? That way people don't have to sweat about ulimit stuff 🤷♂️✨ |
I've installed the latest .deb from the release page on WSL2 kali and it crashes when doing a scan. I have nmap installed.
The text was updated successfully, but these errors were encountered: