Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [supervisord]

The tag has no usage guidance.

0
votes
0answers
22 views

rotating different commands in supervisor

I've created a "photo frame" using raspberry pi 3b+ and the official 7" display where there is a supervisor command to launch youtube with certain city view broadcast webcam. The city has a few public ...
1
vote
1answer
353 views

Supervisord does not exit after one service crashed in a Docker container

I have the following supervisord configuration: [supervisord] nodaemon=true logfile=NONE [program:service1] command=/usr/sbin/service1 user=someone autostart=true autorestart=true startsecs=30 [...
2
votes
0answers
28 views

Permission errors when running program using supervisor, but not in the shell

I have a program which is supposed to always be running. This program listens for commands in a message broker, does a file system operation upon request, and publishes the result through the same ...
0
votes
1answer
133 views

Autostart supervisord 4.0.0, Ubuntu server 16.04

I installed last version from https://github.com/Supervisor/supervisor By command: python3 setup.py install Now I'm able to run supervisord manually, just by typing sudo supervisord So, after ...
0
votes
2answers
280 views

Supervisord removing a process after successfully running

I have the following configuration for a process to run continuously. Apparently, it works very fine but after few hours or sometimes few minutes, the process gets terminated. Any kind of help is ...
1
vote
0answers
441 views

Restart a supervisor program without root

I have a two-level supervisord system on Debian Linux: In /etc/supervisor/conf.d/opus-release.conf [program:opus] user=opus command=bash -c 'cd /home/opus/projects/XXX && supervisord -n -c .....
0
votes
0answers
159 views

supervisord unable to start jenkins service

i have created a Dockerimage which is using supervisord to start multiple services, 2 of them are working but the 3rd jenkins service start and then gets killed on its own. supervisord ubuntu@kops:~/...
0
votes
1answer
560 views

Supervisor's child stdout.log: real time read

Supervisor activates some child processes. I configured each of them like this: [program:XXXXX] command=/XXXXX/XXXXX directory=/XXXXXX autostart=true autorestart=true startsecs=3 startretries=10000 ...
1
vote
0answers
167 views

How to run ps-watcher as non-root

The command is ps-watcher $HOME/ps-watcher.cfg Is I run it as normal user, I got this error: Unable to open file handle FH for file '/var/run/ps-watcher.pid': Permission denied The content of ps-...
1
vote
0answers
491 views

supervisord as watchdog for various services

I tried to configure supervisord as watchdog for tomcat, redis and some other services. The goal is to automatic restart if the services are crashed or stopped. Here is my configuration for redis and ...
1
vote
1answer
802 views

supervisord - multiple environment variables

I have a supervisord configuration file where I need to set multiple environment variables. E.g. environment=A="1",B="2",C="3", etc. Is there a way of writing this in the file so that it spans ...
0
votes
1answer
3k views

How to set environment variable in supervisord using output from a file

What is the good way to set environment variable in supervisord using output from a file? I need like: [program:prog1] command=prog1 -param1 -param2 environment=PASSWORD=`cat .password` I can use an ...
6
votes
1answer
8k views

Can Systemctl restart processes that have died, or is that where Supervisor comes in?

From my research, it would appear that Supervisor and Systemctl are not interchangeable, however they have overlapping functions; notably, they both can be used to start other processes. However, ...
12
votes
2answers
6k views

Have SystemD spawn N processes?

At my organization, we have a number of queue consuming worker processes. We're currently using SupervisorD to manage them, but would like to use SystemD if possible for certain advantages therein. I'...
3
votes
2answers
4k views

How to make sure that a child process of a supervisor job dies when I kill supervisor

My app is a jar file that requires some environment variables. I have all the environment variables in one file, which looks like this: export VAR=value export VAR2=value2 #....etc My supervisor ...
38
votes
6answers
40k views

ubuntu server 16.04: cannot get supervisor to start automatically

I installed supervisor on ubuntu server 16.04. $ sudo apt-get install supervisor $ sudo update-rc.d supervisor defaults After rebooting, supervisor didn't get started automatically. Checked the ...
1
vote
0answers
56 views

how to make supervisord immediately relive once it was killed

I finished installation of supervisord on my centos6, it works also well. But I found I could use command "kill" to kill supervisord itself, and it was not able to relive. I suppose when supervisord ...
1
vote
0answers
558 views

Start my webpy server using supervisor

I am trying to start my python web.py server at boot, but I am having difficulties getting it running by itself. I have a config-file like the following. It's basically the sample file with an added ...
1
vote
1answer
1k views

Command output redirect with supervisord

docker -H :4000 events | ./docker_events.py docker -H :4000 events will gives the events continuously until we press Crtl+C. So, I pipe the output to my custom script docker_events.py which parses ...
4
votes
2answers
2k views

Supervisord at 99% cpu usage

I've installed supervisord using: sudo apt-get install supervisor on my Ubuntu 14.04 server as per the instructions in the Laravel documentation. I've noticed that the supervisorctl process on my ...
0
votes
1answer
3k views

centos 7.1 - supervisord terminates if run with systemctl

So I have a weird problem and I've been banging my head for the entire day. I have a centos 7.1 with supervisord 3.2.0 installed. If I run the supervisor with systemctl, it runs and then it shuts down ...
2
votes
2answers
2k views

Launch Spark in Foreground via Supervisor

We have a spark cluster that launches via supervisor. Excerpts: /etc/supervisor/conf.d/spark_master.conf: command=./sbin/start-master.sh directory=/opt/spark-1.4.1 /etc/supervisor/conf.d/...
2
votes
1answer
5k views

Supervisor: no such file or directory even though it is there [duplicate]

I am trying to start supervisor service supervisor start, as root, but it gives me env: /etc/init.d/supervisor: No such file or directory Yet, I can clearly see that file exists: [root@master ...
1
vote
0answers
782 views

Stop all processes by a user: children of supervisord are still running

I'm trying to delete a user but it keeps saying that user is currently used by process ID x I tried everything here and here, nothing works, how do I kill all the process by a certain user in order ...
1
vote
1answer
2k views

Log rotation in supervisord

I set up several programs in supervisord. They send their output to stdout, that is forwarded to file using supervisord. There is a logrotation function in supervisord, but the problem is that it ...
4
votes
1answer
804 views

Supervisord scheduling [closed]

Is it possible to set jobs to run every n days in supervisord, like what cron is doing? I'm asking because I have different kinds of jobs, continuous / real-time and daily ones. All my jobs are ...
3
votes
1answer
2k views

Debian wheezy: supervisor (install from repostiory) not start automatically on boot

I've been fighting with this problem for more than 1 hour and I have no idea what's going on. Installation: $ sudo apt-get install supervisor Version: 3.0a8-1.1+deb7u1 $ sudo update-rc.d supervisor ...
1
vote
1answer
3k views

Why doesn't my supervisor daemon start on reboot?

I have added a crontab entry via crontab -e for the current user: @reboot supervisord -c /etc/supervisord.conf Yet after the reboot, supervisord demon is not running. I need to run the command again ...
1
vote
1answer
975 views

Supervisord runs ssserver but reports an error on CentOS?

I have the following Supervisord setup, /etc/supervisord.conf: ... [program:shadowsocks] command=ssserver -c ~/config.json autorestart=true user=nobody ... /etc/rc.d/init.d/supervisord: #!/bin/sh # ...
2
votes
1answer
3k views

Run supervisord without root access

Hi I'm really new to writing scripts and I searched a lot but all that I've found is scripts with full access. I don't have access to the /etc. I'm working in a host in the cloud but I have limited ...
9
votes
2answers
16k views

Supervisord does not work

Kinda shocked about supervisor. I get this error unix:///var/run/supervisor.sock no such file What is so shocking is the file is there! I am running on ubuntu on ec2. I tired to chmod to 0777 as ...
13
votes
1answer
5k views

is upstart and supervisord used for the same thing?

I have a some jvm based processes that I need to make sure start whenever my server is rebooted, and also if it stops because of an unexpected error etc. I'm running Ubuntu 12.04 in case in matters. ...
6
votes
1answer
902 views

What are the differences between runit and supervisord?

I'm looking into changing our Django deployments and was reading the deploy page for gunicorn and it talks about both supervisord which I was aware of and planning on using and runit that I don't ...