The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
20 views

Canonical way to run Gunicorn with Python 3 [closed]

What is the best way to keep Gunicorn running with Python3? Supervisor seems like the simplest solution, but it does not work with Python3. The Gunicorn docs suggest using runit but I have seen some ...
0
votes
1answer
67 views

Networking: Does slavedisk0 take over for disk0 in the event of a fault?

My bootvar is set to boot up images from disk0. The 6500 series switch has two redundant supervisors. Each supervisor has a PCMCIA card with the exact same IOS images in the 0 slot. The secondary ...
0
votes
1answer
90 views

Recommended way to start supervisord from non-root bash script?

I have set up supervisor to monitor some processes. Because I deploy via remote script, I need a way to send supervisor start/stop commands without sudo. I'm not sure how to do this though. Is there ...
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 ...
-1
votes
1answer
81 views

Where can I learn fundamentals about hypervisors in context of other hardware virtualization solutions? [closed]

I am interested in learning more about hardware virtualization, with a specific focus on hypervisors. I am competent to manage a server and would be able to configure an environment to work using ...
5
votes
3answers
238 views

Supervisor VS cronjob

Actually I'm using supervisor to monitor a process and restart it when it stops for some reason. The problem is that in case of a supervisor crash the process stops get monitored. So I thought to ...
0
votes
0answers
80 views

Troubleshooting app crash

Every couple of days, my python app goes down, and though the logs seem to show that Supervisor restarts the process, when I visit the app in the browser I get the following message: Internal Server ...
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
88 views

supervisord: Don't start a programm before another one is running

I am using supervisor on Ubuntu with several programs to supervise. Is it possible to configure supervisor so it doesn't start a program before another specific program has successfully started? I.e. ...
0
votes
0answers
51 views

Elastic scaling of worker processes / daemons?

We're using supervisord to manage various daemons that do work for our system. Often we have many identical daemons in a "worker pool" which perform tasks from a queue. Some aspects of the system ...
1
vote
1answer
218 views

How can I optimize system resource usage for many different gunicorn powered Django sites with low traffic?

My server is a Linode with 768MB of RAM. It is home to around 8 small, low traffic Django sites powered by Nginx, Supervisor, and Gunicorn. Currently, each site has its own Linux user account, with ...
0
votes
1answer
138 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 ...
2
votes
1answer
182 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, ...
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 ...
0
votes
1answer
201 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 ...
3
votes
1answer
704 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 ...
0
votes
1answer
463 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 ...
1
vote
2answers
481 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 ...
2
votes
1answer
802 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 ...
1
vote
0answers
116 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 ...
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
2answers
72 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 ...
5
votes
1answer
386 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: ...
0
votes
1answer
280 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?
0
votes
1answer
339 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 ...
1
vote
1answer
220 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 ...
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 ...
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 ...
0
votes
2answers
479 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?
6
votes
1answer
3k 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 ...
0
votes
2answers
765 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] ...
6
votes
5answers
4k 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 ...
0
votes
1answer
354 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 ...
0
votes
3answers
2k 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 ...
0
votes
1answer
168 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?
2
votes
2answers
2k 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 ...
0
votes
3answers
3k 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 ...
1
vote
1answer
1k views

Entering supervisor mode in PhoenixBIOS

I'm trying to change the boot order on a VM that uses PhoenixBIOS. I can get to the setup utility. However, I can't figure out how to get into supervisor mode, which is required to change the boot ...
1
vote
2answers
823 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 ...
10
votes
2answers
5k 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 ...
28
votes
7answers
16k 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. ...