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)

3
votes
1answer
514 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
207 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
84 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
510 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
717 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
88 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
350 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
476 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
27 views

Supervisor settings environment variables and getting a Error: Unexpected end of key/value pairs

Folks, I'm trying to move something into a docker container, which means a shift from running it as a daemon into a stand alone process controlled by supervisord. Now I don't have much experience ...
0
votes
1answer
72 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
188 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
104 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
182 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
1answer
216 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
244 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
199 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
134 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
48 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
572 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
171 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
569 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
598 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
629 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
395 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
310 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
298 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
22 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 ...
1
vote
0answers
54 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 ...
1
vote
0answers
63 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
124 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
55 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
30 views

recv not ready (11: Resource temporarily unavailable)) (nginx/1.1.19, supervisorctl, gunicorn )

I have site on Ubuntu 12.04.5 LTS, django (supervisorctl, gunicorn). It work 1 year without problems, but today my zabbix server sending me messages about alerts (every 3-7 minutes) about timeout (for ...
0
votes
0answers
14 views

Ubuntu : Unexpected process count of erlang

While checking the 'htop' output, my ubuntu server shows plenty of unexpected processes of erlang. /usr/lib/erlang/erts-5.10.4/bin/beam.smp -W w -K true -A30 -P I have several supervisor services ...
0
votes
0answers
13 views

Is there a way to kill jobs during a Jenkins rebuild?

UPDATE AT BOTTOM I have Jenkins running as the user "jenkins" and I have Supervisord running as the user "root". I thought I could build a system where: 1.) Jenkins pulls newest code, builds it, ...
0
votes
0answers
16 views

How would I tell Supervisord that these messages don't belong in stderr?

Problem: Supervisord is writing an apps startup messages to stderr, but they should go to stdout. Jenkins seems to think the app has failed. Yesterday I set up a system that works like this: 1.) ...
0
votes
0answers
32 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
265 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 ...
0
votes
0answers
107 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.
0
votes
0answers
38 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
81 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
33 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
84 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
121 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
107 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
58 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
145 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
116 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
736 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 ...
-3
votes
0answers
9 views

supervisord not available via http interface

I have my supervisor.conf as follows [inet_http_server] port=127.0.0.1:9001 username=user password=123 and my nginx config is server { listen 80 default_server; access_log ...