What are some techniques for tracking down root cause(s) of intermittent, sometimes very long delays in TigerVNC sessions?
Working remotely via SSH using TigerVNC. Most of the time the screen is responsive. However, many times a day, there are delays in response; these can range from half a second to as high as several minutes, with characters typed and mouse movement and actions remaining buffered. This is very disruptive, when it occurs in the middle of writing a line of code.
During these delays, pings go through (so far) without any issues, and other Internet access works fine.
We are on ComCast with a relatively high performance plan. WiFi is not an issue, as my laptop is hardwired through a switch to our router / cable modem. The company I'm working for is on a different ISP. IT says that others with ComCast have had similar problems, however there are no other ISP options currently available where I live.
A traceroute (slightly redacted)... pauses at Hop 9, and shows * * * for that hop.
scott@scott-HP-Pavilion-15-dk0xxx:~$ traceroute <redacted>.com
traceroute to <redacted> (<redacted>), 64 hops max
1 192.168.0.1 0.660ms 1.224ms 0.691ms
2 <redacted> 12.768ms 13.083ms 9.222ms
3 24.153.80.113 12.028ms 9.766ms 10.039ms
4 69.139.164.217 11.650ms 17.848ms 10.298ms
5 24.124.128.249 14.816ms 10.285ms 10.711ms
6 68.86.93.165 11.076ms 15.245ms 11.115ms
7 96.110.40.89 11.764ms 12.553ms 10.458ms
8 96.110.32.234 10.686ms 9.901ms 10.849ms
9 * * * <--- this part runs slowly.
10 64.125.23.46 11.342ms 9.551ms 8.964ms
11 64.125.29.3 10.094ms 11.916ms 11.782ms
12 64.125.36.106 11.953ms 9.912ms 9.900ms
13 <redacted> 14.820ms 9.314ms 10.101ms
14 <redacted> 12.224ms 9.792ms 10.748ms
15 <redacted> 10.585ms 11.545ms 12.545ms
16 * * *
...
64 * * *
A call to Comcast tech support has so far produced a support ticket number, a perhaps-reflexive attempt to get me to change our (fairly new) cable modem, and (to date) no return call. However the problem is not slow speed during normal operation, and our connection does not (to my knowledge) drop; pings and other Internet access continue working with no delays during the pauses, and keystrokes and mouse actions remain buffered.
I would appreciate any ideas for:
- How to isolate the issue to software, a networking issue or ?
- Tools to help isolate
- If the latter, how to tell our ISP what is wrong, in the hopes that this will percolate through to someone with the access to fix it
- How to get past this (just possibly renting an office where another ISP is available)
Edit: per suggestion to use sudo journalctl -b 0 -u NetworkManager:
logs show many triplets of:
connectivity: (en01) timed out, immediately followed by:manager: NetworkManager state is now CONNECTED_SITE,- Then after a 4 min 31 second delay(?) every time:
manager: NetworkManager state is now CONNECTED_GLOBALsequences.
Example, with system name trimmed:
Oct 24 17:14:06 <name> NetworkManager[1065]: <info> [1635120846.1948] connectivity: (eno1) timed out
Oct 24 17:14:06 <name> NetworkManager[1065]: <info> [1635120846.1949] manager: NetworkManager state is now CONNECTED_SITE
Oct 24 17:18:37 <name> NetworkManager[1065]: <info> [1635121117.3196] manager: NetworkManager state is now CONNECTED_GLOBAL