Show More
@@ -51,8 +51,8 b' access_log_format = (' | |||
|
51 | 51 | |
|
52 | 52 | # Sets the number of process workers. More workers means more concurrent connections |
|
53 | 53 | # RhodeCode can handle at the same time. Each additional worker also it increases |
|
54 |
# memory usage as each has it |
|
|
55 | # Recommended value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers, but no more | |
|
54 | # memory usage as each has its own set of caches. | |
|
55 | # The Recommended value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers, but no more | |
|
56 | 56 | # than 8-10 unless for huge deployments .e.g 700-1000 users. |
|
57 | 57 | # `instance_id = *` must be set in the [app:main] section below (which is the default) |
|
58 | 58 | # when using more than 1 worker. |
@@ -67,11 +67,19 b" loglevel = 'info'" | |||
|
67 | 67 | # Process name visible in a process list |
|
68 | 68 | proc_name = 'rhodecode_enterprise' |
|
69 | 69 | |
|
70 | # Type of worker class, one of `sync`, `gevent` | |
|
71 |
# currently `sync` is the only option allowed |
|
|
70 | # Type of worker class, one of `sync`, `gevent` or `gthread` | |
|
71 | # currently `sync` is the only option allowed for vcsserver and for rhodecode all of 3 are allowed | |
|
72 | # gevent: | |
|
73 | # In this case, the maximum number of concurrent requests is (N workers * X worker_connections) | |
|
74 | # e.g. workers =3 worker_connections=10 = 3*10, 30 concurrent requests can be handled | |
|
75 | # gtrhead: | |
|
76 | # In this case, the maximum number of concurrent requests is (N workers * X threads) | |
|
77 | # e.g. workers = 3 threads=3 = 3*3, 9 concurrent requests can be handled | |
|
72 | 78 | worker_class = 'gevent' |
|
73 | 79 | |
|
74 | 80 | # The maximum number of simultaneous clients. Valid only for gevent |
|
81 | # In this case, the maximum number of concurrent requests is (N workers * X worker_connections) | |
|
82 | # e.g workers =3 worker_connections=10 = 3*10, 30 concurrent requests can be handled | |
|
75 | 83 | worker_connections = 10 |
|
76 | 84 | |
|
77 | 85 | # Max number of requests that worker will handle before being gracefully restarted. |
General Comments 0
You need to be logged in to leave comments.
Login now