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)

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 ...
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 ...
1
vote
2answers
288 views

Best way to enable an user account to run supervisorctl?

I've just finished setting up supervisor to run my gunicorn instances and I was wondering if there is a default way to let a regular user run supervisorctl to start/stop the websites. I was thinking ...
3
votes
1answer
269 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
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!
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 ...
2
votes
1answer
67 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
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
1answer
392 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 ? ...
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 ...
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 ...
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 ...
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
1answer
133 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] ...
0
votes
1answer
107 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
79 views

Supervisord spawns only 1 instance

I have the following problem: This is my supervisord.conf-addition: [program:gearman-test-worker] process_name=%(program_name)s_%(process_num)02d command=/usr/bin/php ...
0
votes
1answer
41 views

Should I use system user account as opposed to normal user account for deploying the code in App server?

I have a Tornado app-server running behind an Nginx web-server. The app server contains python scripts for tasks like processing client requests, database call, running business logic, etc. Of ...
0
votes
1answer
418 views

HAProxy stats says all Thrift servers are down

I am trying to setup HAProxy to load balance a group of Thrift servers. For some reason the HAProxy stats page says the servers are all down. Here is the current HAProxy config I am trying. global ...
0
votes
1answer
113 views

In supervisord umask setting results in same permissions for files and folders

I'm using supervisord to handle some gevent based wsgi processes that simply run a django app. When I upload files I want them to have rw permissions for user and group (www-data) and of course I ...
0
votes
1answer
448 views

Run program in two supervisor's groups

Suppose I have a supervisor's config file like this: [program:type1_X] command=my_program_1 X [program:type1_Y] command=my_program_1 Y ... [program:type2_X] command=my_program_2 X ...
0
votes
1answer
509 views

Supervisord and gunicorn_django not playing well sometimes

I can issue a command via supervisorctl to shutdown my gunicorn_django process but sometimes it hangs around until I have to eventually kill it with a -9. The log for the process usually has this: ...
0
votes
1answer
511 views

Supervisorctl successfully starts, but cannot stop

When I start supervisorctl, it runs fine without issue. However, when I try to stop it or run status, I get this error: # supervisorctl -c supervisor/stage.conf status error: <class ...
0
votes
1answer
384 views

Tornado Startup Management

I have an application written to run in Tornado server.. The application should start on boot, and if it fails ( be restarted ) Currently I am using supervisord, but i wanted to see what else is ...
2
votes
0answers
225 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 ...
2
votes
0answers
209 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 ...
2
votes
0answers
111 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 ...
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 ...
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 ...
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 ...
1
vote
0answers
596 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: ...
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
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
0answers
117 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
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
0answers
66 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
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 ...
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
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 ...
0
votes
0answers
105 views

supervisor & uwsgi - no log output via web interface

I'm just starting out with supervisord and got it working with uwsgi. I have the web interface running and i assume when i click on the entry and a new window opens I'm supposed to be able to see the ...
0
votes
0answers
34 views

Use tmux for managing multiple downloaders as a supervisorctl service?

I have many data-servers I need to download data from via http as soon as it is available. For each server I start a bash "while true"-loop and within that a wget to poll the server for new data. To ...
0
votes
0answers
482 views

Why can't I start supervisor with init.d?

I followed this guide to install supervisor on Debian 6.06. EDIT: I can now get supervisor to stop, but cannot get it to start when I'm not using sudo. /etc/init.d/supervisord -> #! /bin/bash -e ...