Skip to content

UI becomes unresponsive after entering new different discovery range #11

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

Open
tyalie opened this issue Mar 11, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@tyalie
Copy link

tyalie commented Mar 11, 2024

As the title states

@Chleba
Copy link
Owner

Chleba commented Mar 11, 2024

Hi,
This may happen when you have a small amount of cores thanks to green tokio threads. You may try to wait a moment. The process of scanning is still running and after a while, the UI becomes responsive again.
I will address this issue in the near future.

@Chleba Chleba added the enhancement New feature or request label Mar 12, 2024
@tyalie
Copy link
Author

tyalie commented Mar 16, 2024

Hm. I was actually on a 12 core machine :/

@Chleba
Copy link
Owner

Chleba commented Mar 16, 2024

Hi,
Did you wait a while and then the UI became responsive again ?
I am thinking about a solution and will try a few things to fix this issue, but I would like to know if it freezes completely on Your PC or if it just lag for a moment.

@Stridsvagn69420
Copy link

I have a similar issue. What I noticed is that the Wi-Fi network lookup seems to be the most impactful. When I'm connected to my Raspberry Pi 4, a second TTY with btop freezes when netscanner also does, and I can replicate this behaviour when I run iw dev wlan0 scan manually.

I don't have this issue if I were to use nmcli dev wifi list, the command just takes a bit. Also, if I skip SSH and directly access a TTY, I can freely switch between netscanner on tty1 and btop on tty2. So the UI hangs and apparently also the network, but not the actual system.

Also, I noticed in btop that netscanner, when it's not frozen, only seems to be using a single core? But then it's the entire core, and shortly afterwards it hangs again.

Lastly, maybe unrelated, but MAC-Address and Hostname lookup seems to be way slower than if I were to manually arp-scan and look up hostnames. The current version I have installed is 0.6.3, but I have another Raspberry Pi 4 where I had version 0.5.3 installed directly via cargo and those two lookups were faster. Though the freeze issue was still present.

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

No branches or pull requests

3 participants