Comments (13)
Set Up :
- OS: Ubuntu 22.04.4 LTS x86_64
- Ruby Version: 3.1.6
- Rails Version: 7.1.0
- SolidQueue Version: 0.5.0
from solid_queue.
Thanks! And are you testing this in development
environment? Or production?
from solid_queue.
Ok, so when you added the configuration in development
above, you stopped getting the Errno::ECHILD
error, right? This is something I need to handle better, when you don't have any workers or dispatchers configured at all 🤔 I'll fix that to finish gracefully, and to use the default configuration if the file is present but doesn't have any configuration for the given environment.
Now, to the second issue:
When I run bundle exec rake solid_queue:start, it appears to be doing nothing—no logs, no errors, no noticeable activity. The process seems to hang without any feedback.
By default it'll use Rails.logger
to log, so you might have to check log/development.log
to see if it's logging anything. Otherwise, you could add this to your development.rb
environment:
config.solid_queue.logger = ActiveSupport::Logger.new(STDOUT)
And see if that shows the workers and dispatcher starting and running.
from solid_queue.
Hmm yes... that one is new to me... Maybe this helps?
from solid_queue.
Nice! 👏 So glad to hear it's working! I'll ship an improvement for the configuration problem and the Errno::ECHILD
error when the configuration is empty.
from solid_queue.
from solid_queue.
Huh, this is very strange. Could you share a bit more about your setup? Or the full log since it starts until it triggers that error? At that point it should have forked some process so there should be at least a child process... I wonder if there's no configuration at all and no forks are being created... I might not be handling this case well 🤔
from solid_queue.
And could you share your solid queue configuration as well?
from solid_queue.
from solid_queue.
i'm testing this in dev, but somehow it takes the config for production
from solid_queue.
I noticed that when using the following configuration in the development environment:
When I run bundle exec rake solid_queue:start, it appears to be doing nothing—no logs, no errors, no noticeable activity. The process seems to hang without any feedback. This might indicate that no child processes are being forked or that the configuration isn’t being handled as expected.
Let me know if you need any additional details or if there's anything specific I should check!
from solid_queue.
yeah, it's working now
but something is wrong with my server
from solid_queue.
It's working fine.
Thank you so much for your quick response and for helping me out with this issue. I really appreciate your time and great talk.
from solid_queue.
Related Issues (20)
- Support for instrumenting polling? HOT 3
- unable to retry on SolidQueue::ProcessExitError HOT 2
- SolidQueue::ProcessExitError: HOT 3
- Existing migration not updated by bin/rails generate solid_queue:install HOT 5
- New queue_schema.rb file hardcodes Rails version HOT 6
- SQLite queue database corruption HOT 70
- `ActiveRecord::MismatchedForeignKey` in new migration file HOT 3
- Upgrading from 0.7 to 0.8 HOT 1
- Same database for queue HOT 3
- Running `rails db:migrate` clears out `queue_schema.rb`. HOT 32
- Need advice on Solid Queue's memory usage HOT 2
- No connection pool for 'SolidQueue::Record' found HOT 4
- Best way to play around with Solid Queue in development? HOT 1
- SolidQueue::Processes::ProcessExitError HOT 9
- Rethinking concurrency_limits#duration HOT 3
- The `queue` database is not configured for the `production` environment. HOT 2
- Memory Constrained environments HOT 10
- Single database schema maintenance story HOT 2
- Question: How to set process_alive_threshold or a global job timeout on a worker queue type? HOT 2
- Upgrade instructions unclear / Single database discouraged? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solid_queue.