Closed DenisJunio closed 4 months ago
Hello @DenisJunio 👋
Are you using .rr.yaml
or .rr.json
for that service in the Docker?
BTW: There is no reload
plugin.
I tried to use your configuration (in json) as I see only 1 worker:
Thank you for the quick response and assistance.
I will conduct more tests on my side as it appears the issue might be related to my configuration, particularly with Laravel Octane. Based on this, I will close the issue for now.
Thanks for your help!
Sure, feel free to join our Discord server if you'd have additional questions 😃
No duplicates 🥲.
What happened?
I encountered an issue where the
num_workers
setting in the.rr.yaml
configuration file is not being respected for the HTTP service. Despite settingnum_workers
to1
, RoadRunner is still spawning workers based on the number of CPU cores.Expected Behavior: RoadRunner should respect the
num_workers
setting and spawn only 1 worker as configured.Current Behavior: RoadRunner spawns multiple workers based on the number of CPU cores, ignoring the
num_workers
configuration for the HTTP service. Interestingly, thenum_workers
setting works correctly for thejobs
service.Version (rr --version)
2024.1.5
How to reproduce the issue?
Configure as follows: .rr.json (converted from
.rr.yaml
)Run the command
rr workers
to check the number of workers:Run the command
rr reset
andrr workers
to check the number of workers again:Additional Information:
jobs
service but not for thehttp
service.Relevant log output
No response