Git Product home page Git Product logo

Comments (13)

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024 1

image

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.

rosa avatar rosa commented on September 15, 2024 1

Thanks! And are you testing this in development environment? Or production?

from solid_queue.

rosa avatar rosa commented on September 15, 2024 1

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.

rosa avatar rosa commented on September 15, 2024 1

Hmm yes... that one is new to me... Maybe this helps?

from solid_queue.

rosa avatar rosa commented on September 15, 2024 1

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.

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024

Screenshot from 2024-08-24 18-23-54

from solid_queue.

rosa avatar rosa commented on September 15, 2024

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.

rosa avatar rosa commented on September 15, 2024

And could you share your solid queue configuration as well?

from solid_queue.

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024

sure thing
image

from solid_queue.

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024

i'm testing this in dev, but somehow it takes the config for production

from solid_queue.

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024

image
image
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.

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024

yeah, it's working now
image
but something is wrong with my server
image

from solid_queue.

BrijeshSajeev avatar BrijeshSajeev commented on September 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.