OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Perry - 02.03.2019

FS#2159 - uhttpd default max_requests causes cgi scripts to be blocked and to time out

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

With commit c6aa9ff38870a30dbe6da17e4edad6039fe10ddf 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 c6aa9ff38870a30dbe6da17e4edad6039fe10ddf is
https://forum.openwrt.org/t/proposal-and-solution-for-high-load-fix-on-openwrt-luci/29006

Additional info:
* This is device agnostic
* Introduced into the master branch with commit c6aa9ff38870a30dbe6da17e4edad6039fe10ddf
* Introduced into the 18.06 branch with commit e5a0b6cde051bd24280e9c3a360e65617bce2416
* To reproduce, call a cgi script via wget (or luci.sys.httpget) on localhost from a luci page.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing