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
0answers
17 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
1answer
17 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 ...
2
votes
1answer
96 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
18 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
26 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
20 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
12 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 ...
1
vote
1answer
32 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 ...
0
votes
1answer
46 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
36 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 ...
1
vote
2answers
83 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 ...
0
votes
0answers
38 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 ...
1
vote
1answer
53 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 ...
0
votes
0answers
24 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 ...
2
votes
1answer
68 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
24 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
0answers
123 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
1answer
56 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
44 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
1answer
59 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
2answers
181 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
56 views

Supervisord, Flask, Tornado (exit status 1; not expected)

Having some issues getting supervisor to run my tornado apps. I have a REST API built with Flask, using Tornado to try and serve it. Problem I am having is that when I try to run with supervisor it ...
0
votes
0answers
66 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
25 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 ...
2
votes
1answer
152 views

Supervisord inet_http_server behind nginx

We have supervisord [inet_http_server] running on 127.0.0.1:9001. When we're trying to place it behind nginx - supervisord logtail stops working. Supervisord settings: [inet_http_server] port = ...
1
vote
0answers
162 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
35 views

Init script is not printing any output

I am trying to run Supervisor init script downloaded from here: https://raw.github.com/Supervisor/initscripts/master/debian-norrgard Reading the source, it should print out some output into stdout, ...
1
vote
1answer
185 views

Can Jenkins CI be monitored with supervisor?

I'm running Jenkins CI on an Ubuntu EC2 micro instance (it's the only thing running). Every so often, OOM killer strikes, which is a real pain (I've already configured jenkins memory usage to a bare ...
0
votes
0answers
87 views

Ubuntu 12.04 64-bit virtualenv memory limit

We have a server running 64-bit Ubuntu 12.04, which is serving a django application running under virtual environment, along with a celery worker. The problem is no process in the server uses more ...
0
votes
1answer
73 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
0answers
61 views

Controlling Apache Tika with Supervisord

I am using TikaJAXRS on my server to process files, a part of Apache Tika project. I made a service wrapper to run it. So normally, I run it with service tikaserver start. But basically, the command ...
0
votes
0answers
44 views

Supervisord flush log time period

I have noticed supervisord is flushing logs rather infrequently. I'm sure the app (running on node.js) sends output to stderr quickly (e.g. when running in console) but supervisor takes several ...
2
votes
1answer
952 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
56 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
181 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
votes
1answer
102 views

`pwd -P` preventing bash script from running in supervisord [closed]

I'm running supervisord to execute gunicorn. My problem is when my script contains CURR_DIR=`pwd -P` and run the script via supervisord, it STOPS the process. My script is located in /var/www/conf and ...
1
vote
2answers
1k views

How can I have Supervisor running my programs as another user?

I'm having a lot of trouble making supervisor running my commands with expanded environment variables. My supervisor conf. ; supervisor config file [unix_http_server] ...
0
votes
1answer
373 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
2answers
103 views

Using Supervisord, how can I start a brand new worker via supervisorctl without restarting other workers?

Let's say I have a number of existing workers running in supervisord. I want to add a new worker to the group as well as start the new worker. I perform the following steps: I modify the file ...
2
votes
2answers
409 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 ...
1
vote
1answer
220 views

Supervisord and stdout/stderr

For a program configuration block in Supervisord, is it necessary to set stderr_logfile if redirect_stderr is true? stderror_logfile=/path/to/logfile/stderr.log ...
2
votes
0answers
164 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 ...
0
votes
1answer
147 views

PYTHONPATH overwritten when running under supervisord

I have the following supervisor program config: [program:showvars] environment=TESTVAR=hi,PYTHONPATH=/home/eric/python/tools/ command=python /home/eric/showvars.py where showvars.py simply loops ...
1
vote
1answer
974 views

supervisord: error: <class 'socket.error'>

I can't get supervisord to work; after starting the process with: # supervisord -n -c /etc/supervisord.conf 2013-05-29 11:34:11,861 CRIT Supervisor running as root (no user in config file) 2013-05-29 ...
0
votes
3answers
230 views

Security best practice when running process as non-root user

So I'm trying to run Supervisor (http://supervisord.org/) as a non-root user. However the process outputs logs to the /var/log directory which is owned by root and has 755 permissions. Therefore ...
0
votes
1answer
175 views

Adding resque-web to Supervisord

I am running supervisord to keep Redis and other pieces of software up and running. However, I can not, for the life of me, get resque-web to work. This is the .ini that I'm including: ...
0
votes
1answer
40 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
1k views

Ubuntu - Supervisord and virtualenv

I'm attempting to run a series of Python apps from supervisor. It works fine on Mac OSX, but when I attempt to run the same app on Ubuntu, supervisor doesn't seem to be activating the virtualenv so my ...
0
votes
1answer
304 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 ...