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)

3
votes
1answer
104 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. ...
3
votes
1answer
725 views

Supervisor cannot correctly stop uwsgi

Supervisor can start uwsgi but after stopping uwsgi, when i try to start it again I get this error: 2014-03-16 08:38:34,249 DEBG 'app' stderr output: ...
2
votes
1answer
267 views

Does supervisord (“supervisorctl start”) wait for a command to finish, or fork it off asynchronously?

I'm running supervisorctl start in a shell script and am wondering if I can count on that operation being finished by the time the next line in the shell runs. Thanks!
2
votes
1answer
96 views

Supervisord unable to shutdown fcgi processes

I've managed to set up supervisord with fastcgi on a django project of mine, the problem is that when I make mi program stop, the server keeps running somehow, and my page keeps online. Here is my ...
2
votes
1answer
625 views

How to manage multiple supervisord's from one web interface?

I have 4 servers in my production setup, on these server I have supervisord to monitor and manage processes. Is there a way to manage multiple supervisord's from one supervisorctl web interface ? ...
2
votes
1answer
876 views

How do I get supervisord to use a user's rbenv environment?

I've daemon owned that I'd like to have system supervisor manage. The daemon has its own user and, being done up in ruby, it's own rbenv environment. The supervisord conf for the daemon: ...
1
vote
1answer
38 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 ...
1
vote
1answer
89 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 ...
1
vote
1answer
308 views

Supervisord keeps restarting process regardless of autorestart being equal to false

I am working on having supervisord send a curl request upon start. however, despite my best efforts, I set auto restart to false, it keeps running the script. [program:slack-client] priority=99 ...
1
vote
1answer
559 views

Supervisord as Windows Service on Cygwin

I am attempting to run Celery as a Windows Service using Supervisord. I followed the configuration laid out on the Celery site and here. I have set up a virtual environment to run supervisord through ...
1
vote
1answer
666 views

Trying to run gunicorn from supervisor gives error - error: class uri 'simple' invalid or not found

I am already running successfully 2 django projects (in same virtualenv with python 2.7) with Django + gunicorn + virtualenv + Supervisord environment. But now i am trying to run another project in ...
0
votes
1answer
135 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" ...
0
votes
1answer
61 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? ...
0
votes
1answer
107 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:/# ...
0
votes
1answer
58 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
1answer
531 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 ...
0
votes
1answer
132 views

How do I keep process running in the background, even after a machine reboot?

What is the way to keep some process running (web server, database and so on) in background, and be sure that in case of system reboot it will start immediately again? I'd like to have this feature ...
0
votes
1answer
284 views

Ploneftp fatal Exited too quickly

After starting daemon of plumi through supervisord. Screenshot of terminal after checking status of supervisorctl is shown here. Log ploneftp-stdout---supervisor-mlgou2.log file is Traceback (most ...
3
votes
0answers
391 views

uwsgi through supervisor too many open files

I have uWSGI set up through supervisor on a ubuntu 12.04 box and lately I noticed that when trying to tail the logs (all the logs in that user account) I get message that too many files opened , uWSGI ...
3
votes
0answers
117 views

Supervisord not closing http ports

I'm trying to use Supervisord to keep my node.js web app alive. However when I run supervisorctl shutdown, it doesn't close the http port that node.js uses. Is there a way to configure Supervisord ...
2
votes
0answers
35 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 ...
2
votes
0answers
42 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 ...
2
votes
0answers
388 views

Linux equivalent of OS X “Launchd”, with respect to use by non-root users?

Is there a good way for non-root users to start "managed" processes? In this case, I am using managed" to describe a process that starts up when the user logs in, is monitored by some sort of ...
1
vote
0answers
118 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
75 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. ...
1
vote
0answers
456 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 ...
1
vote
0answers
113 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 ...
1
vote
0answers
161 views

Directory setting in Supervisor

I was configuring supervisor daemon to be able to start/stop Celery. It did not work. After debuging back and forth I realized that the problem was that it did not change the working directory to the ...
1
vote
0answers
188 views

Supervisord inet_http_server all iface error

When I try to start supervisord using inet_http_server to listen on all interfaces, I get: Error: Could not determine IP address for hostname xxx.xxx.xxx.xxx, please try setting an explicit IP ...
1
vote
0answers
75 views

supervisord with Upstart always hangs

I'm trying to start supervisord with Upstart. The Upstart job is very simple and traditional (start on, stop on, author description, respawn, exec). I've tried running supervisord in the foreground ...
0
votes
0answers
23 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
14 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
0answers
27 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 # # ...
0
votes
0answers
431 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
0answers
106 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
148 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 ...
0
votes
0answers
62 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 ...
0
votes
0answers
174 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 ...
0
votes
0answers
310 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 ...
0
votes
0answers
36 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
64 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
33 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
0answers
121 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 ...
0
votes
0answers
910 views

Run shell script as Supervisord subprocess?

I have a Django 1.6.2 application that uses Celery 3.1.7 for asynchronous tasks. I'm starting my Celery workers using Supervisor. So far everything is working well except when I reboot my Debian 7.8 ...
0
votes
0answers
269 views

Adding timestamps to supervisord logs

Is it possible to let supervisord add timestamps to the outputs in stdout_logfile and stderr_logfile? I couldn't find it anything about that in the documentation.
0
votes
0answers
139 views

Configure Supervisor to manage init.d services

I installed uwsgi and created a bash script, which allows me to start/stop uwsgi in the following manner: service uwsgi [start|stop]. This bash script is located in /etc/init.d/uwsgi. Now, I want to ...
0
votes
0answers
105 views

Supervisor [program:x] Section exitcode

I'm trying to configure and understand the supervisord program section. One option stated in the manual is exitcodes exitcodes The list of “expected” exit codes for this program. If the autorestart ...
0
votes
0answers
274 views

How to slow supervisord restarting processes?

I can't see any way to keep supervisord from pausing a second before restarting a process. I use crashmail, so everytime something minor happens to a running process I get around 10 email/minute. I'd ...
0
votes
0answers
148 views

Supervisord on Fedora configuration error

I am trying to install supervisor on my Fedora 17, using this link as reference: https://www.digitalocean.com/community/articles/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps It ...