GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.17k stars 436 forks source link

Is simultaneous network monitorinng limitated to six links at the same time? #3594

Closed mmartinrami closed 1 month ago

mmartinrami commented 4 months ago

Hello i have a topology an i want to monitoring with wireshark more than six links at the same time but if i put seven or more at the same time doesn't finish load an i recive timeout. I tried in another pc with other specs but the result was the same .Is it limitated by code ? is there a way to solve it?

image

mmartinrami commented 4 months ago

After a few minutes i have this error: Error while starting capture on link 6580d5df-95bb-4866-b30a-9e70644e4f1e: Operation timeout. If i try another link i have the same error

grossmj commented 3 months ago

After a few minutes i have this error: Error while starting capture on link 6580d5df-95bb-4866-b30a-9e70644e4f1e: Operation timeout. If i try another link i have the same error

Just a few questions to try to find the problem:

Thanks.

mmartinrami commented 3 months ago

hello the taffic is not to much because is a small network topoly (around 15 devices). Im running the server in linux Ubuntu 22.04.4 LTS My CPU usage is : image My gns3 version is 2.2.47

grossmj commented 1 month ago

Good news, I can reproduce the issue on my side. It only affects the desktop client not the web-ui.

This is because of a Qt limitation as stated in https://doc.qt.io/qt-6/qnetworkaccessmanager.html

Note: QNetworkAccessManager queues the requests it receives. The number of requests executed in parallel is dependent on the protocol. Currently, for the HTTP protocol on desktop platforms, 6 requests are executed in parallel for one host/port combination.

Since we stream PCAP files using HTTP, the GUI cannot make new requests once you hit 6 packet captures.

I will try to fix this soon.