- Server operating system version
- Almalinux 8
- Plesk version and microupdate number
- 18.0.56 #2
Hi, I am trying to run a discord bot 24/7 on Plesk with the node.js extension
I have edited the phusion config to this:
But the discord bot will still time out every few minutes, and will only turn back on when i visit the web page
I have edited the phusion config to this:
NGINX:
passenger_root /usr/share/passenger/phusion_passenger/locations.ini;
passenger_log_file /var/log/passenger/passenger.log;
# Avoid downloading of sources or binary for ruby passenger_native_support.so
# after each nginx restart by default because of development packages
# or libruby.so.X.Y may be missed anyway.
# Ruby passenger_native_support.so is packaged for system ruby only.
passenger_env_var PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY 0;
passenger_env_var PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY 0;
passenger_pool_idle_time 0;
passenger_max_pool_size 30;
passenger_min_instances 1;
But the discord bot will still time out every few minutes, and will only turn back on when i visit the web page