From e59bd56cabd2f6a3f983dfe5aced494b1b0bc688 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 13:33:43 +0000 Subject: [PATCH 1/3] Initial plan From 933779f2aa29d908774687afc194d51356fbd7af Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 13:35:27 +0000 Subject: [PATCH 2/3] Update prose to match http.pool config (remove stale 'three workers' reference) Co-authored-by: roxblnfk <4152481+roxblnfk@users.noreply.github.com> --- src/guide/tutorial/using-yii-with-roadrunner.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/guide/tutorial/using-yii-with-roadrunner.md b/src/guide/tutorial/using-yii-with-roadrunner.md index c3f068af..55da240b 100644 --- a/src/guide/tutorial/using-yii-with-roadrunner.md +++ b/src/guide/tutorial/using-yii-with-roadrunner.md @@ -57,8 +57,9 @@ logs: > [!INFO] > Read more about TLS, HTTP/2, HTTP/3 configuration and other middleware [on the RoadRunner docs](https://docs.roadrunner.dev/docs/http/http). -We're specifying that entry script is `worker.php`, there should be three workers on port 8080, `public` directory -files are static ones except `.php` and `.htaccess`. Also, we're sending an additional header. +We're specifying that the entry script is `worker.php`, the server listens on port 8080, `public` directory +files are served statically except `.php` and `.htaccess`, and workers are limited to 192 MB of memory before +being recycled. Also, we're sending an additional header. Create `/worker.php`: From 4d06eafe36b867b3fc62dc74e1db6523a0dab5d5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 13:41:32 +0000 Subject: [PATCH 3/3] Clarify max_worker_memory as a soft limit with post-request restart Co-authored-by: roxblnfk <4152481+roxblnfk@users.noreply.github.com> --- src/guide/tutorial/using-yii-with-roadrunner.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/tutorial/using-yii-with-roadrunner.md b/src/guide/tutorial/using-yii-with-roadrunner.md index 55da240b..5f86dea6 100644 --- a/src/guide/tutorial/using-yii-with-roadrunner.md +++ b/src/guide/tutorial/using-yii-with-roadrunner.md @@ -58,8 +58,8 @@ logs: > Read more about TLS, HTTP/2, HTTP/3 configuration and other middleware [on the RoadRunner docs](https://docs.roadrunner.dev/docs/http/http). We're specifying that the entry script is `worker.php`, the server listens on port 8080, `public` directory -files are served statically except `.php` and `.htaccess`, and workers are limited to 192 MB of memory before -being recycled. Also, we're sending an additional header. +files are served statically except `.php` and `.htaccess`. The `max_worker_memory` is a soft limit: if a worker +exceeds 192 MB, it will restart after finishing its current request. Also, we're sending an additional header. Create `/worker.php`: