comparison docs/setup.rst @ 6762:716e53c085ff stable

config: clarify that we only recommend and support single threaded operation Sad, but true. Especially because we reuse Repository instances between threads.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 06 Sep 2016 00:51:18 +0200
parents cc21a2b86a30
children 99cd328da2a1
comparison
equal deleted inserted replaced
6761:25dae19e0719 6762:716e53c085ff
733 733
734 Here is a sample excerpt from an Apache Virtual Host configuration file: 734 Here is a sample excerpt from an Apache Virtual Host configuration file:
735 735
736 .. code-block:: apache 736 .. code-block:: apache
737 737
738 WSGIDaemonProcess kallithea \ 738 WSGIDaemonProcess kallithea processes=5 threads=1 maximum-requests=100 \
739 threads=4 \
740 python-home=/srv/kallithea/venv 739 python-home=/srv/kallithea/venv
741 WSGIProcessGroup kallithea 740 WSGIProcessGroup kallithea
742 WSGIScriptAlias / /srv/kallithea/dispatch.wsgi 741 WSGIScriptAlias / /srv/kallithea/dispatch.wsgi
743 WSGIPassAuthorization On 742 WSGIPassAuthorization On
744 743
745 Or if using a dispatcher WSGI script with proper virtualenv activation: 744 Or if using a dispatcher WSGI script with proper virtualenv activation:
746 745
747 .. code-block:: apache 746 .. code-block:: apache
748 747
749 WSGIDaemonProcess kallithea threads=4 748 WSGIDaemonProcess kallithea processes=5 threads=1 maximum-requests=100
750 WSGIProcessGroup kallithea 749 WSGIProcessGroup kallithea
751 WSGIScriptAlias / /srv/kallithea/dispatch.wsgi 750 WSGIScriptAlias / /srv/kallithea/dispatch.wsgi
752 WSGIPassAuthorization On 751 WSGIPassAuthorization On
753 752
754 Apache will by default run as a special Apache user, on Linux systems 753 Apache will by default run as a special Apache user, on Linux systems