Commit 4060a0c7 authored by Leigh Stoller's avatar Leigh Stoller

Ignore PG slice experiments; handled in the expire daemon.

parent 036c16ef
......@@ -161,6 +161,7 @@ last_cpu_act, last_ext_act)) as lastact,
from node_activity as na left join reserved as r on na.node_id=r.node_id
left join experiments as e on r.pid=e.pid and r.eid=e.eid
where r.pid is not null and r.eid is not null and idle_ignore=0
and geniflags=0
and (idleswap=0 or swappable=0)
group by pid,eid having idle_time >= $threshold and nodes > 0
order by pid,eid
......@@ -233,6 +234,7 @@ last_tty_act,last_net_act,last_cpu_act,last_ext_act))))/60 as idlemin
from reserved as r left join experiments as e on e.pid=r.pid and e.eid=r.eid
left join node_activity as na on r.node_id=na.node_id
where idleswap !=0 and swappable>0 and idle_ignore=0
and geniflags=0
and paniced=0
group by pid,eid having idlemin >= idleswap_timeout and staleness < 600
order by pid,eid
......@@ -256,6 +258,7 @@ select e.pid,e.eid,e.autoswap_timeout,
from experiments as e
left join experiment_stats as s on s.exptidx=e.idx
where e.swappable>0 and e.state="active" and e.autoswap>0
and e.geniflags=0
and e.paniced=0
having activemin>=e.autoswap_timeout order by e.pid,e.eid
EOT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment