Page 1 of 1

Long-lived HTTPS connection from 1.18.1?

Posted: Mon May 19, 2025 6:01 pm
by cpitchford
I'm running makemkvcon on a linux system and I've noticed that at the end of the operation, makemkvcon remains running

The drive has gone idle, it no longer has the MKV file open for writing (or reading) but it sits idle waiting for something

I can see that the process is holding a TCP connection open

Code: Select all

Proto Recv-Q Send-Q Local Address      Foreign Address     State       PID/Program name    
tcp        0      0 1.2.3.4:35462      185.84.108.20:443   ESTABLISHED 1139582/makemkvcon  
I'm not sure what it is doing. Why does it need to be dialling out and sitting connected to (according to r-dns) web33.majordomo.ru.

If it does need to making web calls out, can this be wrapped in a timeout? It's remained connected for over 30 minutes whilst doing nothing else:

Code: Select all

[pid 1139585] <... restart_syscall resumed>) = 0
[pid 1139585] rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x733662445330}, 8) = 0
[pid 1139585] rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x733662445330}, NULL, 8) = 0
[pid 1139585] poll([{fd=43, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
[pid 1139585] rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x733662445330}, NULL, 8) = 0
[pid 1139585] poll([{fd=43, events=POLLIN}, {fd=41, events=POLLIN}], 2, 1000 <unfinished ...>
[pid 1139582] <... clock_nanosleep resumed>NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000},  <unfinished ...>
[pid 1139585] <... poll resumed>)       = 0 (Timeout)
[pid 1139585] rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x733662445330}, 8) = 0
[pid 1139585] rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x733662445330}, NULL, 8) = 0
[pid 1139585] poll([{fd=43, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
[pid 1139585] rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x733662445330}, NULL, 8) = 0
[pid 1139585] poll([{fd=43, events=POLLIN}, {fd=41, events=POLLIN}], 2, 1000 <unfinished ...>
[pid 1139582] <... clock_nanosleep resumed>NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
[pid 1139582] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000}, NULL) = 0
it polling for activity on the TCP connection (fd=43) with a 1 second timeout BUT it never gives up