-
My RR version is: version: "2.7"
server:
command: "php -d opcache.enable-cli=1 ./vendor/bin/rr-worker start --relay-dsn tcp://127.0.0.1:10000"
relay: tcp://127.0.0.1:10000
env:
- IS_ROADRUNNER: "1"
http:
address: 127.0.0.1:9000
# override http error code for the internal RR errors (Default: 500)
internal_error_code: 505
# HTTP access logs (Default: false)
access_logs: false
# Maximal incoming request size in megabytes. Zero means no limit. (Default: 0)
max_request_size: 100
middleware: [ ]
pool:
max_jobs: 5000
num_workers: 8 And doing workload test using
There is 16
UPD: Is this somehow related to #1008 ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @codercms 👋🏻 |
Beta Was this translation helpful? Give feedback.
Hey @codercms 👋🏻
max_jobs: 5000
this option means the following: after the 5000 executions reached per worker, RR should restart the worker.You may switch to
pipes
for the server instead of TCP. Because when the worker stopped, there is no way to correctly answer viatcp
relay. Thus you see these errors.