

Port=server-ip-address:9001 (ip_address:port specifier, *:port for all iface)
UBUNTU PROCESS MONITOR TO KEEP SERVER UP PASSWORD
password=123 (default is no password (open server)) username=user (default is no username (open server)) chown=nobody:nogroup socket file uid:gid owner chmod=0700 sockef file mode (default 0700) Your sections should look like below # vim /etc/nfįile=/var/run/supervisor/supervisor.sock (the path to the socket file) The supervisor configuration file contains two sections named and under which we have configuration parameters for an HTTP server that listens on a UNIX domain and TCP (internet) sockets should be inserted. It is used both for supervisord and supervisorctl commands. The supervisor configuration file is /etc/nf. 2) Start with the monitoring tool supervisor Python-meld3 python-pkg-resources supervisorĠ upgraded, 3 newly installed, 0 to remove and 0 not upgraded. The following NEW packages will be installed: The following additional packages will be installed:
UBUNTU PROCESS MONITOR TO KEEP SERVER UP INSTALL
On Ubuntu 16.04 # apt update & apt upgrade # apt install supervisor > Processing Dependency: python-setuptools for package: supervisor-3.1. > Processing Dependency: python-meld3 >= 0.6.5 for package: supervisor-3.1. > Package supervisor.noarch 0:3.1.4-1.el7 will be installed Loading mirror speeds from cached hostfile On centos 7 # yum install epel-release -y & yum update # yum install supervisor Supervisor offers the possibility to be installed but I will show you the installation through distribution packages. The supervisor tool allows you to assign priorities to processes and allows user to emit commands via the supervisorctl client like “start all”, and “restart all”, which starts them in the preassigned priority order. It is written entirely in Python and the actual version used is 3.2.1. Supervisor does not work on Python 3 1) Install supervisor an XML-RPC Interface: the same HTTP server which serves the web UI serves up an XML-RPC interface that can be used to interrogate and control supervisor and the programs it runs.a web server: it is a (sparse) web user interface with functionality comparable to supervisorctl may be accessed via a browser if you start supervisord against an internet socket.A user can connect to different supervisord processes, get status on the subprocesses controlled by, stop and start subprocesses of, and get lists of running processes of a supervisord supervisorctl: it is the command-line client piece which provides a shell-like interface to the features provided by supervisord.supervisord: It is the server piece which is responsible for starting child programs at its own invocation, responding to commands from clients, restarting crashed or exited subprocesseses.The operating system signals Supervisor immediately when a process terminates. It starts its subprocesses via fork/exec and subprocesses don’t daemonize. Processes can be grouped into “process groups” and a set of logically related processes can be stopped and started as a unit. Supervisor is a client/server system that allows its users to control a number of processes on Linux and UNIX-like operating systems. A tool name supervisor helps users to manage your processes on your server and monitor each process or a group of processes. There are processes which often need to be started and stopped in groups, sometimes regarding a priority order. They often don't need to know processes which listen on “low” TCP ports and often need to be started and restarted as the root user. Some users need only to control process state and don’t want or need full-blown shell access to the machine on which the processes are running.
