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

Error if http.pool.supervisor.ttl was set #443

Closed
masterjus opened this issue Dec 17, 2021 · 0 comments · Fixed by #445
Closed

Error if http.pool.supervisor.ttl was set #443

masterjus opened this issue Dec 17, 2021 · 0 comments · Fixed by #445
Assignees
Labels

Comments

@masterjus
Copy link
Contributor

masterjus commented Dec 17, 2021

  • Octane Version: 1.1.0
  • Laravel Version: 8.x
  • PHP Version: 8.0
  • Server & Version: RoadRunner 2.6.4
  • Database Driver & Version:

Description:

We have a very high load app, so time to time is necessary to reload app because of OOM. It's hard to detect a correct number of requests to reload (the max-requests option). We decided to add option http.pool.supervisor.ttl on our .rr.yaml to reload workers every N seconds. After that we've got an error message.

Fatal error: Uncaught Error: Call to a member function terminate() on null in /vendor/laravel/octane/bin/roadrunner-worker:61
Stack trace:
#0 {main}
  thrown in /vendor/laravel/octane/bin/roadrunner-worker on line 61

Steps To Reproduce:

  • stop octane if it's started
  • add to .rr.yaml the following:
http:
    pool:
        supervisor:
            ttl: 60s
  • start octane
  • wait 60s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants