Skip to content

runtime: sysmon polls network excessively #6610

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

Closed
dvyukov opened this issue Oct 17, 2013 · 5 comments
Closed

runtime: sysmon polls network excessively #6610

dvyukov opened this issue Oct 17, 2013 · 5 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Oct 17, 2013

The condition in src/pkg/runtime/proc.c, sysmon must be:

-       if(lastpoll != 0 && lastpoll + 10*1000*1000 > now) {
+       if(lastpoll != 0 && lastpoll + 10*1000*1000 < now) {
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added priority-soon, go1.2, removed priority-triage.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Well, let me ask: Dmitriy, do you think this should be fixed for Go 1.2?

@rsc
Copy link
Contributor

rsc commented Oct 17, 2013

Comment 3:

I believe this should be fixed, assuming the code is actually wrong.
Dmitriy, can you please take care of this?

@ianlancetaylor
Copy link
Contributor

Comment 4:

https://golang.org/cl/14793043

@ianlancetaylor
Copy link
Contributor

Comment 5:

This issue was closed by revision 88c448b.

Status changed to Fixed.

@rsc rsc added this to the Go1.2 milestone Apr 14, 2015
@rsc rsc removed the go1.2 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants