Passenger

Passenger is an open source, scalable web application server. If there is instability or unpredictable behavior experienced after applying a configuration bundle, stopping then starting Passenger is a good approach to resolving them.

Start $ sudo systemctl start passenger
Stop $ sudo systemctl stop passenger
Status $ sudo systemctl status passenger
passenger.service - Passenger Standalone Application Server
Loaded: loaded (/etc/systemd/system/passenger.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-09-19 05:02:49 UTC; 10h ago
Main
PID: 12316 (PassengerWebHel)
Tasks: 26
Memory: 277.7M
CPU: 1min 31.858s
CGroup: /system.slice/passenger.service
   ├─12298 PassengerWatchdog
   ├─12301 PassengerHelperAgent
   ├─12307 PassengerLoggingAgent
   ├─12316 PassengerWebHelper: master process /srv/primero/.passenger/standalone/4.0.59/webhelper-1.6.2-x86_64-linux/PassengerWebHelper -c /tmp/passenger-standalone.rjitj/config -p /tmp/passenger-
   ├─12317 PassengerWebHelper: worker process
   ├─12322 /srv/primero/.passenger/standalone/4.0.59/support-x86_64-linux/agents/TempDirToucher /tmp/passenger-standalone.rjitj --cleanup --daemonize --pid-file /tmp/passenger-standalone.rjitj/tem
   └─12552 Passenger RackApp: /srv/primero/application
Sep 19 05:02:48 primero-int-1-4 systemd[1]: Starting Passenger Standalone Application Server...
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: =============== Phusion Passenger Standalone web server started ===============
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: PID file: /srv/primero/application/tmp/passenger.pid
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: Log file: /srv/primero/logs/rails//passenger.log
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: Environment: production
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: Accessible via: http://127.0.0.1:4000/
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: Serving in the background as a daemon.
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: Problems? Check https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#troubleshooting
Sep 19 05:02:49 primero-int-1-4 passenger-worker.sh[12161]: ===============================================================================
Sep 19 05:02:49 primero-int-1-4 systemd[1]: Started Passenger Standalone Application Server.

`$ ps -fA \
grep passenger`
primero 12316 1 0 05:02 ? 00:00:00 PassengerWebHelper: master process /srv/primero/.passenger/standalone/4.0.59/webhelper-1.6.2-x86_64-linux/PassengerWebHelper -c /tmp/passenger-standalone.rjitj/config -p /tmp/passenger-standalone.rjitj/
primero 12322 1 0 05:02 ? 00:00:00 /srv/primero/.passenger/standalone/4.0.59/support-x86_64-linux/agents/TempDirToucher /tmp/passenger-standalone.rjitj --cleanup --daemonize --pid-file /tmp/passenger-standalone.rjitj/temp_dir_toucher.pid --log-file /srv/primero/logs/rails//passenger.log
Log File /srv/primero/logs/rails/passenger.log
Run User root, primero