Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit 9960c8c

Browse files
author
OpenShift Bot
authored
Merge pull request #6399 from thrasher-redhat/1196783
Merged by openshift-bot
2 parents f10c29b + 505b792 commit 9960c8c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

node/conf/resource_limits.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
# oo-pam-enable --with-all-containers
88
# oo-admin-ctl-tc restart
99
#
10+
# NOTE: If you change the memory_limit_in_bytes variable, run this command
11+
# to update existing gears. Replace 512 with the new value in megabytes.
12+
# Note the change in units from bytes to megabytes - memory_limit_in_bytes
13+
# expects the value in bytes, where OPENSHIFT_GEAR_MEMORY_MB expects the
14+
# value in megabytes.
15+
# for i in /var/lib/openshift/*/.env/OPENSHIFT_GEAR_MEMORY_MB; do echo 512 > "$i"; done
1016
#
1117
# Default Profile
1218
#
@@ -39,6 +45,13 @@ quota_blocks=1048576
3945
# be the defaults for a gear.
4046
#
4147
# memory (RAM)
48+
#
49+
# NOTE: If you change the memory_limit_in_bytes variable, run this command
50+
# to update existing gears. Replace 512 with the new value in megabytes.
51+
# Note the change in units from bytes to megabytes - memory_limit_in_bytes
52+
# expects the value in bytes, where OPENSHIFT_GEAR_MEMORY_MB expects the
53+
# value in megabytes.
54+
# for i in /var/lib/openshift/*/.env/OPENSHIFT_GEAR_MEMORY_MB; do echo 512 > "$i"; done
4255
memory_limit_in_bytes=536870912 # 512MB
4356
memory_memsw_limit_in_bytes=641728512 # 512M + 100M (100M swap)
4457
# memory_soft_limit_in_bytes=-1

0 commit comments

Comments
 (0)