Supervisord is a lightweight, Python-based application for controlling and monitoring daemonized-processes on Unix-like systems.
1
vote
2answers
234 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 ...
4
votes
1answer
395 views
Running django custom management commands with supervisord
I'd like to use supervisord to run some commands for my Django project but I keep getting the following error:
supervisor.log:
2012-05-18 17:52:15,784 INFO spawnerr: can't find command 'source'
...
2
votes
1answer
42 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
657 views
Can't reload supervisor with supervisorctl 'reload' command
I'm running supervisord on my CentOS 6 box like so,
/usr/bin/supervisord -c /etc/supervisord.conf
and when I launch supervisorctl all process status are fine,
but if I try the reload command in ...
2
votes
1answer
170 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 ?
...
1
vote
1answer
175 views
supervisor.con on centos 6
I installed supervisor using easy_install, however, the conf file seems to be missing, and I really wanted to have a base to start my configuration.
Does anyone know where can I find this file or an ...
1
vote
1answer
194 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
1answer
22 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
92 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
37 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
334 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
252 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 ...
2
votes
0answers
99 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 ...
2
votes
0answers
100 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
56 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 ...
1
vote
0answers
42 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
0answers
360 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 ...
1
vote
0answers
338 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
20 views
How to automatically restart supervisord when it dies?
I have Supervisord running three programs for me every second. The problem is, twice now I've woken up to find that it died. Once it was running perfectly when only one of the 3 programs stop, and ...
0
votes
0answers
93 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
...
0
votes
0answers
76 views
How to have supervisord follows the new unicorn process after USR2 rolling restart?
I have configured supervisord to track my unicorn server process. When I send USR2 process, this performs a rolling restart. After this operation the old unicorn master have restarted and then changed ...