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

socket: too many open files #6

Open
Bhupesh-V opened this issue Feb 14, 2022 · 0 comments
Open

socket: too many open files #6

Bhupesh-V opened this issue Feb 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Bhupesh-V
Copy link
Owner

Describe the bug
there is a limit to how many file descriptors can be open at a time.
See https://stackoverflow.com/questions/32325343/go-tcp-too-many-open-files-debug

To Reproduce
Steps to reproduce the behavior:

  1. Run Areyouok on file with greater than 200 links (For e.g awesome-go README)
  2. A lot of URLs are reported as above error

Expected behavior
All URLs should be correctly fetched

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • areyouok version: [latest]

Additional context
Use buffered channels, and add a limit for it (use ulimit -n)

@Bhupesh-V Bhupesh-V added the bug Something isn't working label Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant