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

Crawling site with maxDepth > 2 causes hang #376

Open
TheTFo opened this issue Dec 18, 2020 · 3 comments
Open

Crawling site with maxDepth > 2 causes hang #376

TheTFo opened this issue Dec 18, 2020 · 3 comments

Comments

@TheTFo
Copy link

TheTFo commented Dec 18, 2020

I'm crawling a small site with maxDepth === 2, and things crawl fine. As soon as up it to 3 or more, the the crawler hangs. I don't see onError or onSuccess called, or any errors. Looking through Fiddler, I do not see any request firing aside from the first batch. How should I troubleshoot this?

What is the current behavior?
Crawler seems to hang with no error when maxDepth > 2. It's a rather small site.

If the current behavior is a bug, please provide the steps to reproduce
Setting up to queue a particular site with maxDepth > 2 causes things to hang

What is the expected behavior?
With any depth, the result should be the same.

Please tell us about your environment:

  • Version: 1.8.0
  • Platform / OS version: MacOS 11
  • Node.js version: 12.8.4
@michaelpapesch
Copy link

i had the same problem, it was CPU usage for me on a server with 2 cores.
with 8 cores i had no problems. maybe that helps.

@iamprageeth
Copy link

You can try adding more memory to node --max_old_space_size=4000

@goldingdamien
Copy link

I had a similar issue, and fixed it with "maxConcurrency": 1.

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

No branches or pull requests

4 participants