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
4 views

How to add a prefix / label for services to supervisor stdout output

I'm using supervisor in docker images when I have to run multiple services in one image e.g. postfix and other mail services. When I redirect the stdout/stderr from all services to supervisor and ...
0
votes
0answers
12 views

how to work around “entered FATAL state, too many start retries too quickly” in supervisor

I'm just testing my supervisor with the simple program configuration: [program:test] command=python -c "print 'hello'" autostart=true autorestart=true exitcodes=1 user=ratdon ...
0
votes
0answers
25 views

Gunicorn Flask Deployment with Supervisord doesn't find command on boot

I am deploying a Flask application with Gunicorn, Nginx and Supervisord. Here is my config file for the application: [program:apwd-flask] command = /home/aaron/dev/apwd-flask/venv/bin/gunicorn ...
3
votes
1answer
41 views

Systemd causing multiple supervisor processes

I'm having a problem narrowing down where the issue is for my supervisor configuration that causes a program to be duplicated. I'm running a Python Tornado Web Server through an Nginx reverse proxy. ...
0
votes
1answer
49 views

Supervisorctl error on Ansible: [Errno 111] Connection refused: file: /usr/lib/python2.7/socket.py

It seems there are some problems with supervisor floating around: http://stackoverflow.com/questions/18859063/supervisor-socket-error-issue I tried the solution by essentially adding the "config" ...
0
votes
0answers
13 views

guncorn supervisor service is automatically getting restarted nginx

I am getting trouble for keeping service constantly running. my job_name.conf [group:job_name] programs=gunicorn_job_name [program:gunicorn_job_name] command=/var/www/job_name/bin/gunicorn_django ...
0
votes
1answer
56 views

Can't use supervisorctl outside of /etc/supervisor directory

I've been using supervisor for over a year now. It is installed from a Debian package. When I upgraded the package the other day, something break and I can't seem to figure out what. ~> sudo ...
0
votes
1answer
18 views

Supervisord creating multiple instances

[supervisord] nodaemon=true [program:haproxy] command=service haproxy start numprocs=1 autostart=true autorestart=true The conf file is creating four instances. Any ideas why this is happening? ...
0
votes
1answer
18 views

Delay haproxy 5 seconds in supervisord

I saw this on another thread which solved delaying a process start in supervisord (delayed 5 seconds): command=bash -c 'sleep 5 && uwsgi /etc/uwsgi.ini' How would one do this to do the ...
0
votes
1answer
36 views

rsyslog (exit status 0; not expected)

Before: root@haproxy:/# ps aux | grep rsyslog root 420 0.0 0.1 8860 648 ? S+ 12:38 0:00 grep --color=auto rsyslog Start Supervisord and error: root@haproxy:/# ...
-1
votes
1answer
30 views

Starting supervisord results in failure

My /etc/supervisor/conf.d/supervisord.conf: [supervisord] nodaemon=true [program:rsyslog] command=service rsyslog start startsecs 5 autostart=true autorestart=true I get the error: ...
1
vote
2answers
50 views

Supervisord commands to start rsyslog and haproxy

I've been trying to get these two to start when my docker image starts but they never seem to start. [supervisord] nodaemon=true [program:rsyslog] command=/bin/bash "service rsyslog start" ...
0
votes
1answer
28 views

CMD and supervisord

I am trying to get docker ENTRYPOINT or CMD to startup supervisor when the image is run. This is the last line in my Dockerfile: CMD ["service supervisor start"] This isn't working. I get the ...
0
votes
0answers
58 views

Not able to start supervisor with http server

I am not able to start supervisor when http server is enabled. (Adding inet_http_server section in the supervisord.conf). The error I am getting is below:- root@kibana-new:~# /etc/init.d/supervisor ...
1
vote
1answer
39 views

tail /dev/stderr from errors within supervisord php cli script

To make this simple, I want to know if it's possible to access the STDERR like a channel. I don't want the data to log to a file and then tail the file because the amount of information that I want to ...
0
votes
0answers
25 views

Ubuntu - Supervisor and virtualenv

Hello I am using supervisor with celery in order to run some tasks in a django web application. Celery seems to be having an issue finding/resolving, models from packages that have been installed ...
1
vote
0answers
27 views

Shutdown supervisord on subprocess exit

I'm attempting to run supervisord within a Docker instance. [supervisord] nodaemon=true [program:p1] command=p1 $P1_ENV autorestart=true ... [program:p2] command=p2 $P2_ENV autorestart=unexpected ...
1
vote
0answers
42 views

Supervisor doesn't run gunicorn with django

I want to run supervisor in my Django server with gunicorn and Nginx, but when I run "supervisord" the supervisor log says: 2015-11-06 23:23:36,746 INFO daemonizing the supervisord process 2015-11-06 ...
1
vote
0answers
43 views

Put ENTRYPOINT and CMD in Supervisor

I am trying to set up an image with two commands: ENTRYPOINT ["/app/bin/wait-mysql"] CMD ["runserver", "0.0.0.0:8000"] I want to put them in supervisor config file to execute with other commands. ...
0
votes
0answers
95 views

how to supervisord logs to syslog

I am using supervisord to manage my process. Say process A, I log to /data/log/A.log and I setup logrotate. Now, I need to pipe to syslog which automatically pipes to r syslog. Should I edit ...
0
votes
1answer
105 views

How do I chose between upstart, runit, supervisor, daemontools, and etc. for restarting a process if it dies?

I have a Nginx web proxy, gunicorn web server, and a python/flask web app. The Gunicorn process apparently died, and I want to ameliorate that in the future by looking into a utility that can monitor ...
0
votes
0answers
149 views

Nginx 502 Bad Gateway

Server X and Server Y are two virtual machines in different locations running with the same specs: Ubuntu 14.04.3 LTS 64-bit 8 CPU cores 12 Gb RAM They are both running the same Django application ...
0
votes
1answer
62 views

Cannot access supervisor web interface on guest machine from host

I set up an ubuntu virtual machine using Vagrant. In my Vagrantfile, I have configured a private network like in the example: config.vm.network "private_network", ip: "192.168.33.10 In ...
2
votes
2answers
251 views

Why use `bash -c` in supervisor instead of calling script directly?

I'm beginning to use supervisord to control services in my server. I'm not a pro user of linux but can get with it quite well and get it running. Just out of curiosity, I've noticed that most ...
1
vote
1answer
103 views

How to configure a newer version of Supervisord to start on system boot in Ubuntu 12.02?

How do you configure a newer version of supervisor to start on system boot in Ubuntu? Some distributions simply lag behind in their repositories. When I use easy install (as recommended by default on ...
0
votes
0answers
351 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
30 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
49 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
22 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
1answer
276 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 ...
1
vote
0answers
74 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 ...
0
votes
0answers
88 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
649 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
0answers
118 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
207 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
185 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 ...
1
vote
1answer
133 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
142 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 ...
0
votes
0answers
51 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 ...
1
vote
1answer
213 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
136 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
2answers
1k 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: # ...
3
votes
1answer
2k 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 ...
2
votes
0answers
376 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 ...
3
votes
1answer
2k 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 ...
4
votes
1answer
641 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 ...
0
votes
1answer
421 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
1k 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 ...
4
votes
2answers
5k 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: $ ...
0
votes
1answer
511 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 ...