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

SimplePing behaving funny #6

Open
jpalten opened this issue Jan 8, 2017 · 1 comment
Open

SimplePing behaving funny #6

jpalten opened this issue Jan 8, 2017 · 1 comment

Comments

@jpalten
Copy link

jpalten commented Jan 8, 2017

I find that pinging a whole subnet will not report about 20% of the devices that should be there. Bigger numbers if the max concurrency count is higher.
When I do some logging inside [SimplePing readData], I see that all kinds of instances of Simple ping are receiving data from other pings. Somehow the SocketReadCallback gets called multiple times when data comes in. This might be related to this problem.

I'd love to solve this but might need a little extra help to fix it. Any ideas?

When I log who is receiving the data and where it came from, I get this:

  • start pinging 10.1.1.2
  • start pinging 10.1.1.1
  • start pinging 10.1.1.4
  • start pinging 10.1.1.3
  • SimplePing(10.1.1.1) receiving data from 10.1.1.1
  • SimplePing(10.1.1.2) receiving data from 10.1.1.1
  • start pinging 10.1.1.6
  • start pinging 10.1.1.5
  • SimplePing(10.1.1.4) receiving data from 10.1.1.1
  • start pinging 10.1.1.7
  • start pinging 10.1.1.8
  • start pinging 10.1.1.9
  • start pinging 10.1.1.10
  • start pinging 10.1.1.11
  • start pinging 10.1.1.12
  • SimplePing(10.1.1.8) receiving data from 10.1.1.10
  • SimplePing(10.1.1.10) receiving data from 10.1.1.10
  • SimplePing(10.1.1.7) receiving data from 10.1.1.10
  • SimplePing(10.1.1.6) receiving data from 10.1.1.10
  • SimplePing(10.1.1.9) receiving data from 10.1.1.10
  • SimplePing(10.1.1.8) receiving data from 10.1.1.12
  • SimplePing(10.1.1.12) receiving data from 10.1.1.12
  • SimplePing(10.1.1.7) receiving data from 10.1.1.12
@mavris
Copy link
Owner

mavris commented Jan 26, 2017

Thanks for your feedback. I noticed that too and it's weird since they are executed on different threads. I will have a look into it as soon as I have some free time. In the mean time please post here any findings

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

2 participants