You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0fa8b65
Browse filesBrowse the repository at this point in the historyBrowse files
Kelven Yang
committed
bug 10656: check OutOfMemoryError in critical path, fix run.sh to let it be able to monitor process termination
Copy file name to clipboardExpand all lines: server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1457,7 +1457,10 @@ public void startAgentHttpHandlerInVM(StartupProxyCommand startupCmd) {
1457
1457
s_logger.error("Unable to send http handling startup command to the console proxy resource for proxy:" + startupCmd.getProxyVmId(), e);
1458
1458
} catch (OperationTimedoutExceptione) {
1459
1459
s_logger.error("Unable to send http handling startup command(time out) to the console proxy resource for proxy:" + startupCmd.getProxyVmId(), e);
1460
-
} catch (Exceptione) {
1460
+
} catch(OutOfMemoryErrore) {
1461
+
s_logger.error("Unrecoverable OutOfMemory Error, exit and let it be re-launched");
1462
+
System.exit(1);
1463
+
} catch (Exceptione) {
1461
1464
s_logger.error("Unexpected exception when sending http handling startup command(time out) to the console proxy resource for proxy:" + startupCmd.getProxyVmId(), e);
0 commit comments