16 down vote favorite 2 Here's a preview of the status running supervisorctl status every 2 seconds
来源:互联网 发布:雪人翻译软件 编辑:程序博客网 时间:2024/06/05 02:16
http://stackoverflow.com/questions/23216819/nginx-with-supervisor-keep-changing-status-b-w-running-and-starting
Here's a preview of the status running supervisorctl status
every 2 seconds:
[root@docker] ~ # supervisorctl statusnginx RUNNING pid 2090, uptime 0:00:02[root@docker] ~ # supervisorctl statusnginx STARTING [root@docker] redis-2.8.9 # supervisorctl statusnginx RUNNING pid 2110, uptime 0:00:01
Is this a normal thing for nginx to respawn every few seconds ? Knowing that nginx is setup to be run in the background with this setup:
[program:nginx]command=/usr/sbin/nginxstdout_events_enabled=true
stderr_events_enabled=true
========================================
Its been a long time, but it might help someone else... set "daemon off" in your nginx config. Supervisord requires processes not to run as daemons.
0 0
- 16 down vote favorite 2 Here's a preview of the status running supervisorctl status every 2 seconds
- What's the easiest way to call a function every 5 seconds in jQuery?
- the server responded with a status of 404 (Not Found)
- the server responded with a status of 406 (Not Acceptable)
- [c++] Monitoring the Computer's Power Status and Lid status
- java.lang.IllegalStateException: Failed to check the status of the service org.cdc.system.service.S
- S 7 - Status bar overlaps the view
- O-MG, the Developer Preview of Android O is here!
- The Eclipse Web Tools Platform (WTP) 1.5.2 Status as of 2006-10-31
- The “Experimental” status of Multipath TCP
- Failed to check the status of the service com.taotao.search.service.SearchItemSerivce. No provider a
- returned a response status of 403 Forbidden
- Running in a Background Service 之Reporting Work Status
- Showing a Message in the Browser's Status Bar:在浏览器的状态栏中显示信息
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- SharePoint Debug - Failed to load resource: the server responded with a status of 500
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- React Native 之 width与height
- 从oppo vivo手机开始散谈
- 模拟IC强强整合,ADI 以148亿美元收购Linear
- 仿QQ空间的一款APP(一)
- 面向对象设计模式Solid设计原则
- 16 down vote favorite 2 Here's a preview of the status running supervisorctl status every 2 seconds
- 每天工作4小时的程序员
- opencv 存储图像 & 递归搜索路径
- 检测键盘的出现跟消失
- main(int argc,char **argv)参数解析
- Spring PropertyPlaceholderConfigurer使用
- Swift 3.0 通知的注册,监听及销毁
- 回车登录兼容代码
- java之内省技术