Kb156
Emulab FAQ: Testbed Operations: How do I forcibly terminate an experiment when things are wedged?
Emulab FAQ: Testbed Operations: How do I forcibly terminate an experiment when things are wedged?
> I've got an experiment (created in group "ddos" with name "pruned" by > Brett Wilson) that seems to be in some wedged > state. I can't cancel swap-in nor terminate it.
The trick on this is to:
select pid,eid,state,expt_locked from experiments where expt_locked is not NULL;
to see what experiments are wedged, and how they are wedged.
Typically, you just put the experiment into the "active" state and clear expt_locked.
update experiments set state='active',expt_locked=NULL where pid='foo' and eid='bar';
Then you can run a swapout on the experiment again. This works if the experiment wedged on swapin or swapout (activating or swapping).