Skip to content

Commit

Permalink
[CI-Examples] Increase enclave size to 512MB for Nginx
Browse files Browse the repository at this point in the history
On some systems (namely CentOS/RHEL), the previous enclave size of 256MB
was barely enough for Nginx worker processes. Intermittently, these
worker processes failed with `Out-of-memory in library OS` error.
Increasing the size to 512MB fixes this error.

Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
  • Loading branch information
dimakuv committed Oct 5, 2021
1 parent 907c5d2 commit a8abd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI-Examples/nginx/nginx.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fs.mount.cwd.uri = "file:{{ install_dir }}"

sgx.debug = true
sgx.nonpie_binary = true
sgx.enclave_size = "256M"
sgx.enclave_size = "512M"
sgx.thread_num = 4

# Nginx benefits from Exitless. Uncomment the below line to use it.
Expand Down

0 comments on commit a8abd10

Please sign in to comment.