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)

2
votes
1answer
109 views

Supervisord leaking child processes launched through shell script

I'm using supervisor 3 to daemonize a python process, which is launched through a bash script that sets up some configuration for python. The bash script runs python program in the foreground, FWIW. ...
-2
votes
0answers
30 views

Unable to load configuration from 777 [closed]

I am trying to run my uwsg with supervisor and I am getting this error "unable to load configuration from 777" [program:tmanalytics] directory = /root/www-data/tmapi/ command = uwsgi -s ...
5
votes
3answers
806 views

Supervisord appears to be running, but monitored programs aren't launched

I've got supervisord 3.0a8 installed from the system package on ubuntu 10.04 (64bit). The supervisor service appears to be running, but it's not launching the configured programs. Interestingly ...
4
votes
3answers
8k views

Supervisor always quit process with 'exit status 0; not expected'

I'm currently rebuilding my vps, and I'd like to use supervisor for managing my gunicorn/wsgi django processes. Thing is, supervisor keeps exiting the processes: 2010-07-23 14:54:40,575 INFO ...
2
votes
1answer
2k views

Supervisor process exits with 'exit status 1; not expected'

I'm trying to run a gunicorn_django process in supervisor but it always exits immediately, giving this error: INFO exited: my_app (exit status 1; not expected) INFO received SIGCLD indicating a ...
0
votes
1answer
55 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 ...
0
votes
1answer
27 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
61 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 ...
1
vote
0answers
14 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 ...
12
votes
9answers
11k views

Supervisor not loading new configuration files

I have a problem deploying Django app using Gunicorn and Supervisor. While I can make Gunicorn serving my app (by setting proper PYTHONPATH and running apropriate command, the one from supervisord ...
0
votes
1answer
16 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 ...
3
votes
1answer
266 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
0answers
10 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
33 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
18 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
30 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
93 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
240 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 ...
1
vote
1answer
94 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
152 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
58 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
2answers
170 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 ...
1
vote
0answers
60 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 ...
10
votes
2answers
1k views

Supervisord: how to append to $PATH

I can't seem to figure out how to append to the default path in a supervisord program config. I can reset the path: environment=PATH="/home/site/environments/master/bin" But when I try: ...
5
votes
1answer
663 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 ...
1
vote
1answer
234 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 ...
0
votes
1answer
154 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 ...
1
vote
1answer
71 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 ...
2
votes
2answers
766 views

Clear Directory with Salt State File

How do I clear a directory on a salt-minion using a state file? I want to delete all *.conf files in /etc/supervisord/conf.d/ before I set up other supervisor services. The following top.sls ...
0
votes
0answers
116 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
63 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
71 views

When I auto-start Supervisord on boot, the [program:start_gunicorn] don't start

The [program:start_gunicorn] is running with no error when I manually start supervisord with this setup. [program:start_gunicorn] command=/env/nafd/bin/gunicorn_start priority=1 ...
0
votes
1answer
449 views

how do i write an init script for django-supervisor

pardon me as this is my first time attempting to write a init script for centos 5. I am using django + supervisor to manage my celery workers, scheduler. Now, this is my naive simple attempt ...
0
votes
0answers
28 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
1answer
84 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
65 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 ...
4
votes
1answer
241 views

Is supervisord shutting down gracefully?

I have process that needs arbitrary amount of time to shutdown, anywhere between 2 seconds and couple of minutes. It is important that this process exits gracefully (not killed). I use supervisord and ...
2
votes
1answer
1k views

supervisor.con on centos 6 [closed]

I installed supervisor using easy_install, however, the conf file seems to be missing, and I really wanted to have a base to start my configuration. Does anyone know where can I find this file or an ...
1
vote
2answers
506 views

supervisord: Don't start a program before another one is running

I am using supervisor on Ubuntu with several programs to supervise. Is it possible to configure supervisor so it doesn't start a program before another specific program has successfully started? I.e. ...
0
votes
0answers
97 views

Running a supervisord cluster

I have a cluster of nodes each running Supervisord. I'd like to present a unified web interface that would allow me to see the process state of each of the nodes in the cluster, and control them en ...
4
votes
2answers
2k views

Controlling tomcat with supervisor

Is there a way to "gracefully" shutdown tomcat when controlling via supervisor? My understanding is Tomcat's shutdown.sh script talks to tomcat on the shutdown port to initiate a graceful shutdown. ...
1
vote
1answer
393 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 ...
2
votes
1answer
122 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!
0
votes
0answers
58 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 ...
0
votes
2answers
471 views

Can't start Gunicorn via Supervisor after server reboot

I have a Django application "djngxgun" that uses Nginx and Gunicorn. I just installed Supervisor so that I can use it to manage my Gunicorn processes. The problem is that Supervisor isn't starting ...
0
votes
1answer
272 views

Can't deploy uWSGI Python Script: Mount Point = 0

When I run my application I get the following error: *** Operational MODE: single process *** unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in ...
1
vote
0answers
30 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 ...
2
votes
2answers
146 views

Is upstart for starting a service, and supervisord to monitor it?

Is there some overlap in functionality between upstart and supervisord? I have a java process that I need to start at boot up, and also monitor this process to make sure it stays running (try and ...
0
votes
1answer
81 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
0answers
82 views

Centos Supervisord Python 'invalid literal for int() with base 10: 'process_num'

Im doing the following in supervisord: [program:inf_svr] process_name=inf_svr%(process_num)s directory=/opt/inf_api/ environment=USER=root,PYTHONPATH=/usr/local/bin/ command=python ...