nodejitsu/forever — Issue #223: Forever list does not show anything as root
Author: deradam
Created: 2012-01-13 11:04:32+00:00
State: open

I have one node process running with forever as my own user and one as root. I can see all processes using grep and the processes by my user with forever list. The process started as root is not listed by forever list.

grep all:
giemza@collide1:~$ ps aux | grep forever
root 25754 0.0 0.2 644088 9932 ? Ss 11:44 0:00 node /opt/nvm/v0.6.7/bin/forever start proxy.js
giemza 25833 0.0 0.2 645080 10664 ? Ssl 11:46 0:00 node /opt/nvm/v0.6.7/bin/forever start app.js
giemza 26043 0.0 0.0 7632 936 pts/0 S+ 11:56 0:00 grep --color=auto forever

forever list by user:
giemza@collide1:~$ forever list
info: Forever processes running
data: uid command script forever pid logfile uptime
data: [0] gP9U node app.js 25833 25834 /home/giemza/.forever/gP9U.log 0:0:10:32.176

forever list by root:
root@collide1:~# forever list
info: No forever processes running

The process is running and I can also see the .forever folder in /root. Is it a bug or intended behaviour?

node version 0.6.7
forever version 0.8.2