Comments (6)
Here is htop output
supervisord -c config.conf -d
1 root 20 0 117M 5972 3920 S 0.0 0.1 0:02.46 /sbin/init splash
6955 siecje 20 0 135M 6364 5480 S 0.0 0.2 0:00.02 ├─ ./supervisord -c config.conf -d
6975 siecje 20 0 135M 6364 5480 S 0.0 0.2 0:00.00 │ ├─ ./supervisord -c config.conf -d
6965 siecje 20 0 4508 792 716 S 0.0 0.0 0:00.00 │ ├─ /bin/sh /home/siecje/Desktop/one.sh
6966 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.10 │ │ └─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6974 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ │ ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6973 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ │ ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6972 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ │ ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
supervisord ctl stop one
1 root 20 0 117M 5972 3920 S 0.0 0.1 0:02.46 /sbin/init splash
6966 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.11 ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6974 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6973 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6972 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ ├─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6971 siecje 20 0 346M 19876 7252 S 0.0 0.5 0:00.00 │ └─ /home/siecje/.virtualenvs/edms/bin/python /home/siecje/Desktop/one.py
6955 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.03 ├─ ./supervisord -c config.conf -d
6975 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.00 │ ├─ ./supervisord -c config.conf -d
6963 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.00 │ ├─ ./supervisord -c config.conf -d
6962 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.00 │ ├─ ./supervisord -c config.conf -d
6961 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.00 │ ├─ ./supervisord -c config.conf -d
6960 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.01 │ ├─ ./supervisord -c config.conf -d
6959 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.00 │ ├─ ./supervisord -c config.conf -d
6958 siecje 20 0 135M 7036 5992 S 0.0 0.2 0:00.00 │ └─ ./supervisord -c config.conf -d
from supervisord.
$ supervisord ctl status
one RUNNING pid 6965, uptime 0:09:33
$ supervisord ctl stop one
one: stopped
$ supervisord ctl status
one RUNNING pid 6965, uptime 0:09:41
from supervisord.
I will check this issue soon
from supervisord.
I fixed this issue and please try it again
from supervisord.
Fixed with 448b337! Thank you very much!
from supervisord.
The example above works but it is not working with more than one child processes.
I'm running Jupyterhub with supervisord.
[program:jupyterhub]
autostart=false
command=/boot/app/jupyterhub/jupyterhub.sh
process_name=%(program_name)s
startretries=5
stdout_logfile=syslog
stderr_logfile=syslog
stopsignal=TERM
user=jupyterhub:app
jupyterhub.sh
#!/bin/sh
export PYTHONOPTIMIZE="1" # forces python -O
JUPYTERHUB_PATH="/boot/tp/python3/bin/jupyterhub"
if [ -f /boot/DEBUG_PYTHON ]; then
export PYTHONOPTIMIZE="" # disables it (ie: no -O assumed)
fi
PATH=/boot/tp/bin:"${PATH}"
"${JUPYTERHUB_PATH}" -f /boot/app/jupyterhub/jupyterhub_config.py
When I do supervisord ctl stop jupyterhub
, it just hangs forever and does return to the prompt.
Before supervisord ctl stop jupyterhub
1 root 20 0 9752 1992 1880 S 0.0 0.1 0:00.46 init
860 root 20 0 1591M 18956 6172 S 0.0 1.0 0:00.07 `- /boot/tp/bin/supervisord -c /boot/pcore/sysfiles/supervisord.conf -d
1444 jupyterhu 20 0 9752 928 840 S 0.0 0.0 0:00.00 | `- /bin/sh /boot/app/jupyterhub/jupyterhub.sh
1445 jupyterhu 20 0 381M 45500 8436 S 0.0 2.3 0:00.40 | | `- /boot/tp/python3/bin/python3 /boot/tp/python3/bin/jupyterhub -f /boot/app/jupyterhub/jupyterhub_config.py
1591 jupyterhu 20 0 169M 18588 6912 S 0.0 0.9 0:00.06 | | `- /boot/tp/bin/python /boot/app/jupyterhub/cull_idle_servers.py --timeout=3600
1583 jupyterhu 20 0 851M 31224 20468 S 0.0 1.6 0:00.12 | | `- node /boot/tp/bin/configurable-http-proxy --log-level=WARN --ip --port 8000 --api-ip 127.0.0.1 --api-port 8001 --error-target http://127.0.0.1:8081/notebooks/hu
After
1 root 20 0 9752 1992 1880 S 0.0 0.1 0:00.46 init
1591 jupyterhu 20 0 169M 18588 6912 S 0.0 0.9 0:00.06 `- /boot/tp/bin/python /boot/app/jupyterhub/cull_idle_servers.py --timeout=3600
1583 jupyterhu 20 0 851M 31224 20468 S 0.0 1.6 0:00.12 `- node /boot/tp/bin/configurable-http-proxy --log-level=WARN --ip --port 8000 --api-ip 127.0.0.1 --api-port 8001 --error-target http://127.0.0.1:8081/notebooks/hub/error
860 root 20 0 1591M 18956 6172 S 0.0 1.0 0:00.07 `- /boot/tp/bin/supervisord -c /boot/pcore/sysfiles/supervisord.conf -d
from supervisord.
Related Issues (20)
- @
- web界面显示的进程数量超过65个后,其余进程状态不显示
- Missing dependency in v0.7.3 (fileb0x)
- terminate supervisord when no children processes left
- 100 eventlisteners, supervisord_golang can not start HOT 2
- Supervisord considers an exited process as still running
- supervisord-v0.7.3-ce01615 version incorrcet
- [bug] restart show success but actually failed HOT 1
- windows下有其他的守护工具可以使用吗? 直接使用的软件也可以。 HOT 1
- Could you please release up-to-date binaries? HOT 2
- Go version uses 2.5 more RAM than python one HOT 1
- Crash on CentOS 8 Stream
- 请问什么时候发新版本?谢谢 HOT 2
- Feature suggestion: an option to execute a binary (or a script) before starting the main binary being monitored, and an option to execute one after start of monitored binary
- ARM version in docker hub
- Logs HOT 1
- 有个错误帮忙看看下, dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `go != NULL' failed. HOT 2
- supervisord ctl status group:* is nonsupport ?
- Issue with supervisord version
- There are many issues that I don't know where to start.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supervisord.