Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.7 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.7 KB

yadd/lemonldap-ng-portal:latest-hiperf

High performance version of yadd/lemonldap-ng-portal based on uWSGI.

Configuration is the same than yadd/lemonldap-ng-portal except that variables related to Plack engine 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 to learn more about uWSGI options.

Repository and bug reports

Copyright and license

Copyright:

License: GNU General Public License v2.0