Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Increase memory limit (RSS) to 512MiB |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2910145ea1e7e2a3532c13f589a6a17a |
User & Date: | rkeene 2020-08-24 20:51:11.039 |
Context
2020-08-24
| ||
21:02 | Rebuild only users that have repositories check-in: 23227022b4 user: rkeene tags: trunk | |
20:51 | Increase memory limit (RSS) to 512MiB check-in: 2910145ea1 user: rkeene tags: trunk | |
20:50 | Add script to build Fossil check-in: 639655fa5a user: rkeene tags: trunk | |
Changes
Changes to scripts/fossil-as-user/secure-wrap.c.
︙ | ︙ | |||
136 137 138 139 140 141 142 | limit.rlim_cur = 90; limit.rlim_max = 90; check(setrlimit(RLIMIT_CPU, &limit)); /** ** Allow a reasonable amount of RAM **/ | | | > > > | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | limit.rlim_cur = 90; limit.rlim_max = 90; check(setrlimit(RLIMIT_CPU, &limit)); /** ** Allow a reasonable amount of RAM **/ limit.rlim_cur = 1024 * 1024 * 512LU; limit.rlim_max = 1024 * 1024 * 512LU; check(setrlimit(RLIMIT_DATA, &limit)); check(setrlimit(RLIMIT_RSS, &limit)); limit.rlim_cur = 1024 * 1024 * 16LU; limit.rlim_max = 1024 * 1024 * 16LU; check(setrlimit(RLIMIT_STACK, &limit)); limit.rlim_cur = 1024 * 1024 * 1024LU; limit.rlim_max = 1024 * 1024 * 1024LU; check(setrlimit(RLIMIT_AS, &limit)); /* |
︙ | ︙ |