Skip to content

Commit

Permalink
Improve hiperf doc
Browse files Browse the repository at this point in the history
  • Loading branch information
guimard committed Jun 22, 2024
1 parent 999f7e6 commit 7d22fdd
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions uwsgi-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,24 @@ based on [uWSGI](https://uwsgi-docs.readthedocs.io/en/latest/).

Configuration is the same than [yadd/lemonldap-ng-portal](https://github.com/guimard/llng-docker/blob/master/portal/README.md#readme)
except that variables related to [Plack](https://metacpan.org/pod/Plack) engine
are replaced by:
are replaced by one uWSGI variable:

* `UWSGI_ARGS`: the arguments to give to **uWSGI** daemon. Default:
`--log-date --log-slow 1000 --log-5xx --disable-logging --master --enable-threads --vacuum --single-interpreter --perl-no-die-catch -b 65535 -l 1024 --processes=100 --cheaper=8 --auto-procname --procname-prefix-spaced=llng`

Important uWSGI parameters:
* **-b** input buffer-size _(should be >= 4096 especially when using SAML)_
* **-l** socker listen queue size
* processes number is scalled between **--cheaper** and **--processes**
* **--perl-no-die-catch** avoid stupid error stack when sessions are expired

See [uWSGI manpage](https://manpages.debian.org/bookworm/uwsgi-core/uwsgi-core.1.en.html)
to learn more about uWSGI options.

## Repository and bug reports

* Repository: [github.com/guimard/llng-docker](https://github.com/guimard/llng-docker/tree/master/portal)
* [Dockerfile](https://github.com/guimard/llng-docker/blob/master/portal/Dockerfile)
* Repository: [github.com/guimard/llng-docker](https://github.com/guimard/llng-docker/tree/master/uwsgi-portal)
* [Dockerfile](https://github.com/guimard/llng-docker/blob/master/uwsgi-portal/Dockerfile)
* [Issues database](https://github.com/guimard/llng-docker/issues)

## Copyright and license
Expand Down

0 comments on commit 7d22fdd

Please sign in to comment.