serve icon indicating copy to clipboard operation
serve copied to clipboard

Document the docker settings for running in production mode

Open chauhang opened this issue 6 years ago • 2 comments

Document the steps for running docker in production mode, with parameters like --shm-size=1g --ulimit memlock=-1 --ulimit stack=32505856 that will be needed for proper functioning with production workloads

chauhang avatar Apr 21 '20 01:04 chauhang

Please add me to the review when the steps are fully fleshed out. "with parameters like" isn't ready for a doc update.

aaronmarkham avatar May 01 '20 16:05 aaronmarkham

@chauhang Tried to understand how and which other similar system parameters for 'run command' could be useful. However, need more details to understand the following aspect -

  • Are we looking to specify certain optimum values for these parameters for torchserve?
  • I think the values of these will vary based on the use case of torchserve.
  • There are other parameters like memory, swapiness, security config.. Do we have to consider some of these as well?

Went over a few available resources such as NVIDIA docker user guide and docker run command..

codinnvrends avatar May 05 '20 18:05 codinnvrends