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

Warning about concurency on dev machines #336

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ calculate a sensible limit. It assumes a maximum of a quarter of the `memory_lim
buffering and the other three quarter for parsing and handling the requests. The limit is
division of half of `memory_limit` by `memory_limit` rounded up.

> Make attention, __especially on development machines__, that setting `post_max_size` in php.ini to
high values can lead to `LimitConcurrentRequestsMiddleware` will be set with very low values.
For example `memory_limit = 256M` and `post_max_size = 64M` means synchronous processing
(one at time) of requests as `(256 / 4) / 64 = 1`.

> Note that any errors emitted by the wrapped `StreamingServer` are forwarded by `Server`.

### StreamingServer
Expand Down