-
Notifications
You must be signed in to change notification settings - Fork 149
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
High network utilisation (large uploads) being reported when the Icloudpd container is inactive ? #57
Comments
Hi, The container doesn't generate any traffic at all when it's idling. What are you using to report on the network traffic? It sounds like it's inaccurate. You can see for yourself by connecting to the running container:
then run
This will show you all the processes that are running inside the container. You should only see the the following (during an idle period): If you run this while the container is synchronising, the If you want to look at traffic in real time, go back to your shell prompt and install a network monitoring tool:
to see all tcp traffic going in and out of your network card type:
This is the maximum logging level so it will generate huge amounts of data... if it sees anything at all (which it shouldn't until it synchronises). Press + C to exit. It should then display a summery showing no data was sent over the Ethernet adapter. If doing this, you'll want to create the container with the syncrhronisation_delay variable set to Thanks. |
Hi, Thanks for responding, in regards to where I obtained that information; as I use QNAP’s Container Station to create/run Icloudpd , it has a chart that shows each container’s network utilisation. And Icloudpd was going crazy. (Likely inaccurate but I thought it best to raise it) I’d stopped the container, but will run it again later , so I can monitor it and see if I can do some reporting, I’m also going to install a network monitoring tool too - called netdata. (Have you heard of that ?) |
Is it not that Container Station is showing utilisation for the network that the container is attached to? So if you have 10 containers connected to the same network, it shows the utilisation for all 10 containers? I've seen Netdata but not used it. I use both Zabbix/PRTG Network Monitor for monitoring all the infrastructure I look after. |
It’s my understanding that the ‘network usage’ chart is per-container. |
I wouldn't pay much attention to it. Obtaining true network utilisation statistics on a per-container basis is not an easy task at all. It says as much in the documentation: https://docs.docker.com/config/containers/runmetrics/#network-metrics It's probably showing cumulative totals. Does it reset to 0 when you restart the container and slowly climb the longer the container is on? Jumping up when the container is actively syncing? The only you can be sure you're seeing accurate stats is if you have some sort of agent running inside the container that monitors traffic on a per-process basis. Just connect to the container and then install iptraf-ng:
Run iptraf-ng from the command line and it will bring up a GUI with which you can interrogate the network traffic all you like. Connect to the server a second time and run the script a few times and watch what affect it has on the statistics in the other connection. |
Closing this off as I wasn't able to replicate it. Running network monitoring software inside the container shows no traffic whatsoever while script is not running. |
Hi,
There seems to be a lot of network traffic, mainly uploads (and down) from the container.
This is slightly concerning, especially as I’ve left the container running after it failed to locate the required cookie to work.
Why is it doing that, and where is all that traffic going ?
The text was updated successfully, but these errors were encountered: