Unverified Commit c77bac8e authored by kladko's avatar kladko

ehnahncement/SKALE-3364-check-server-limits-before-running-sgxwallet

parent f45fb5d4
......@@ -5,6 +5,7 @@
- [Verify that your hardware and software can run SGX](prerequisites.md)
- [Enable SGX](enabling-sgx.md)
- [Start, stop and upgrade sgxwallet](run-in-hardware-mode.md)
- [Increase max process limit](run-in-hardware-mode.md#increase-max-process-limit)
- [Docker Compose configuration](run-in-hardware-mode.md#docker-compose-configuration)
- [Run sgxwallet in secure mode](run-in-hardware-mode.md#run-sgxwallet-in-secure-mode)
- [Start, stop and upgrade sgxwallet containers](run-in-hardware-mode.md#start-stop-and-upgrade-sgxwallet-containers)
......
......@@ -2,11 +2,32 @@
# Run in hardware secure mode
- [Increase max process limit](#increase-max-process-limit)
- [Docker Compose configuration](#docker-compose-configuration)
- [Run sgxwallet in secure mode](#run-sgxwallet-in-secure-mode)
- [Start, stop and upgrade sgxwallet containers](#start-stop-and-upgrade-sgxwallet-containers)
- [Logging](#logging)
## Increase max process limit
sgxwallet requires setting Linux ulimit to at least 65535.
To display you current limit, run
```
ulimit -n
```
If you current ulimit is less than 65535, please set it to 65535 by editing /etc/systemd/system.conf
and setting
```
DefaultLimitNOFILE=65535
```
Then reboot and check ulimit again.
## Docker Compose configuration
Install docker-compose:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment