Changes between Version 11 and Version 12 of InstallationGuidelines/Cherokee
- Timestamp:
- 06/01/11 18:43:47 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Cherokee
v11 v12 39 39 40 40 ==== Configure Cherokee for uWSGI ==== 41 Set Workers to #CPU cores +1 41 42 {{{ 42 43 cat << EOF > "/home/web2py/uwsgi.xml" … … 46 47 <script>wsgihandler</script> 47 48 </app> 49 <workers>3</workers> 48 50 </uwsgi> 49 51 EOF … … 51 53 vi /etc/cherokee/cherokee.conf 52 54 # Add 55 server!timeout = 300 53 56 vserver!20!collector!enabled = 1 54 57 vserver!20!directory_index = index.html … … 119 122 source!1!interpreter = /usr/local/bin/uwsgi -s 127.0.0.1:59025 -x /home/web2py/uwsgi.xml 120 123 source!1!nick = uWSGI 1 124 source!1!timeout = 300 121 125 source!1!type = interpreter 122 126 source!1!user = web2py 123 127 }}} 128 129 Emperor mode can be used to put the site into maintenance: 130 * http://projects.unbit.it/uwsgi/wiki/Emperor 131 Create a simple uwsgi app & swap in a config file for this - uwsgi will reload automatically. 124 132 === FastCGI === 125 133 http://web2py.com/AlterEgo/default/show/17