uhttpd default max_requests causes cgi scripts to be blocked and to time out
Username: Perry
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2159
Supply the following if possible:
-
Device problem occurs on
-
Software versions of OpenWrt/LEDE release, packages, etc.
-
Steps to reproduce
With commit c6aa9ff3 the max_requests option of uhttpd has been set to 1. This prevents any concurrent cgi scripts from being called. This was done for performance reasons but has introduced the side effect that cgi scripts called from the localhost are blocked and eventually time out.
This issue was first reported in
https://github.com/freifunk-berlin/firmware/issues/665
The forum post which describes the changes in commit c6aa9ff3 is
https://forum.openwrt.org/t/proposal-and-solution-for-high-load-fix-on-openwrt-luci/29006
Additional info: