NebulousLabs / docker-sia

The official docker image for the Sia daemon
https://sia.tech
MIT License
20 stars 1 forks source link

Explicitly set the maximum allowed number of open file descriptors #30

Closed ro-tex closed 4 years ago

kwypchlo commented 4 years ago
user@siasky:~/skynet-webportal$ docker exec -it sia /bin/ash
/sia # ulimit -aH
core file size (blocks)         (-c) unlimited
data seg size (kb)              (-d) unlimited
scheduling priority             (-e) 0
file size (blocks)              (-f) unlimited
pending signals                 (-i) 127987
max locked memory (kb)          (-l) 64
max memory size (kb)            (-m) unlimited
open files                      (-n) 1048576
POSIX message queues (bytes)    (-q) 819200
real-time priority              (-r) 0
stack size (kb)                 (-s) unlimited
cpu time (seconds)              (-t) unlimited
max user processes              (-u) unlimited
virtual memory (kb)             (-v) unlimited
file locks                      (-x) unlimited

I think the default we have now should be fine, right?

ro-tex commented 4 years ago

Yes, no need to change that for the moment.