You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For 4 hours I am struggling with pm2 and I encounter a bug. I wrote a script that opens multiple instances. Although all the instances have different environment variables, the apps receive the same identical environment variable namely the last one. Please kindly help me out because I need to deploy the pm2 on multiple xeon servers.
Both instances receive the last environment variable namely as value "80".
The data is passed to the application but only the last one. If I switch the apps between each other, and make the 8080 the last one, the apps receive the environment variable as "8080" on both instances.
I am using pm2 under Linux, Ubuntu 16.x, Debian
pm2 version 2.10.3
Thanks
The text was updated successfully, but these errors were encountered:
ibudisteanu
changed the title
ASAP: PM2 environment variables are identical on two different instances although it must be different
ASAP: PM2 environment variables are identical on two different instances although the variables must be different
Apr 28, 2018
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
For 4 hours I am struggling with pm2 and I encounter a bug. I wrote a script that opens multiple instances. Although all the instances have different environment variables, the apps receive the same identical environment variable namely the last one. Please kindly help me out because I need to deploy the pm2 on multiple xeon servers.
Both instances receive the last environment variable namely as value "80".
The data is passed to the application but only the last one. If I switch the apps between each other, and make the 8080 the last one, the apps receive the environment variable as "8080" on both instances.
I am using pm2 under Linux, Ubuntu 16.x, Debian
pm2 version 2.10.3
Thanks
The text was updated successfully, but these errors were encountered: