Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue Mar 2, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

pmelange:

Supply the following if possible:

  • Device problem occurs on
  • Software versions of OpenWrt/LEDE release, packages, etc.
  • Steps to reproduce

With commit c6aa9ff 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 freifunk-berlin/firmware#665

The forum post which describes the changes in commit c6aa9ff 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 c6aa9ff
  • Introduced into the 18.06 branch with commit e5a0b6c
  • To reproduce, call a cgi script via wget (or luci.sys.httpget) on localhost from a luci page.
@openwrt-bot
Copy link
Author

pmelange:

Commit c6aa9ff has been reverted with commit e5a0b6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant