Normal user starts supervisor and reports HTTP error (strace)

The company’s development has normal user www permissions for the production environment, and the bastion machine is used to log in to the machine in the production environment. By default, the supervisor is started by the root user, and developers do not have permission to directly modify the configuration and operate the processes managed by […]

Linux environment configuration supervisord management process

1. Introduction Supervisor is a client/server service developed in Python. It is a process management tool under Linux/Unix system and does not support Windows system. It can easily monitor, start, stop, and restart one or more processes. With the process managed by Supervisor, when a process is accidentally killed, supervisort will automatically restart it after […]

Solve the problem that the supervisor cannot monitor the subprocess of the program

Let me talk about the problems encountered first. The beanstalk queue is used, and there are two tubes. The supervisor is used to monitor the beanstalk consumption queue (main process A). The main process A generates two sub-processes (sub-process B, sub-process C), and each sub-process A process processes the data of a tube. The supervisor […]

CentOS installs supervisor to manage rocketmq process

1. Supervisor introduction Supervisor is translated as a supervisor. In Linux, Supervisor is a process management tool. When a process is interrupted, Supervisor can automatically restart it. It can run on various Linux/Unix machines. Supervisor is a general-purpose process management program developed in Python. It can turn an ordinary command-line process into a background daemon […]

supervisor-eventlistener

Learn about supervisor-eventlistener This article mainly introduces the functions of supervisor Event. As a process management tool, supervisor has added the advanced feature of Event after version 3.0, which is mainly used for event alarm services (process startup, exit, failure, etc.). The Event feature is to register the listening service (listener) in supervisord, and when […]

supervisor update

Just a random record for later forgotten reference When the supervisor that has been running is updated, due to the long time, various problems are encountered, and only records are made Purpose: Add a new program for supervisor After restarting supervisord, the web interface can control and manage new programs 1. Add configuration files for […]

Java Supervisor RPC2 interface docking

1. Introduce xmlrpc-client If it is C# language, please refer to “C# Connecting Supervisor XML-RPC API to Realize Process Control” How to install Supervisor, please refer to “Linux Process Guardian-Supervisor (ubuntu)” If it is a Maven project, introduce the jar package in pom.xml <dependency> <groupId>org.apache.xmlrpc</groupId> <artifactId>xmlrpc-client</artifactId> <version>3.1.3</version> </dependency> 2. Package SupervisorUtils toolkit /** * Supervisor […]

Process management program Supervisor-installation

Directory Process management program Supervisor-installation 1. Introduction 2. Experimental environment 3. Install Supervisor Fourth, configure Supervisor 5. Write the process that needs to be managed by Supervisor 6. Reference Process management program Supervisor-installation 1. Introduction Supervisor is a process management tool written in Python, which can be easily used to start under UNIX-like systems (does […]

supervisor: Linux system process management tool [can turn an ordinary command line process into a background daemon, monitor the process status, and automatically restart when it exits abnormally]

Supervisor is a process management tool. When a process is interrupted, supervisor can automatically restart it. At the same time, it is also a client/server system that allows users to control multiple processes on a unix-like operating system. Supervisor is a set of general process management programs developed in Python. It can turn an ordinary […]

System service management supervisor

System service management supervisor 1. Overview of process management services 1.1 Overview of supervisor process management tools 1.2 Supervisor process management service composition 1.3 Description of supervisor service operating environment 2. Process management service deployment 2.1 Process management service installation process 2.2 Process management service configuration information 2.3 Use of process management service commands 2.4 […]