-
Notifications
You must be signed in to change notification settings - Fork 548
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
Process hangs with file uploads larger than 127KB #2569
Comments
I add to this, the same thing is happening with all cPanel servers running Phusion Passenger along with CloudLinux. After much research we realized that the culprit is the new version==6.0.23 which is causing these problems. |
In a server with OS ""CloudLinux 8.1" and running cPanel we fix the issue adding the following values to the /etc/apache2/conf.d/passenger.conf file between the ifModule directives:
After that, restart Apache and re-check:
If the issue persists, update and remount CageFS for the user in question:
|
Cagefs needs to be configured to allow passenger to buffer to disk, that's probably your issue. |
I don't have Cagefs but I have |
In our particular case, everything seems to indicate a conflict triggered by recent CloudLinux updates, something that has affected the functioning of Passenger. |
Issue report
Please try with the newest version of Passenger to avoid issues that have already been fixed
Question 1: What is the problem?
HTTP POST request gets processed
HTTP POST request never reaches the application/redmine
Install
Install/Configure redmine: https://www.redmine.org/projects/redmine/wiki/RedmineInstall
Upload a file with 127KB or less to an issue : everything is fine
Upload a file with 128KB or more to an issue : the HTTP POST request never reaches redmine and is stuck
Question 2: Passenger version and integration mode:
Your answer:
open source 6.0.23 apache
Question 3: OS or Linux distro, platform (including version):
Your answer:
FreeBSD 14.1-RELEASE-p5 amd64
Question 4: Passenger installation method:
Your answer:
[ ] RubyGems + Gemfile
[ ] RubyGems, no Gemfile
[ ] Phusion APT repo
[ ] Phusion YUM repo
[ ] OS X Homebrew
[ ] source tarball
[X] Other, please specify:
Through the FreeBSD pkg system (https://www.freshports.org/www/rubygem-passenger)
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Your answer:
Ruby 3.2.5,1, Rails 6.1.7.8
Question 6: Are you using a PaaS and/or containerization? If so which one?
Your answer:
No
Question 7: Anything else about your setup that we should know?
Your answer:
When i run redmine via
bundle exec rails server -e production
everything works fine.I uploaded two files and then ran
passenger-status --show=requests
.I trimmed the json a bit, since they all contained the same value as
thread1
except fortotal_bytes_consumed
passenger-status --show=requests
apache log with PassengerLogLevel = 5/debug
Nothing more
The text was updated successfully, but these errors were encountered: