HSAnet / glimpse_client

GLIMPSE is an end host-based network measurement tool.
http://www.measure-it.net
Other
6 stars 6 forks source link

HTTP Download connection loss results in high CPU load #383

Closed monstermunchkin closed 8 years ago

monstermunchkin commented 8 years ago

Last night I noticed glimpse running on 100%. The HTTP Download measurement does not seem to handle connection loss very well. Also, I could not stop it but had to kill it. Here are the logs:

-- Logs begin at Mon 2013-01-07 13:40:56 CET, end at Fri 2015-10-23 22:41:04 CEST. --
Oct 22 22:14:38 zbox glimpse-console[320]: "22:14:38" "INFO" "int main(int, char**)" : "Glimpse version 2.7.1"
Oct 22 22:14:38 zbox glimpse-console[320]: "22:14:38" "INFO" "Settings::StorageType Settings::init()" : "Device ID: 5c288d7c50dd6959ea24f25a0d2964d1f08c2c839f6e429487ec7dcc"
Oct 22 22:14:48 zbox glimpse-console[320]: "22:14:48" "INFO" "void TrafficBudgetManager::init()" : "Traffic budget manager is disabled"
Oct 22 22:14:50 zbox glimpse-console[320]: "22:14:50" "INFO" "void LoginWatcher::onStatusChanged()" : "Login successful"
[...]
Oct 23 09:18:09 zbox glimpse-console[320]: "09:18:09" "INFO" "void InternalTaskExecutor::execute(const ScheduleDefinition&, MeasurementObserver*)" : "Starting execution of httpdownload"
[...]
Oct 23 09:18:09 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 09:18:09 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 09:18:09 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 09:18:09 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 09:18:17 zbox glimpse-console[320]: "09:18:17" "INFO" "void InternalTaskExecutor::measurementFinished()" : "Finished execution of httpdownload (success)"
[...]
Oct 23 09:58:29 zbox glimpse-console[320]: "09:58:29" "INFO" "void InternalTaskExecutor::execute(const ScheduleDefinition&, MeasurementObserver*)" : "Starting execution of ping"
[...]
Oct 23 09:58:31 zbox glimpse-console[320]: "09:58:31" "INFO" "void InternalTaskExecutor::measurementFinished()" : "Finished execution of ping (success)"
[...]
Oct 23 10:18:09 zbox glimpse-console[320]: "10:18:09" "INFO" "void InternalTaskExecutor::execute(const ScheduleDefinition&, MeasurementObserver*)" : "Starting execution of httpdownload"
[...]
Oct 23 10:18:10 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 10:18:10 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 10:18:10 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 10:18:10 zbox glimpse-console[320]: QObject::moveToThread: Cannot move objects with a parent
Oct 23 10:18:16 zbox glimpse-console[320]: QNativeSocketEngine::bytesAvailable() was called in QAbstractSocket::UnconnectedState
Oct 23 10:28:26 zbox glimpse-console[320]: "10:28:26" "ERROR" "void ConfigController::Private::onError()" : "Could not get config from server, trying again later"
Oct 23 10:28:26 zbox glimpse-console[320]: "10:28:26" "ERROR" "void TaskController::Private::instructionError()" : "Error fetching instructions: Host unreachable"
Oct 23 22:36:16 zbox systemd[1]: Stopping Glimpse measurement client...
Oct 23 22:36:16 zbox glimpse-console[320]: "22:36:16" "INFO" "void Client::Private::handleSigTerm()" : "Termination requested, quitting."
Oct 23 22:37:46 zbox systemd[1]: glimpse-probe.service: State 'stop-sigterm' timed out. Killing.
Oct 23 22:37:46 zbox systemd[1]: glimpse-probe.service: Main process exited, code=killed, status=9/KILL
Oct 23 22:37:46 zbox systemd[1]: Stopped Glimpse measurement client.
Oct 23 22:37:46 zbox systemd[1]: glimpse-probe.service: Unit entered failed state.
Oct 23 22:37:46 zbox systemd[1]: glimpse-probe.service: Failed with result 'signal'.