@pynix @franklinyu 多谢提供思路。我试一下。
根据官方教程,安装的:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger xenial main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update
sudo apt-get install -y nginx-extras passenger
sudo /usr/sbin/passenger-memory-stats, 貌似正常的。
---------- Nginx processes -----------
PID PPID VMSize Private Name
21223 1 166.6 MB 0.6 MB nginx: master process /usr/sbin/nginx -g daemon on; master_process on; 21228 21223 166.6 MB 0.7 MB nginx: worker process Processes: 2 Total private dirty RSS: 1.32 MB
----- Passenger processes -----
PID VMSize Private Name
21203 433.2 MB 1.2 MB Passenger watchdog 21206 651.2 MB 3.3 MB Passenger core 21212 441.4 MB 1.3 MB Passenger ust-router Processes: 3 Total private dirty RSS: 5.80 MB
从无到有不容易,加油。已经注册!