Open mitchellhenke opened 10 months ago
Your app is receiving an unhandled signal during a system call to open the file used to indicate that the app finished spawning. It is possible that Passenger sent that signal if the app took a long time to boot, but it is also possible that the signal came from elsewhere such as the oom killer or some other watchdog type process. It would be helpful if you could determine which signal number it is receiving, or what process is sending it.
@mitchellhenke I was wondering if you figured out what was causing this issue as we are also running into it currently.
Sorry, no, have started migrating away from Passenger :/
This should be fixed in 6.0.23
Issue report
Fill in as much as possible so that we can understand, find and fix the problem.
Are you sure this is a bug in Passenger? Please read our troubleshooting and debugging guides first: https://www.phusionpassenger.com/library/admin/troubleshooting/ https://www.phusionpassenger.com/library/admin/
Please try with the newest version of Passenger to avoid issues that have already been fixed
Question 1: What is the problem?
Booting a Ruby 3.3 application without errors
Infrequently, passenger will crash when booting the application.
It does not happen every time which makes it a little difficult to track down. We didn't see the error prior to upgrading our application to Ruby 3.3.
This is the stacktrace in
passenger.log
:We see the
Interrupted system call @ rb_sysopen - /tmp/passenger.spawn.XXXX0DHlFB/response/finish (Errno::EINTR)
more frequently, but sometimes the application boots successfully after that. In rare cases, it results inCould not spawn process for application
and the application boot fails.Question 2: Passenger version and integration mode:
open source 6.0.19/nginx
Question 3: OS or Linux distro, platform (including version):
Ubuntu 20.04
Question 4: Passenger installation method:
Your answer: [ ] RubyGems + Gemfile [x] RubyGems, no Gemfile [ ] Phusion APT repo [ ] Phusion YUM repo [ ] OS X Homebrew [ ] source tarball [ ] Other, please specify:
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Ruby 3.3.0, Rails 7.1.2
Question 6: Are you using a PaaS and/or containerization? If so which one?
No.
Question 7: Anything else about your setup that we should know?
Your answer:
We strive for quality and appreciate you taking the time to submit a report! Please note that if you want guaranteed response times and priority issue support we encourage you to join our enterprise customer base. They also provide us with the means to continue our high level of open source support!