comparison Resources/Configuration.json @ 3842:bdbe12aba99f

reducing the default number of threads in the HTTP server from 50 to 10
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Apr 2020 17:03:34 +0200
parents 0540b54324f1
children 6498739a3c3c
comparison
equal deleted inserted replaced
3841:be7df7fe3d80 3842:bdbe12aba99f
389 // show that best performance can be obtained by setting both 389 // show that best performance can be obtained by setting both
390 // "KeepAlive" and "TcpNoDelay" to "true". Beware however of 390 // "KeepAlive" and "TcpNoDelay" to "true". Beware however of
391 // caveats: https://eklitzke.org/the-caveats-of-tcp-nodelay 391 // caveats: https://eklitzke.org/the-caveats-of-tcp-nodelay
392 "TcpNoDelay" : true, 392 "TcpNoDelay" : true,
393 393
394 // Number of threads that are used by the embedded HTTP server. 394 // Number of threads that are used by the embedded HTTP server. In
395 "HttpThreadsCount" : 50, 395 // Orthanc <= 1.6.0, the default value was 50. In Orthanc >= 1.6.1,
396 // default is 10 to prevent memory grow in basic setups.
397 // https://groups.google.com/d/msg/orthanc-users/qWqxpvCPv8g/Z8huoA5FDAAJ
398 "HttpThreadsCount" : 10,
396 399
397 // If this option is set to "false", Orthanc will run in index-only 400 // If this option is set to "false", Orthanc will run in index-only
398 // mode. The DICOM files will not be stored on the drive. Note that 401 // mode. The DICOM files will not be stored on the drive. Note that
399 // this option might prevent the upgrade to newer versions of Orthanc. 402 // this option might prevent the upgrade to newer versions of Orthanc.
400 "StoreDicom" : true, 403 "StoreDicom" : true,