OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • 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
Last edited by Petr Štetiar - 16.05.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.

Closed by  Petr ┼átetiar
16.05.2019 08:01
Reason for closing:  Deferred
Additional comments about closing:  

Requested close.

Perry commented on 24.04.2019 08:14

Commit c6aa9ff38870a30dbe6da17e4edad6039fe10ddf has been reverted with commit e5a0b6cde051bd24280e9c3a360e65617bce2416

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing