summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-04-27 17:56:09 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-04-27 18:00:00 +0100
commit38aee6283523fe8deed6c6690d48a742dd4047c6 (patch)
tree0292fb88e02ad2d7c35c48bcdeb37360e84121f0
parent563d46cb9b78a1617708f6bd4e47c1960b3038e8 (diff)
downloadlorry-controller-38aee6283523fe8deed6c6690d48a742dd4047c6.tar.gz
Set max-procs to 1 in webapp lighttpd conf
We made this change more than a year ago in git.baserock.org, to test if that would make it consume less resources, without breaking anything. That change seemed to solve the problems we were having, and we never had any related issue. Change-Id: Iabb34bbe8df4c329361c2b446851b10e3c43e4de
-rw-r--r--etc/lighttpd/lorry-controller-webapp-httpd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/lighttpd/lorry-controller-webapp-httpd.conf b/etc/lighttpd/lorry-controller-webapp-httpd.conf
index 319c8ec..206371e 100644
--- a/etc/lighttpd/lorry-controller-webapp-httpd.conf
+++ b/etc/lighttpd/lorry-controller-webapp-httpd.conf
@@ -27,7 +27,7 @@ $SERVER["socket"] == "127.0.0.1:12765" {
"socket" => "/run/lighttpd-lorry/lorry-controller-webapp.socket",
"bin-path" => "/usr/bin/lorry-controller-webapp --config=/etc/lorry-controller/webapp.conf",
"check-local" => "disable",
- "max-procs" => 16,
+ "max-procs" => 1,
)
)
)