[5536] in Athena Bugs
/etc/rc invokes zephyrd incorrectly
daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Fri Jul 13 12:26:52 1990
Date: Fri, 13 Jul 90 12:26:32 -0400
From: Mark Rosenstein <mar@MIT.EDU>
To: bugs@MIT.EDU
Cc: probe@MIT.EDU
/etc/rc invokes zephyrd with:
if [ "${ZSERVER}" = "true" ] ; then
if [ -f /usr/etc/zephyrd ] ; then
echo -n "zephyrd..." >/dev/console
/usr/etc/zephyrd & >/dev/console
else
echo "" >/dev/console
echo "Zephyr server not found" >/dev/console
fi
fi
It turns out that a zephyr server invoked this way will crash after a
while when it runs out of memory. We should use:
if [ "${ZSERVER}" = "true" ] ; then
if [ -f /usr/etc/zephyrd ] ; then
echo -n "zephyrd..." >/dev/console
/bin/csh -c 'unlimit; /usr/etc/zephyrd &' >/dev/console
else
echo "" >/dev/console
echo "Zephyr server not found" >/dev/console
fi
fi
-Mark