primalmotion/Archipel — Issue #342: VNC slow down
Author: moobyfr
Created: 2011-12-01 17:07:11+00:00
State: open

during a 2h sessions, the VNC component becomes slower with time (15students using the vnc on one hypervisor)

If I restart the agent, all is fine again

interesting part in the logs:

INFO ::2011-12-01 16:23:35::utils.py:66::TNArchipelVirtualMachine.check_acp (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::acp received: from: 1mbracigliano@iutrs-arch-etu.u-str
asbg.fr/ArchipelController, type: set, namespace: archipel:vm:control, action: shutdown
INFO ::2011-12-01 16:23:35::utils.py:66::TNArchipelVirtualMachine.check_perm (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Checking permission for action shutdown asked by 1mbr
acigliano@iutrs-arch-etu.u-strasbg.fr/ArchipelController
INFO ::2011-12-01 16:23:35::utils.py:66::TNArchipelVirtualMachine.lock (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::acquiring lock
INFO ::2011-12-01 16:23:35::utils.py:66::TNArchipelVirtualMachine.change_presence (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::status change: Shutting down... show:
INFO ::2011-12-01 16:23:35::utils.py:66::TNArchipelVirtualMachine.shutdown (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Virtual machine shut down.
INFO ::2011-12-01 16:23:36::utils.py:66::TNArchipelVirtualMachine.check_acp (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::acp received: from: 1mbracigliano@iutrs-arch-etu.u-str
asbg.fr/ArchipelController, type: set, namespace: archipel:vm:control, action: shutdown
INFO ::2011-12-01 16:23:36::utils.py:66::TNArchipelVirtualMachine.check_perm (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Checking permission for action shutdown asked by 1mbr
acigliano@iutrs-arch-etu.u-strasbg.fr/ArchipelController
ERROR ::2011-12-01 16:23:36::utils.py:70::TNArchipelVirtualMachine.iq_shutdown (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Virtual machine is locked, can't do anything.

INFO ::2011-12-01 16:23:36::utils.py:66::TNArchipelVirtualMachine.check_acp (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::acp received: from: 1mbracigliano@iutrs-arch-etu.u-str
asbg.fr/ArchipelController, type: set, namespace: archipel:vm:control, action: shutdown
INFO ::2011-12-01 16:23:36::utils.py:66::TNArchipelVirtualMachine.check_perm (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Checking permission for action shutdown asked by 1mbr
acigliano@iutrs-arch-etu.u-strasbg.fr/ArchipelController

...

ERROR ::2011-12-01 16:23:37::utils.py:70::TNArchipelVirtualMachine.iq_shutdown (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Virtual machine is locked, can't do anything.

INFO ::2011-12-01 16:23:37::utils.py:66::TNArchipelVirtualMachine.unlock (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::releasing lock
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.check_acp (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::acp received: from: 1mbracigliano@iutrs-arch-etu.u-str
asbg.fr/ArchipelController, type: set, namespace: archipel:vm:control, action: destroy
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.check_perm (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Checking permission for action destroy asked by 1mbra
cigliano@iutrs-arch-etu.u-strasbg.fr/ArchipelController
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.lock (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::acquiring lock
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.destroy (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Virtual machine destroyed.
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.on_domain_event (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Libvirt event received: 5 with detail 1
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.change_presence (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::status change: Off show:xa
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.push_change (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::PUSH : pushing archipel:push:virtualmachine:control-
>shutdown
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.perform_hooks (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::HOOK: going to run methods for hook HOOK_VM_STOP
DEBUG ::2011-12-01 16:24:05::utils.py:64::TNArchipelVirtualMachine.perform_hooks (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::HOOK: performing method stop_novnc_proxy registere
d in hook with name HOOK_VM_STOP and user_info: None (oneshot: False)
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.stop_novnc_proxy (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::Stopping novnc proxy.
ERROR ::2011-12-01 16:24:05::utils.py:70::TNArchipelVirtualMachine.perform_hooks (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::HOOK: error during performing method stop_novnc_pr
oxy for hookname HOOK_VM_STOP: 'WebSocketProxy' object has no attribute 'lsock'
DEBUG ::2011-12-01 16:24:05::utils.py:64::TNArchipelVirtualMachine.perform_hooks (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::HOOK: performing method vm_stop registered in hook
with name HOOK_VM_STOP and user_info: None (oneshot: False)
INFO ::2011-12-01 16:24:05::utils.py:66::TNArchipelVirtualMachine.unlock (070ee65a-1c2d-11e1-820a-001b7896524e@iutrs-arch-etu.u-strasbg.fr/hypervisor-iutrs-kvm5)::releasing lock