我有一个在 Passenger+Apache 上运行的应用程序。(它运行良好。)
但是,当我跑步时passenger-status
,它给出ERROR: Phusion Passenger doesn't seem to be running.
我已检查 Apache 配置以确认我正在运行正确的passenger-status
可执行文件:
PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p547@mygemset/gems/passenger-4.0.53
这个安装或配置可能有什么问题?
奇怪的是,passenger-memory-stats
在我看来输出的是准确的过程信息:
Version: 4.0.53
Date : 2020-07-28 16:32:36 -0700
---------- Apache processes ----------
PID PPID VMSize Private Name
--------------------------------------
10093 1 254.8 MB 0.3 MB /usr/sbin/httpd -DFOREGROUND
10132 10093 254.9 MB 0.4 MB /usr/sbin/httpd -DFOREGROUND
10134 10093 254.9 MB 0.3 MB /usr/sbin/httpd -DFOREGROUND
10135 10093 254.9 MB 0.4 MB /usr/sbin/httpd -DFOREGROUND
10136 10093 254.8 MB 0.2 MB /usr/sbin/httpd -DFOREGROUND
10137 10093 254.9 MB 0.3 MB /usr/sbin/httpd -DFOREGROUND
### Processes: 6
### Total private dirty RSS: 1.97 MB
-------- Nginx processes --------
### Processes: 0
### Total private dirty RSS: 0.00 MB
----- Passenger processes -----
PID VMSize Private Name
-------------------------------
10114 212.2 MB 0.3 MB PassengerWatchdog
10117 491.8 MB 0.4 MB PassengerHelperAgent
10123 215.7 MB 0.9 MB PassengerLoggingAgent
### Processes: 3
### Total private dirty RSS: 1.54 MB