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

cpu randomly goes to 100% #135

Closed
feross opened this issue Sep 21, 2014 · 3 comments
Closed

cpu randomly goes to 100% #135

feross opened this issue Sep 21, 2014 · 3 comments
Labels

Comments

@feross
Copy link
Member

@feross feross commented Sep 21, 2014

Issue by feross
Sunday Aug 17, 2014 at 13:22 GMT
Originally opened as https://github.com/feross/bittorrent-client/issues/39


In the middle of downloading, the CPU will suddenly to 100%. I've been unable to figure out the reason.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 21, 2014

Comment by ollym
Thursday Aug 28, 2014 at 09:35 GMT


@feross sorry for stating the obvious.. but could this be because the CPU is copying a large chunk of memory to disk? I saw CPU spikes when swap kicked in.

Related to #16

@transitive-bullshit

This comment has been minimized.

Copy link
Member

@transitive-bullshit transitive-bullshit commented Sep 21, 2014

I doubt the CPU would spike for disk writes; it's IO-intensive not processor-intensive. The only things I could think of would be some race condition with events / control flow that causes a practically infinite loop or possibly something with the block decoding and the CPU-intensive hashes..?

@feross feross added the help wanted label Nov 19, 2014
@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Mar 12, 2015

Closing out old issues. Feel free to comment or open a new issue if this still affects you.

@feross feross closed this Mar 12, 2015
@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.