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

No workers after I migrated from 1.0.0 #504

Open
diegocharles opened this issue Jan 29, 2025 · 3 comments
Open

No workers after I migrated from 1.0.0 #504

diegocharles opened this issue Jan 29, 2025 · 3 comments

Comments

@diegocharles
Copy link

Hey everyone!

I’m facing an issue that hasn’t been resolved since upgrading from version 1.0.0. The jobs are getting stuck, and when I manage them through MissionControl, I don’t see any workers.

Here’s my stack:

  • Rails 8
  • Kamal 2
  • Hertzer:
    • Web server
    • Job server
    • Database server

The solid_queue tables are managed by PostgreSQL, and this is how my queue.yml looks:

  dispatchers:
    - polling_interval: 1
      batch_size: 500
      concurrency_maintenance_interval: 300

  workers:
    - queues: “*”
      threads: 3
      polling_interval: 2
    - queues: [ real_time, background ]
      threads: 5
      polling_interval: 0.1
      processes: 3

Thanks in advance

@rosa
Copy link
Member

rosa commented Feb 3, 2025

Hey @diegocharles, how are you starting Solid Queue?

@diegocharles
Copy link
Author

Hey Rosa!

I believe Kamal 2 starts it, because I don’t have any explicit calls for production like I do for development in the Procfile.dev.

jobs: bin/rails solid_queue:start

Thanks for your help.

@rosa
Copy link
Member

rosa commented Feb 3, 2025

@diegocharles that sounds like you're using the Puma plugin to run Solid Queue supervised by Puma, wherever you're running your web app. Do you have logs for when your production server starts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants