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)

0
votes
1answer
149 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
31 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
1answer
812 views

Supervisord: Can supervisord monitor remote processes

Can supervisord be used to start remote processes, monitor and manage the processes?
1
vote
0answers
13 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
23 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
42 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
34 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
39 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 ...
2
votes
1answer
672 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
17 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 ...
3
votes
2answers
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 ...
1
vote
1answer
25 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
27 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 ...
21
votes
1answer
4k views

Get notification from supervisord when a job exits

Is there any way supervisord can automatically restart a failed/exited/terminated job and send me a notification email with a dump of the last x lines of log file?
1
vote
0answers
134 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: # ...
15
votes
11answers
17k 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
319 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 ...
4
votes
1answer
315 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 ...
4
votes
3answers
1k 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 ...
7
votes
3answers
3k 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. ...
0
votes
0answers
44 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
166 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

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: $ ...
4
votes
1answer
210 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 ...
1
vote
1answer
812 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 ...
2
votes
2answers
185 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
1answer
61 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
1answer
92 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 ...
5
votes
3answers
1k 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 ...
6
votes
1answer
4k views

Error on .ini file trying to run supervisord

I am trying to use http://supervisord.org/. But came across and error. I have the supervisord.conf file in the same directory I am running this in. I tried to run supervisord for the first time on my ...
0
votes
1answer
367 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 ...
5
votes
3answers
11k 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 ...
0
votes
1answer
306 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
88 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
32 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
38 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
408 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
27 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
87 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
51 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
92 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
296 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
404 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
252 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
297 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
135 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
396 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
94 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 ...
14
votes
2answers
2k 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
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 ...