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)

1
vote
0answers
15 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 ...
0
votes
0answers
24 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
163 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 ...
1
vote
0answers
43 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 ...
0
votes
0answers
76 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.
2
votes
1answer
77 views

Nginx + GUnicorn + Flask + www-data user - file lockdown

I have some pretty basic questions about I am deploying a Flask application in Gunicorn (19.0-1) on Ubuntu (14.10) in combination with Nginx. Since this app sits along side to Web2Py, I followed a ...
0
votes
1answer
56 views

Error 127 when trying to run Zookeeper through supervisord?

I'm getting (exit status 127; not expected) when I try to run Zookeeper through supervisord, and the errors I'm getting back aren't helpful. Running it as the normal user works just fine: ...
1
vote
1answer
60 views

service in vagrant VM not picking up configuration

I want to setup a Vagrant configuration to create and launch an Ubuntu guest VM which will launch a supervisord service within the VM after Vagrant up. I'd like for this to work on Windows, Mac, and ...
0
votes
0answers
33 views

uwsgi process not quitting after stopping in django app

I have uwsgi 2.0.10 with django and supervisor. I am running uwsgi with command = /usr/local/bin/uwsgi --ini /var/www/conf/uwsgi.ini --die-on-term When i do supervisorctl stop app-uwsgi I see ...
1
vote
1answer
70 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
votes
1answer
57 views

Supervisord to send slack notification when a process starts

I am looking to add a web hook to a supervisord file. // sys admin skills are less then present... current file.. [supervisord] user=root nodaemon=true logfile=/role/log/supervisord.log ...
2
votes
2answers
306 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: # ...
2
votes
1answer
652 views

Server 'unix_http_server' running without any HTTP authentication checking

My supervisord told me that it is running without any HTTP authentication checking. supervisor> maintail 2015-03-03 16:57:03,832 CRIT Server 'unix_http_server' running without any HTTP ...
0
votes
0answers
74 views

Monitoring a process with supervisord and shell script/ curl test

I'd like to perform a HTTP POST request to a process under supervisord control. If the HTTP POST times out, or returns bad response, the process is restarted by supervisord. This would be like ...
1
vote
0answers
226 views

How to make Supervisord read bash environment variables [closed]

I am using Supervisord to run my java application, which requires some environment variables for configuration. I am setting the environment variables in /etc/environment export ...
1
vote
1answer
1k views

Nginx: How to use docker log collector when nginx is running under supervisord

The official nginx docker image (Dockerfile) uses the following trick to hand off its logs to stdout and stderr so that they are captured by the docker log collector and viewable using docker logs ...
4
votes
1answer
307 views

gunicorn not fully reloading after an HUP signal

I'm trying to get a working supervisor/gunicorn/django setup on vagrant. I am using python-watchdog to try and restart gunicorn when code changes happen. I am using the following supervisor ...
0
votes
1answer
148 views

Supervisor silently fails to start/restart (nothing in logs)

I have a fairly basic supervisor config: [program:drape] process_name=%(program_name)s_%(process_num)02d command=python /home/ubuntu/drape/workers/drape.py numprocs=1 autostart=true autorestart=true ...
0
votes
1answer
608 views

Running (and monitoring) nginx with supervisord

I will start with my use case, since I very well may not be using the correct tools for this job. Please let me know if I am going about this all the wrong way use case: I have a CentOS server ...
1
vote
1answer
2k 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: $ ...
0
votes
1answer
360 views

Strange behavior with supervisor, gunicorn and Django

I have a really strange problem with supervisor and gunicorn. I read supervisor documentation, all the relevant blog posts, stackexchange questions but none of them solve my strange problem, and I ...
1
vote
0answers
51 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 ...
0
votes
1answer
47 views

how to see what supervisord configuration is used

According to the documentation (http://supervisord.org/configuration.html), Supervisor will use the first file it finds. 1) $CWD/supervisord.conf 2) $CWD/etc/supervisord.conf 3) /etc/supervisord.conf ...
0
votes
1answer
99 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
0answers
31 views

Can supervisorctl be used to dynamically increase and decrease process instances?

Okay, so I have a production system that's currently using supervisord to create and manage a set of PHP instances, however, during peak periods I'd sometimes like to run more, but don't really want ...
0
votes
1answer
103 views

Supervisord cannot start CouchDB server on CentOS 5.9

I've installed CouchDB v1.0.4 and I want to monitor it's process with Supervisor (the version installed is 2.1.3). I can start CouchDB just fine with: $ /usr/bin/couchdb I have the following basic ...
0
votes
0answers
75 views

supervisor deletes log files when process is restarted

I have setup supervisor to start a process using the following configuration: [program:app-celery-worker] command=celery -A myapp worker -l info directory=/home/docker/myapp user=nonroot ...
0
votes
0answers
112 views

Supervisord Windows service started then stopped

I am trying to run Supervisord through Cygwin. The service installs/works correctly but, if I stop the windows service created, it will not start again. It will only work once after restarting the ...
0
votes
1answer
360 views

Supervisor program not found

I create a test here: vi /etc/supervisor/conf.d/test.conf It looks like this: [program:sentry-test] command= echo "hello there" I then run the command with the output: supervisorctl reread ...
1
vote
1answer
317 views

Handling expected supervisord exit codes

I am using supervisord inside a Docker container to manage my running processes and would like to also use it to trigger certain commands - run them once and expect them to exit with 0. Here's one ...
1
vote
1answer
326 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 ...
0
votes
1answer
169 views

Do something when Supervisor receives SIGTERM

I use Supervisor to manage processes. Is it possible to have Supervisor run a command when it receives a SIGTERM (or another signal)?
1
vote
0answers
114 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
1answer
739 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 ...
5
votes
1answer
1k views

What are the advantages of using a process manager inside a Docker container?

As mentioned by Jerome, You also need to add a process manager; for instance Monit or Supervisor. This is because Docker will watch one single process. If you need multiple processes, you need to ...
0
votes
1answer
1k views

Managing daemons with supervisor: no foreground mode available

I'm trying to manage a process with supervisord, but the process does not have an option to run in foreground: it always daemonizes. (That's Zabbix Server). Is there any way to manage daemons with ...
0
votes
1answer
174 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 ...
0
votes
0answers
106 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
53 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 ...
2
votes
1answer
206 views

supervisord and crashmail configuration

I want to be notified when a supervisord process changes state. I think I have configured it correctly but it is not working: when I change the status of a process (i.e. start/stop) I receive no ...
0
votes
1answer
208 views

upstart - supervisord fork count > 2 (can;t get supervisord to start on boot)

i'm trying to use upstart so that supervisord starts automatically at boot. my supervisord is in a virtual environment. I've configured it to run in foreground mode with -n param and it works if ...
0
votes
0answers
136 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 ...
1
vote
2answers
491 views

Nginx, proxy_pass, mangled relative links upstream

I'm having a problem with nginx proxy_pass and have pored over the HttpProxyModule documentation at the nginx wiki, but can't figure it out. I have Supervisor (http://supervisord.org/) running on a ...
7
votes
1answer
2k views

How can I control a whole Supervisor group at once?

I have defined a non-homogenous Supervisor group. However I cannot control that group with the group name. If I try, I get the following error: $ supervisorctl start groupname groupname ERROR (no ...
0
votes
0answers
115 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 ...
2
votes
1answer
197 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!
1
vote
0answers
50 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 ...
3
votes
1answer
481 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: ...
0
votes
1answer
113 views

Starting supervisor with init fails

I installed supervisor using pip on my debian 7 installation. I then grabbed this file and moved it here: /etc/init.d/supervisord https://github.com/Supervisor/initscripts/blob/master/debian-norrgard ...
0
votes
1answer
232 views

Supervisord (exit status 1; not expected) centos python

Ran into additional issue with Supervisord. Centos 6.5 supervisor python 2.6 installed with the OS python 2.7 installed in /usr/local/bin supervisord program settings [program:inf_svr] ...