Questions tagged [supervisord]

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Node app crashes after a while on micro EC2 instance even with supervisor

I'm using supervisor to start my node.js application on a micro EC2 instance. However, the app only stays running for some time until it eventually shuts down. Not exactly sure how long the app stays ...
Justin Meltzer's user avatar
0 votes
1 answer
193 views

supervisord failed to start nagiosapi after reboot, need to run reload manually

I have supervisord to start nagiosapi everytime the server starts. The API created a status dump file called status.dat, which will get updated periodically. The following is the conf file that starts ...
Bajingan Keparat's user avatar
7 votes
1 answer
5k 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' If ...
mfsaint's user avatar
  • 201
2 votes
1 answer
3k views

Gearman workers still running after the job server and Supervisor have been shutdown

I have shutdown Gearman, using the (echo shutdown ; sleep 0.1) | netcat 127.0.0.1 4730 -w 1 command. I've also stopped Supervisor using /etc/init.d/supervisord stop. However, when I run a ps -aux, ...
Jingo's user avatar
  • 175
4 votes
2 answers
3k views

How do you run supervisord in foreground?

Is there a way to run supervisord itself in foreground mode? or is there another application that can run/supervise multiple applications and shut them down when itself receives a SIGTERM or ...
Adam Terrey's user avatar
7 votes
1 answer
7k 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 ...
skrat's user avatar
  • 515
9 votes
3 answers
7k 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 enough,...
Brad Montgomery's user avatar
1 vote
1 answer
2k 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 [program:...
Jan Hančič's user avatar
3 votes
1 answer
3k views

Supervisor sentry-web exit status 1

I'm having problems getting Sentry (https://www.getsentry.com - not enough rep for a link) running as a service using supervisor. I can run Sentry in the command line and view it correctly in the ...
rockingskier's user avatar
15 votes
1 answer
6k views

Limit which processes a user can restart with supervisor?

I have used supervisor to manage a Gunicorn process running a Django site, though this question could pertain to anything being managed by supervisor. Previously I was the only person managing and ...
dvcolgan's user avatar
  • 395
3 votes
1 answer
2k 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 ? ...
Santhosh S's user avatar
2 votes
1 answer
2k views

Supervisord: Can supervisord monitor remote processes

Can supervisord be used to start remote processes, monitor and manage the processes?
Santhosh S's user avatar
1 vote
2 answers
2k views

Is there any equivalent to php5-cgi for python?

nginx doesn't allow to directly execute external programs, so to run CGIs you need to run an standalone fcgi backend and connect to it with the fastcgi_pass directive. For php it's easy, e.g. using ...
Jaime Soriano's user avatar
6 votes
1 answer
6k views

Optimize number of workers for several gunicorn instances

I'm configuring gunicorn (monitored by supervisord and behind an nginx frontend) and got a bit confused about the optimal number of processes to setup. In the documentation it is clearly explained ...
Stefano's user avatar
  • 783
4 votes
0 answers
3k 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 ...
larsks's user avatar
  • 44.9k
0 votes
1 answer
866 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: ...
Freddie's user avatar
  • 111
0 votes
2 answers
106 views

vmware esx, report error from guest to the hypervisor

I have a windows 2003 server running under vmware esx. For weird reasons, outside of our control, sometimes the guest tcp/ip stack stops working. So, for example, remote desktop connections don't ...
Massimo's user avatar
  • 260
26 votes
2 answers
18k 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: ...
Prody's user avatar
  • 623
2 votes
1 answer
2k 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: [program:...
user avatar
6 votes
1 answer
11k views

How do I use supervisord's environment option in program sections?

The supervisord documentation states that No shell is executed by supervisord when it runs a subprocess, so environment variables such as USER, PATH, HOME, SHELL, LOGNAME, etc. are not changed ...
user avatar
1 vote
1 answer
3k views

What's the difference between cron and services like Supervisord?

Recently I came across supervisor while researching beanstalk stuff. Can someone explain to me why I might use a process management service like that instead of plain old cron jobs?
joshholat's user avatar
  • 193
1 vote
2 answers
13k views

Supervisor - how to get a program to run at intervals of time

Perhaps I'm misunderstanding with Supervisor does, but perhaps me asking this question will help clear that up. Basically, I have a Supervisor program in my /etc/supervisord.conf file that executes a ...
joshholat's user avatar
  • 193
6 votes
3 answers
5k views

Getting an error while installing supervisord on ubuntu 11.04. Any way to fix this?

# aptitude install supervisor The following NEW packages will be installed: python-medusa{a} python-meld3{a} supervisor 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need ...
Andres's user avatar
  • 201
2 votes
2 answers
5k views

Allow all users of a group to start and stop zope using supervisorctl

I'm just making some changes to the way we run Zope following a recent security advisory. In the advisory it says: “Make sure that the Zope/Plone service is running with with minimum privileges. ...
scarba05's user avatar
  • 333
0 votes
1 answer
1k views

changing python runtime maximum recursion limit

I am trying to install supervisord on a ubuntu ec2 server. When running easy_install I get the following error: > easy_install supervisor ... RuntimeError: maximum recursion depth exceeded I know ...
Dave's user avatar
  • 29
3 votes
0 answers
176 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 ...
user11243's user avatar
  • 163
1 vote
3 answers
2k 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 'xmlrpclib....
damon's user avatar
  • 171
1 vote
2 answers
1k 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 ...
Plinio's user avatar
  • 131
0 votes
3 answers
626 views

When installing supervisord, how to get it to start on reboots?

I'm on a ubuntu server, once I install supervisord will it start on reboots? How can I find this out?
Blankman's user avatar
  • 2,901
38 votes
2 answers
17k 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?
Sebastian Hoitz's user avatar
7 votes
1 answer
6k views

Django + gunicorn + virtualenv + Supervisord issue

I have a strange issue with my virtualenv + gunicorn setup, only when gunicorn is launched via supervisord. I do realize that it may very well be an issue with my supervisord and I would appreciate ...
Florian Le Goff's user avatar
0 votes
2 answers
3k views

Supervisord doesn't stop nginx process

I'm using Supervisor a lot, and in this project I have an nginx process managed by Supervisord. The relevant parts of the configuration is this: [supervisord] logfile=/home/projects/eceee-web/prod/...
Lennart Regebro's user avatar
103 votes
13 answers
195k 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 ...
grucha's user avatar
  • 1,143
0 votes
1 answer
425 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 ...
Arenstar's user avatar
  • 3,610
2 votes
2 answers
9k views

Django, uWSGI and Supervisord config

OK I have Django, nginx and uWSGI set up on my server...the problem is I start uWSGI manually via this command: uwsgi -s /home/user/sites/sock/uwsgi.sock -t 10 -M -p 1 -C --pythonpath /home/user/...
Veles's user avatar
  • 135
0 votes
1 answer
243 views

SNMP Mibs and Agent

I got an answer to you, I've got a supervisor server (Nagios+Centreon), how could I add a constructor specific mib into my Server? Would I need any special Agent with these mibs?
Dr I's user avatar
  • 975
17 votes
3 answers
56k 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 ...
Bjorn's user avatar
  • 453
8 votes
3 answers
33k views

How can I run supervisord without using root?

I seem to be having trouble figuring out why supervisord won't run as a non-root user. If I start it with the user set to jason (pid 1000), I get the following in the log file: 2010-05-24 08:53:32,...
Jason Baker's user avatar
  • 1,219
6 votes
2 answers
8k views

How do I automatically start supervisor on boot in FreeBSD?

Is there a pre-existing startup script for supervisord on FreeBSD? If not, is there a good guide for writing rc.d scripts for FreeBSD? I'm pretty new to the platform. Thanks. UPDATE: I now have the ...
Hank Gay's user avatar
  • 375
67 votes
3 answers
58k views

Supervisor HTTP Server Port Issue

I have supervisor setup to manage a few processes. It works perfectly fine when I boot my server, however when I stop it and try to start it again it fails and give's me this error msg: * Starting ...
user avatar
38 votes
7 answers
168k views

How to automatically start supervisord on Linux (Ubuntu)

Supervisord does not come with an init script or does not indicate how to get it started automatically, ie. after a reboot. I've tried some user-contributed /etc/init.d scripts, but they all fail. ...
user avatar

1 2 3 4
5