Changeset - 92ec93df78f0
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 12 years ago 2013-06-03 03:10:48
marcin@python-works.com
added info about settings instance_id=* with gunicorn setup and >1 workers
3 files changed with 6 insertions and 3 deletions:
0 comments (0 inline, 0 general)
development.ini
Show inline comments
 
@@ -41,25 +41,26 @@ pdebug = false
 
## WAITRESS ##
 
use = egg:waitress#main
 
## number of worker threads
 
threads = 5
 
## MAX BODY SIZE 100GB
 
max_request_body_size = 107374182400
 
## use poll instead of select, fixes fd limits, may not work on old
 
## windows systems.
 
asyncore_use_poll = True
 

	
 
## GUNICORN ##
 
#use = egg:gunicorn#main
 
## number of process workers. Don't change that to more than 1
 
## number of process workers. You must set `instance_id = *` when this option
 
## is set to more than one worker
 
#workers = 1
 
## process name
 
#proc_name = rhodecode
 
## type of worker class, one of sync, eventlet, gevent, tornado
 
## recommended for bigger setup is using of of other than sync one
 
#worker-class = sync
 
#max-requests = 5
 

	
 
## COMMON ##
 
host = 0.0.0.0
 
port = 5000
 

	
production.ini
Show inline comments
 
@@ -41,25 +41,26 @@ pdebug = false
 
## WAITRESS ##
 
use = egg:waitress#main
 
## number of worker threads
 
threads = 5
 
## MAX BODY SIZE 100GB
 
max_request_body_size = 107374182400
 
## use poll instead of select, fixes fd limits, may not work on old
 
## windows systems.
 
asyncore_use_poll = True
 

	
 
## GUNICORN ##
 
#use = egg:gunicorn#main
 
## number of process workers. Don't change that to more than 1
 
## number of process workers. You must set `instance_id = *` when this option
 
## is set to more than one worker
 
#workers = 1
 
## process name
 
#proc_name = rhodecode
 
## type of worker class, one of sync, eventlet, gevent, tornado
 
## recommended for bigger setup is using of of other than sync one
 
#worker-class = sync
 
#max-requests = 5
 

	
 
## COMMON ##
 
host = 127.0.0.1
 
port = 5000
 

	
rhodecode/config/deployment.ini_tmpl
Show inline comments
 
@@ -41,25 +41,26 @@ pdebug = false
 
## WAITRESS ##
 
use = egg:waitress#main
 
## number of worker threads
 
threads = 5
 
## MAX BODY SIZE 100GB
 
max_request_body_size = 107374182400
 
## use poll instead of select, fixes fd limits, may not work on old
 
## windows systems.
 
asyncore_use_poll = True
 

	
 
## GUNICORN ##
 
#use = egg:gunicorn#main
 
## number of process workers. Don't change that to more than 1
 
## number of process workers. You must set `instance_id = *` when this option
 
## is set to more than one worker
 
#workers = 1
 
## process name
 
#proc_name = rhodecode
 
## type of worker class, one of sync, eventlet, gevent, tornado
 
## recommended for bigger setup is using of of other than sync one
 
#worker-class = sync
 
#max-requests = 5
 

	
 
## COMMON ##
 
host = 127.0.0.1
 
port = 5000
 

	
0 comments (0 inline, 0 general)