Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.

learn more… | top users | synonyms (1)

0
votes
0answers
14 views

Running monit AND supervisord simulatenously. Any possible issues?

Two aims: 1) Make sure background daemons such as webserver/rabbitmq are running all the time. If they crash they are automatically restarted etc. For this I am using monit with a config like: set ...
0
votes
1answer
714 views

how to work around “entered FATAL state, too many start retries too quickly” in supervisor

I'm just testing my supervisor with the simple program configuration: [program:test] command=python -c "print 'hello'" autostart=true autorestart=true exitcodes=1 user=ratdon ...
0
votes
1answer
154 views

Why Supervisor's http server won't wok?

I've installed Supervisor in a ubuntu based vps, and it takes effect on starting other processes. But I can't visit it's monitor page from ip:9001 in browser. I config inet_http_server in /etc/...
0
votes
0answers
28 views

Starting and stopping piped processes with Supervisor

I have a situation where I pipe the output of ffmpeg into a PHP script for some processing. I might have a few of these processes running at any given time and I figured to start and stop them I might ...
0
votes
0answers
17 views

Is supervisord suitable to monitor all services?

I have a bunch of nodes running different services such as: Cassandra DB servers Django web servers Kafka Zookeeper etc. Does it make sense to put all of them under supervisord? Is using ...
0
votes
3answers
68 views

avoiding repetition in supervisord config for multiple programs

I have to run multiple instances of same app with slightly different settings. Only thing that changes is one command line parameter. So currently I've got script which looks something like this: [...
0
votes
1answer
109 views

Docker, docker-compose application settings

I'm starting to migrate my Application to Docker containers: I use Ngnix, supervisord, gunicorn, python flask, celery, flower, lighttpd, RabbitMQ and Postgresql. In my original virtual machine, I keep ...
0
votes
2answers
323 views

How do I chose between upstart, runit, supervisor, daemontools, and etc. for restarting a process if it dies?

I have a Nginx web proxy, gunicorn web server, and a python/flask web app. The Gunicorn process apparently died, and I want to ameliorate that in the future by looking into a utility that can monitor ...
0
votes
0answers
28 views

Writing custom init script for supervisord

I am using supervisord to control my processes on Amazon Linux. I want to make use of supervisorctl inside my init script. I have the following so far. #!/bin/sh # # /etc/rc.d/init.d/supervisord # # ...
2
votes
1answer
463 views

Ansible has difficulty restarting Supervisor

I'm trying to restart Supervisor through my Ansible Playbook but I seem to be stumbling into an issue with the supervisor module for Ansible. In my Supervisor config I have defined a program: [...
0
votes
2answers
1k views

Supervisor - how to get a program to run at intervals of time

Perhaps I'm misunderstanding with Supervisor does, but perhaps me asking this question will help clear that up. Basically, I have a Supervisor program in my /etc/supervisord.conf file that executes a ...
1
vote
1answer
53 views

How to exit all supervisor processes if one exited with 0 result

I run docker container with supervisor like this: Dockerfile CMD ["/run.sh"] run.sh #!/usr/bin/env bash exec supervisord -n supervisor-serf.conf [group:job] programs=serf,producer [program:...
0
votes
1answer
121 views

Cannot access supervisor web interface on guest machine from host

I set up an ubuntu virtual machine using Vagrant. In my Vagrantfile, I have configured a private network like in the example: config.vm.network "private_network", ip: "192.168.33.10 In /etc/...
2
votes
0answers
42 views

How to add a prefix / label for services to supervisor stdout output

I'm using supervisor in docker images when I have to run multiple services in one image e.g. postfix and other mail services. When I redirect the stdout/stderr from all services to supervisor and ...
0
votes
0answers
118 views

Gunicorn Flask Deployment with Supervisord doesn't find command on boot

I am deploying a Flask application with Gunicorn, Nginx and Supervisord. Here is my config file for the application: [program:apwd-flask] command = /home/aaron/dev/apwd-flask/venv/bin/gunicorn --...
3
votes
1answer
125 views

Systemd causing multiple supervisor processes

I'm having a problem narrowing down where the issue is for my supervisor configuration that causes a program to be duplicated. I'm running a Python Tornado Web Server through an Nginx reverse proxy. ...
0
votes
1answer
167 views

Supervisorctl error on Ansible: [Errno 111] Connection refused: file: /usr/lib/python2.7/socket.py

It seems there are some problems with supervisor floating around: http://stackoverflow.com/questions/18859063/supervisor-socket-error-issue I tried the solution by essentially adding the "config" ...
2
votes
1answer
506 views

Can't use supervisorctl outside of /etc/supervisor directory

I've been using supervisor for over a year now. It is installed from a Debian package. When I upgraded the package the other day, something break and I can't seem to figure out what. ~> sudo ...
0
votes
0answers
32 views

guncorn supervisor service is automatically getting restarted nginx

I am getting trouble for keeping service constantly running. my job_name.conf [group:job_name] programs=gunicorn_job_name [program:gunicorn_job_name] command=/var/www/job_name/bin/gunicorn_django -...
2
votes
2answers
146 views

Supervisord commands to start rsyslog and haproxy

I've been trying to get these two to start when my docker image starts but they never seem to start. [supervisord] nodaemon=true [program:rsyslog] command=/bin/bash "service rsyslog start" [program:...
0
votes
1answer
76 views

Supervisord creating multiple instances

[supervisord] nodaemon=true [program:haproxy] command=service haproxy start numprocs=1 autostart=true autorestart=true The conf file is creating four instances. Any ideas why this is happening? ...
-1
votes
1answer
62 views

Delay haproxy 5 seconds in supervisord

I saw this on another thread which solved delaying a process start in supervisord (delayed 5 seconds): command=bash -c 'sleep 5 && uwsgi /etc/uwsgi.ini' How would one do this to do the ...
0
votes
1answer
135 views

rsyslog (exit status 0; not expected)

Before: root@haproxy:/# ps aux | grep rsyslog root 420 0.0 0.1 8860 648 ? S+ 12:38 0:00 grep --color=auto rsyslog Start Supervisord and error: root@haproxy:/# /usr/bin/...
-1
votes
1answer
131 views

Starting supervisord results in failure

My /etc/supervisor/conf.d/supervisord.conf: [supervisord] nodaemon=true [program:rsyslog] command=service rsyslog start startsecs 5 autostart=true autorestart=true I get the error: root@haproxy:/#...
0
votes
2answers
358 views

supervisord launches with wrong setuid

I am trying to test a pilot system with nginx connecting to uwsgi served application controlled by supervisord running on ubuntu-server. Application is written in python with Flask in virtualenv, ...
0
votes
1answer
65 views

CMD and supervisord

I am trying to get docker ENTRYPOINT or CMD to startup supervisor when the image is run. This is the last line in my Dockerfile: CMD ["service supervisor start"] This isn't working. I get the ...
0
votes
0answers
174 views

Not able to start supervisor with http server

I am not able to start supervisor when http server is enabled. (Adding inet_http_server section in the supervisord.conf). The error I am getting is below:- root@kibana-new:~# /etc/init.d/supervisor ...
5
votes
2answers
2k views

How can I configure supervisord managed program to wait X secs before attemting to restart?

I've got a worker process which processes 1 RabbitMq message at a time. Right now, as soon as the worker exits, supervisord is restarting it (which will process the next message). I'd like to set an ...
1
vote
1answer
102 views

tail /dev/stderr from errors within supervisord php cli script

To make this simple, I want to know if it's possible to access the STDERR like a channel. I don't want the data to log to a file and then tail the file because the amount of information that I want to ...
3
votes
4answers
2k views

Reload signal for UWSGI when using Supervisord?

I have been using UWSGI behind Nginx and I've set supervisord to restart the Nginx and UWSGI instances in case of a server reboot. I am debugging my application and sometimes need to reload the ...
0
votes
0answers
65 views

Ubuntu - Supervisor and virtualenv

Hello I am using supervisor with celery in order to run some tasks in a django web application. Celery seems to be having an issue finding/resolving, models from packages that have been installed ...
2
votes
0answers
47 views

Shutdown supervisord on subprocess exit

I'm attempting to run supervisord within a Docker instance. [supervisord] nodaemon=true [program:p1] command=p1 $P1_ENV autorestart=true ... [program:p2] command=p2 $P2_ENV autorestart=unexpected .....
0
votes
0answers
338 views

Nginx 502 Bad Gateway

Server X and Server Y are two virtual machines in different locations running with the same specs: Ubuntu 14.04.3 LTS 64-bit 8 CPU cores 12 Gb RAM They are both running the same Django application ...
1
vote
0answers
134 views

Supervisor doesn't run gunicorn with django

I want to run supervisor in my Django server with gunicorn and Nginx, but when I run "supervisord" the supervisor log says: 2015-11-06 23:23:36,746 INFO daemonizing the supervisord process 2015-11-06 ...
1
vote
0answers
90 views

Put ENTRYPOINT and CMD in Supervisor

I am trying to set up an image with two commands: ENTRYPOINT ["/app/bin/wait-mysql"] CMD ["runserver", "0.0.0.0:8000"] I want to put them in supervisor config file to execute with other commands. ...
0
votes
0answers
196 views

how to supervisord logs to syslog

I am using supervisord to manage my process. Say process A, I log to /data/log/A.log and I setup logrotate. Now, I need to pipe to syslog which automatically pipes to r syslog. Should I edit ...
4
votes
2answers
4k views

supervisord: error: <class 'socket.error'>

I can't get supervisord to work; after starting the process with: # supervisord -n -c /etc/supervisord.conf 2013-05-29 11:34:11,861 CRIT Supervisor running as root (no user in config file) 2013-05-29 ...
3
votes
2answers
884 views

Why use `bash -c` in supervisor instead of calling script directly?

I'm beginning to use supervisord to control services in my server. I'm not a pro user of linux but can get with it quite well and get it running. Just out of curiosity, I've noticed that most ...
5
votes
2answers
7k views

Supervisord - ini file error on CentOS

I installed Supervisor on CentOS 6.5 and currently experiencing some weird error that I can't seem to fix. I created a supervisord.conf file in /etc directory and call supervisor like this: $ ...
1
vote
1answer
257 views

How to configure a newer version of Supervisord to start on system boot in Ubuntu 12.02?

How do you configure a newer version of supervisor to start on system boot in Ubuntu? Some distributions simply lag behind in their repositories. When I use easy install (as recommended by default on ...
1
vote
0answers
476 views

recv not ready (11: Resource temporarily unavailable)) (nginx/1.1.19, supervisorctl, gunicorn )

I have site on Ubuntu 12.04.5 LTS, django (supervisorctl, gunicorn). It work 1 year without problems, but today my zabbix server sending me messages about alerts (every 3-7 minutes) about timeout (for ...
0
votes
0answers
38 views

Ubuntu : Unexpected process count of erlang

While checking the 'htop' output, my ubuntu server shows plenty of unexpected processes of erlang. /usr/lib/erlang/erts-5.10.4/bin/beam.smp -W w -K true -A30 -P I have several supervisor services ...
0
votes
0answers
67 views

Is there a way to kill jobs during a Jenkins rebuild?

UPDATE AT BOTTOM I have Jenkins running as the user "jenkins" and I have Supervisord running as the user "root". I thought I could build a system where: 1.) Jenkins pulls newest code, builds it, ...
0
votes
0answers
34 views

How would I tell Supervisord that these messages don't belong in stderr?

Problem: Supervisord is writing an apps startup messages to stderr, but they should go to stdout. Jenkins seems to think the app has failed. Yesterday I set up a system that works like this: 1.) ...
0
votes
1answer
633 views

Supervisor settings environment variables and getting a Error: Unexpected end of key/value pairs

Folks, I'm trying to move something into a docker container, which means a shift from running it as a daemon into a stand alone process controlled by supervisord. Now I don't have much experience ...
1
vote
0answers
120 views

Supervisor start/stop/restart not behaving as expected

I am using supervisor to manage celery and due to occasional project requirements am required to add environment variables. I set these in the supervisor [environment] section of the .conf file but ...
3
votes
2answers
2k views

Supervisor setup on AWS AMI Linux

I'm trying to get supervisor working to make sure my queue system is always running. Here are the steps I took, which I pieced together from various sources: (Ran as root or super user) Ran: # ...
27
votes
1answer
7k views

Get notification from supervisord when a job exits

Is there any way supervisord can automatically restart a failed/exited/terminated job and send me a notification email with a dump of the last x lines of log file?
0
votes
0answers
126 views

Beanstalkd queue with supervisord opening too many FIFO files

I'm running a Laravel queue job called "webhooks" using beanstalkd and supervisord on my Ubuntu server. I can see the job properly running with process ID 4403: webhooks ...