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

nyx "amount outbound connection" calculated wrong for 2 relays runnign at sema ip address #9

Closed
atagar opened this issue Dec 21, 2019 · 1 comment

Comments

@atagar
Copy link
Collaborator

atagar commented Dec 21, 2019

Migrated from ticket 31792.

I do run 2 relays at the same ip address at different ports
The stem example shows (corrrect):

mr-fox ~ # for p in 9051 29051 ; do python /usr/share/doc/stem-1.7.1/_static/example/relay_connections.py --ctrlport $p; done
 0.4.1.6   uptime: 02:15:02   flags: Fast, Running, Stable, V2Dir, Valid

+------------------------------+------+------+
| Type                         | IPv4 | IPv6 |
+------------------------------+------+------+
| Inbound to our ORPort        | 3119 |    3 |
| Inbound to our ControlPort   |    1 |    0 |
| Outbound to a relay          | 3758 |    0 |
| Outbound uncategorized       |   16 |    0 |
+------------------------------+------+------+
| Total                        | 6894 |    3 |
+------------------------------+------+------+

 0.4.1.6   uptime: 02:02:58   flags: Fast, Running, Stable, V2Dir, Valid

+------------------------------+------+------+
| Type                         | IPv4 | IPv6 |
+------------------------------+------+------+
| Inbound to our ORPort        | 2117 |    3 |
| Inbound to our ControlPort   |    1 |    0 |
| Outbound to a relay          | 3702 |    0 |
| Outbound uncategorized       |   16 |    0 |
+------------------------------+------+------+
| Total                        | 5836 |    3 |
+------------------------------+------+------+

A call of nyx, eg.:

sudo -u tor /bin/bash -c "/usr/bin/nyx -i 9051"

however shows about 7500 connections (Alt+S -> Connections) which seems to be the sum of boths.
Netstat etc how that the command line values are right, Nyx is wrong.

@atagar
Copy link
Collaborator Author

atagar commented Sep 1, 2020

Resolving this in favor of #18

@atagar atagar closed this as completed Sep 1, 2020
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

1 participant