-
Notifications
You must be signed in to change notification settings - Fork 18
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
WEBrick suddenly shuts down with no errors #21
Comments
Had the same issue with passenger, from what I can tell I think passenger would kill the thread cause it saw it as a long-running thread did you end up getting this fixed? I was able to fix it for our app by running that server in a separate process and using |
I don't know much about passenger, but for now I can recommend to either:
@MarwanTukhta, sorry for the long wait! |
Sounds good @Envek I'll try that, thanks a lot 🤝 |
Hey everyone, I found the reason for the metrics server sudden shutdown. It was due to how Passenger works if you use Basically, when you add But here is the catch, by default the In Passenger Nginx, this behavior is controlled by the directive Adding this change fixed the issue for us. |
Hello folks, thanks for creating this awesome gem, I am facing an issue with WEBrick on my app, my app runes on passenger, running
Yabeda::Prometheus::Exporter.start_metrics_server!
works fine and the metrics are scraped by Prometheus just fine, but then with no errors, WEBrick returns thisand yabeda prometheus no longer works, trying to re-run it again gives me
Errno::EADDRINUSE
gems
my
yabeda_prometheus.rb
initializerNote: I got anycable and sidekiq running on different servers and they work fine
The text was updated successfully, but these errors were encountered: