[🐛 BUG]: Workers being killed during request processing when memory usage exceeds max_worker_memory
#1561
Closed
1 task done
max_worker_memory
#1561
No duplicates 🥲.
What happened?
When Roadrunner is configured to stop workers exceeding
max_worker_memory
megabytes, it eventually kills the worker during request processing if the request takes long enough.max_worker_memory
is described in the documentation as a "soft limit", which "will not interrupt current request processing".I expected that, in those situations, the worker would be able to finish its current request, and that it would be restarted only after the request is finished.
Version (rr --version)
rr version 2023.1.3 (build time: 2023-05-11T12:32:12+0000, go1.20.4), OS: linux, arch: amd64
How to reproduce the issue?
Just run
curl http://localhost:9000
with the following configuration files:.rr.yaml:
psr-worker.php:
Relevant log output
The text was updated successfully, but these errors were encountered: