cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/777?usp=email )
Change subject: t_server_null: run server processes with 'ulimit -t 300' ...................................................................... t_server_null: run server processes with 'ulimit -t 300' "ulimit -t" will hard limit the usable CPU time for any process started to the specified number of seconds. So if we have a stuck-and-looping server process (which was observed frequently) this will make sure the situation will fix itself eventually. Change-Id: I7e5ac9b4a8594251c3b5c4655f9d74b021950098 Signed-off-by: Gert Doering <[email protected]> Acked-by: Arne Schwabe <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/777 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg38088.html Signed-off-by: Gert Doering <[email protected]> --- M tests/t_server_null_server.sh 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/tests/t_server_null_server.sh b/tests/t_server_null_server.sh index 65b7d56..e1775f0 100755 --- a/tests/t_server_null_server.sh +++ b/tests/t_server_null_server.sh @@ -11,6 +11,10 @@ # Allow reading this file even umask values are strict touch "$log" + # limit CPU time of processes to "5 minutes" + # (so a stuck-and-looping process will auto-terminate) + ulimit -t 300 + # Try to launch the server $RUN_SUDO "${server_exec}" \ $server_conf \ -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/777?usp=email To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I7e5ac9b4a8594251c3b5c4655f9d74b021950098 Gerrit-Change-Number: 777 Gerrit-PatchSet: 3 Gerrit-Owner: cron2 <[email protected]> Gerrit-Reviewer: flichtenheld <[email protected]> Gerrit-Reviewer: plaisthos <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
