[mythtv-users] fixes/29 [v29.1-40-g951f1fe] - why is the FE disconnecting and connecting so many times?

Jim lists at morton.hrcoxmail.com
Mon Jun 17 19:40:57 UTC 2019


Is it normal or ok that I get lots of log entries that the client has 
disconnected and then the client gets added?
I know the "I" entries are just Informational but why is it 
disconnecting and connecting so many times?

"docbuntu" is the master BE and a FE.
revo1 is a slave BE and a FE

Below are 2 snips from a backend log.
Where it first started up
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: C 
thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging) 
mythbackend version: fixes/29 [v29.1-40-g951f1fe] www.mythtv.org
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: C 
thread_unknown mythcommandlineparser.cpp:2621 (ConfigureLogging) Qt 
version: compile: 5.5.1, runtime: 5.5.1
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: N 
thread_unknown mythcommandlineparser.cpp:2623 (ConfigureLogging) Enabled 
verbose msgs:  general
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: N 
thread_unknown logging.cpp:927 (logStart) Setting Log Level to LOG_INFO
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I Logger 
logging.cpp:313 (run) Added logging to the console
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup 
Interrupt handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup 
Terminated handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup 
Segmentation fault handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted 
handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus 
error handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating 
point exception handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal 
instruction handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup 
Real-time signal 0 handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I 
thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Hangup 
handler
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: N 
thread_unknown mythdirs.cpp:195 (InitializeMythDirs) Using runtime 
prefix = /usr
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: N 
thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using configuration 
directory = /home/mythtv/.mythtv
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythcorecontext.cpp:271 (Init) Assumed character encoding: en_US.UTF-8
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: N CoreContext 
mythcontext.cpp:599 (LoadDatabaseSettings) Empty LocalHostName.
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythcontext.cpp:607 (LoadDatabaseSettings) Using localhost value of docbuntu
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythcontext.cpp:852 (TestDBconnection) Start up testing connections. DB 
docbuntu, BE , attempt 0, status dbAwake
Jun 10 14:01:34 docbuntu mythbackend: mythbackend[1250]: I LogForward 
loggingserver.cpp:302 (SyslogLogger) Added syslogging
Jun 10 14:01:35 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythcontext.cpp:852 (TestDBconnection) Start up testing connections. DB 
docbuntu, BE , attempt 1, status dbAwake
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: N CoreContext 
mythcorecontext.cpp:1768 (InitLocale) Setting QT default locale to EN_US
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythcorecontext.cpp:1801 (SaveLocaleDefaults) Current locale EN_US
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: N CoreContext 
mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from 
/usr/share/mythtv//locales/en_us.xml
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythtranslation.cpp:73 (load) Loading en_us translation for module 
mythfrontend
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
schemawizard.cpp:120 (Compare) Current MythTV Schema Version 
(DBSchemaVer): 1348
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: I CoreContext 
mythtranslation.cpp:73 (load) Loading en_us translation for module 
mythfrontend
Jun 10 14:01:37 docbuntu mythbackend: mythbackend[1250]: N CoreContext 
main_helpers.cpp:597 (run_backend) MythBackend: Starting up as the 
master server.

and this shows multiple disconnects and connects in a just a single minute

Jun 17 14:32:02 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1738 (HandleAnnounce) MainServer: 
MainServer::ANN Monitor
Jun 17 14:32:02 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: 
docbuntu(1a0d1d0) as a client (events: 0)
Jun 17 14:32:02 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1738 (HandleAnnounce) MainServer: 
MainServer::ANN Monitor
Jun 17 14:32:02 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: 
docbuntu(1a08950) as a client (events: 1)
Jun 17 14:32:16 docbuntu mythbackend: mythbackend[1250]: I 
MythSocketThread(81) mainserver.cpp:7674 (connectionClosed) Monitor 
sock(1a0d1d0) 'docbuntu' disconnected
Jun 17 14:32:16 docbuntu mythbackend: mythbackend[1250]: I 
MythSocketThread(88) mainserver.cpp:7674 (connectionClosed) Monitor 
sock(1a08950) 'docbuntu' disconnected
Jun 17 14:32:26 docbuntu mythbackend: mythbackend[1250]: I 
Commflag_62640 jobqueue.cpp:2282 (DoFlagCommercialsThread) JobQueue: 
Commercial Detection Starting for "America's Test Kitchen From Cook's 
Illustrated":"Better Breakfast" recorded from channel 4021 at 
2019-06-17T18:00:00Z
Jun 17 14:32:27 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1738 (HandleAnnounce) MainServer: 
MainServer::ANN Monitor
Jun 17 14:32:27 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: 
docbuntu(1a936f0) as a client (events: 0)
Jun 17 14:32:27 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1738 (HandleAnnounce) MainServer: 
MainServer::ANN Monitor
Jun 17 14:32:27 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: 
docbuntu(1a0d1d0) as a client (events: 1)
Jun 17 14:32:29 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1738 (HandleAnnounce) MainServer: 
MainServer::ANN Monitor
Jun 17 14:32:29 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: 
docbuntu(19fb6d0) as a client (events: 0)
Jun 17 14:32:29 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1738 (HandleAnnounce) MainServer: 
MainServer::ANN Monitor
Jun 17 14:32:29 docbuntu mythbackend: mythbackend[1250]: I 
ProcessRequest mainserver.cpp:1743 (HandleAnnounce) MainServer: adding: 
docbuntu(1b2eae0) as a client (events: 1)
Jun 17 14:32:43 docbuntu mythbackend: mythbackend[1250]: I 
MythSocketThread(91) mainserver.cpp:7674 (connectionClosed) Monitor 
sock(19fb6d0) 'docbuntu' disconnected
Jun 17 14:32:43 docbuntu mythbackend: mythbackend[1250]: I 
MythSocketThread(93) mainserver.cpp:7674 (connectionClosed) Monitor 
sock(1b2eae0) 'docbuntu' disconnected


Thanks,
Jim



More information about the mythtv-users mailing list