Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paranna smartmet-serverin Dockerfileä #66

Open
oksman opened this issue Feb 14, 2024 · 0 comments
Open

Paranna smartmet-serverin Dockerfileä #66

oksman opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request smartmet-server smartmet server charttiin liittyvät issuet

Comments

@oksman
Copy link
Contributor

oksman commented Feb 14, 2024

Repossa https://github.com/fmidev/docker-smartmetserver on tässä helm chartissa käytettävä Dockerfile.

Joitain huomioita, joilla voi olla vaikutusta helm chartin käyttöön:

Lisäksi serverille voi antaa seuraavia käynnistysoptioita, joiden konffausmahdollisuus voi olla hyödyksi. Nykyisessä entrypointissa ajetaan serveri pystyyn defaulteilla (https://github.com/fmidev/docker-smartmetserver/blob/master/docker-entrypoint.sh)

/sbin/smartmetd --help
Usage: /sbin/smartmetd [options]

Allowed options:
  -h [ --help ]                         print out help message
  -V [ --version ]                      display version number
  -N [ --adminthreads ] arg             set the number of threads for admin
                                        queries (default=100%)
  -Q [ --maxadminrequeuesize ] arg (=100)
                                        set the maximum requeue size for admin
                                        queries
  -N [ --slowthreads ] arg              set the number of threads for slow
                                        queries (default=100%)
  -Q [ --maxslowrequeuesize ] arg (=100)
                                        set the maximum requeue size for slow
                                        queries
  -n [ --fastthreads ] arg              set the number of threads for fast
                                        queries (default=100%)
  -q [ --maxfastrequeuesize ] arg (=100)
                                        set the maximum requeue size for fast
                                        queries
  --minactiverequests arg (=50)         set the initial number of allowed
                                        simultaneous active requests
  --maxactiverequests arg (=100)        set the maximum number of simultaneous
                                        active requests
  --maxactiverestartrequests arg (=50)  reset the maximum number of allowed
                                        simultaneous active requests when max
                                        has been reached
  --requestlimitrate arg (=10)          set the increase rate for maximum
                                        number of simultaneous active requests
  --alertlimit arg (=100)               active requests limit for running the
                                        alert script
  --alertscript arg                     command to run the active requests
                                        limit is broken
  --maxrequestsize arg (=131072)        set the maximum allowed size for
                                        requests
  -d [ --debug ]                        set debug mode on
  -v [ --verbose ]                      set verbose mode on
  --quiet                               set quiet mode on
  --stacktrace                          enable stack trace on crashes
  --coredump_filter arg                 coredump mask
  --logrequests                         print all incoming requests
  -c [ --configfile ] arg (=/etc/smartmet/smartmet.conf)
                                        set the configuration file
  -L [ --libdir ] arg (=/usr/share/smartmet)
                                        set the library directory
  -l [ --locale ] arg (=fi_FI.UTF-8)    default locale
  -p [ --port ] arg (=8080)             set the HTTP port
  -t [ --timeout ] arg (=60)            set the server timeout in seconds
  -u [ --user ] arg                     set the username the server is running
                                        as
  -z [ --compress ]                     enable compression
  -Z [ --compresslimit ] arg (=1000)    compression size limit in bytes
  -e [ --defaultlogging ]               make request logs by default
  -a [ --accesslogdir ] arg (=/var/log/smartmet)
                                        access log directory
  --new-handler arg (=default)          new_handler for OOM situations
                                        (default/bad_alloc/terminate)
@oksman oksman added enhancement New feature or request smartmet-server smartmet server charttiin liittyvät issuet labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request smartmet-server smartmet server charttiin liittyvät issuet
Projects
None yet
Development

No branches or pull requests

1 participant