aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/uhttpd/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-30 10:12:00 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-30 10:12:00 +0100
commitc6aa9ff38870a30dbe6da17e4edad6039fe10ddf (patch)
tree6fdffab0112a63dde5d2a670301a2adf49173f5d /package/network/services/uhttpd/files
parenta3ccac6b1d693527befa73532a6cf5abda7134c0 (diff)
downloadupstream-c6aa9ff38870a30dbe6da17e4edad6039fe10ddf.tar.gz
upstream-c6aa9ff38870a30dbe6da17e4edad6039fe10ddf.tar.bz2
upstream-c6aa9ff38870a30dbe6da17e4edad6039fe10ddf.zip
uhttpd: disable concurrent requests by default
In order to avoid straining CPU and memory resources on lower end devices, avoid running multiple CGI requests in parallel. Ref: https://forum.openwrt.org/t/high-load-fix-on-openwrt-luci/29006 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/network/services/uhttpd/files')
-rw-r--r--package/network/services/uhttpd/files/uhttpd.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config
index a3deb9cf04..8b7d84c206 100644
--- a/package/network/services/uhttpd/files/uhttpd.config
+++ b/package/network/services/uhttpd/files/uhttpd.config
@@ -24,7 +24,7 @@ config uhttpd main
# If this number is exceeded, further requests are
# queued until the number of running requests drops
# below the limit again.
- option max_requests 3
+ option max_requests 1
# Maximum number of concurrent connections.
# If this number is exceeded, further TCP connection