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
2answers
206 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 ...
2
votes
2answers
164 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. ...
1
vote
2answers
298 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
385 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
171 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
75 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
447 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
656 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
15 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
268 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
380 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
22 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: ...
0
votes
1answer
75 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
83 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
162 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
180 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
154 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
106 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
45 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
507 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
143 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
509 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
559 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
575 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
387 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 ...
-1
votes
1answer
20 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
0answers
252 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
235 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
114 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
73 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: # ...
1
vote
0answers
28 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
89 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
42 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
9 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
23 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
41 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
86 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
142 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
91 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
110 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
39 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
110 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
99 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
627 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 ...