Skip to content

Commit 53e791d

Browse files
committed
Merge branch 'fix-memsettings-for-wlst-startstop-script' into 'main'
force the stopServer.sh to use less memory See merge request weblogic-cloud/weblogic-kubernetes-operator!4659
2 parents d96a73b + 64f8a8b commit 53e791d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

operator/src/main/resources/scripts/stopServer.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ check_for_shutdown
113113
[ ! -f "${SCRIPTPATH}/wlst.sh" ] && trace SEVERE "Missing file '${SCRIPTPATH}/wlst.sh'." && exit 1
114114

115115
trace "Before stop-server.py [${SERVER_NAME}] ${SCRIPTDIR}" &>> ${STOP_OUT_FILE}
116-
${SCRIPTPATH}/wlst.sh /weblogic-operator/scripts/stop-server.py &>> ${STOP_OUT_FILE}
116+
# Use the default wlst.sh memory settings for stopping the server -Xms32m -X1024m should be enough
117+
USER_MEM_ARGS="" ${SCRIPTPATH}/wlst.sh /weblogic-operator/scripts/stop-server.py &>> ${STOP_OUT_FILE}
117118
trace "After stop-server.py" &>> ${STOP_OUT_FILE}
118119

119120
# at this point node manager should have terminated the server

0 commit comments

Comments
 (0)