Changes between Version 11 and Version 12 of InstallationGuidelines/Cherokee


Ignore:
Timestamp:
06/01/11 18:43:47 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Cherokee

    v11 v12  
    3939
    4040==== Configure Cherokee for uWSGI ====
     41Set Workers to #CPU cores +1
    4142{{{
    4243cat << EOF > "/home/web2py/uwsgi.xml"
     
    4647        <script>wsgihandler</script>
    4748    </app>
     49    <workers>3</workers>
    4850</uwsgi>
    4951EOF
     
    5153vi /etc/cherokee/cherokee.conf
    5254# Add
     55server!timeout = 300
    5356vserver!20!collector!enabled = 1
    5457vserver!20!directory_index = index.html
     
    119122source!1!interpreter = /usr/local/bin/uwsgi -s 127.0.0.1:59025 -x /home/web2py/uwsgi.xml
    120123source!1!nick = uWSGI 1
     124source!1!timeout = 300
    121125source!1!type = interpreter
    122126source!1!user = web2py
    123127}}}
     128
     129Emperor mode can be used to put the site into maintenance:
     130 * http://projects.unbit.it/uwsgi/wiki/Emperor
     131Create a simple uwsgi app & swap in a config file for this - uwsgi will reload automatically.
    124132=== FastCGI ===
    125133http://web2py.com/AlterEgo/default/show/17