Set a ulimit on monitor_db to prevent it and all of its subprocesses from ever growing unreasonably. None of them should use that much ram.
Signed-off-by: Gregory Smith <[email protected]> --- autotest/utils/autotest.init 2009-12-21 16:08:40.000000000 -0800 +++ autotest/utils/autotest.init 2009-12-21 16:08:40.000000000 -0800 @@ -31,8 +31,9 @@ ## END GOOGLE log_daemon_msg "Starting monitor_db_babysitter" - start-stop-daemon --start --quiet --chuid $BECOME_USER \ - --background --exec $BASE_DIR/scheduler/monitor_db_babysitter + ( ulimit -v 819200 ; \ + start-stop-daemon --start --quiet --chuid $BECOME_USER \ + --background --exec $BASE_DIR/scheduler/monitor_db_babysitter ) } stop_daemon() { _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
