• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Phusion Passenger on CentOS 8 causes nginx and apache stop commands to hang until timeout

websavers

Regular Pleskian
This is a weird one. The commands systemctl stop httpd and systemctl stop nginx hang until timeout (90s) on CentOS 8.

I narrowed it down to Phusion Passenger -- once removed (via Plesk Installer), nginx and httpd stop normally. When I reinstall Passenger (which I kinda need for nodejs and ruby support), the issue returns.

When I check nginx and apache logs, Phusion Passenger reports as stopping within seconds of the stop command, but for some reason systemctl doesn't seem to realize it. The logs don't indicate any actual problems with Phusion Passenger.

passenger-6.0.6-2.centos.8+p18.0.31.0+t201020.1804.x86_6
CentOS Linux release 8.2.2004 (Core)
Plesk Obsidian Version 18.0.31
 
For unknown reasons this doesn't appear to be a problem with apache restarts anymore. I reinstalled Phusion and the apache service appears to be able to stop fine. However nginx is still an issue. If I edit /usr/share/passenger/phusion_passenger/locations.ini and comment out nginx_module_source_dir=/usr/share/passenger/ngx_http_passenger_module nginx then restarts fine again without the 1.5 minute delay.

From what I can tell Plesk integrates with Phusion through apache such that requests are proxied with nginx like this:

Incoming request -> nginx -> apache -> phusion

If this is accurate, then the changes I made above should be fine. Does anyone know if any of the Phusion services are launched direct through nginx like the following?

Incoming request -> nginx -> phusion

As I'm assuming that the changes I made will break that, if so.
 
Back
Top