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

Http workers stay in "invalid" status after ttl is reached #1669

Closed
rustatian opened this issue Aug 4, 2023 Discussed in #1668 · 2 comments · Fixed by roadrunner-server/sdk#84
Closed

Http workers stay in "invalid" status after ttl is reached #1669

rustatian opened this issue Aug 4, 2023 Discussed in #1668 · 2 comments · Fixed by roadrunner-server/sdk#84
Assignees
Labels
B-bug Bug: bug, exception
Milestone

Comments

@rustatian
Copy link
Member

Discussed in https://github.com/orgs/roadrunner-server/discussions/1668

Originally posted by Aleksa1996 August 4, 2023
Hello,

I am having issues with http.pool.supervisor.ttl option after upgrade from v2023.1.2 to v2023.2.1
When workers reach ttl, they stay in status "invalid". I am expecting restart and them to become in status ready again. But they are stuck in that invalid status.

Output from command bin/rr workers -i

image

This is the config that i am using:

version: '3'

server:
    command: "php public/index.php"
    env:
        - APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime
        - APP_ENV: prod

rpc:
    listen: tcp://127.0.0.1:6001

http:
    address: 0.0.0.0:80
    middleware: [ "static", "gzip" ]
    uploads:
        forbid: [ ".php", ".exe", ".bat", ".sh" ]
    static:
        dir: "public"
        forbid: [ ".php", ".htaccess" ]
    pool:
        num_workers: 12
        debug: false
        max_jobs: 100
        supervisor:
            watch_tick: 1s
            ttl: 1800s
            idle_ttl: 0s
            max_worker_memory: 350
            exec_ttl: 180s

status:
    address: localhost:2114

logs:
    mode: production
    output: stderr

metrics:
    address: "0.0.0.0:9180"

Thanks for this wonderful project.

@rustatian rustatian added B-bug Bug: bug, exception F-need-verification labels Aug 4, 2023
@rustatian rustatian self-assigned this Aug 4, 2023
@rustatian rustatian added this to General Aug 4, 2023
@github-project-automation github-project-automation bot moved this to Backlog in General Aug 4, 2023
@rustatian rustatian moved this from Backlog to Todo in General Aug 4, 2023
@rustatian
Copy link
Member Author

@Aleksa1996 I've found the problem, will be fixed and released in v2023.2.2 next Thursday.

@rustatian
Copy link
Member Author

Fixed by: roadrunner-server/sdk#84

@github-project-automation github-project-automation bot moved this from In Progress to Unreleased in General Aug 7, 2023
@rustatian rustatian moved this from Unreleased to Done in General Aug 10, 2023
@rustatian rustatian mentioned this issue Aug 10, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: bug, exception
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant