Commit e155d15d authored by Leigh B Stoller's avatar Leigh B Stoller

Add -t (timeout) option when starting the tmcc proxy. We already did

this in the xen version, so someone must have noticed that when the
proxy does not get a UDP reply, it gets stuck forever and the
container nevers gets to make another tmcc call after that,
parent f57e9825
......@@ -49,7 +49,10 @@ else
exit 44
fi
/usr/local/etc/emulab/tmcc -d -x $MYROOT/var/emulab/tmcc.sock \
#
# Note timeout; we do not want the proxy to ever get stuck.
#
/usr/local/etc/emulab/tmcc -d -t 10 -x $MYROOT/var/emulab/tmcc.sock \
-n $vnodeid -o /var/emulab/logs/tmccproxy.$vnodeid.log >& /dev/null &
echo $! > /var/run/tmccproxy.$vnodeid.pid
......
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