Comments (4)
+1 same issue for me too.
front_1 | 'Supervisord is running as root and it is searching '
front_1 | 2015-06-11 15:53:31,593 CRIT Supervisor running as root (no user in config file)
front_1 | 2015-06-11 15:53:31,593 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
front_1 | 2015-06-11 15:53:31,635 INFO RPC interface 'supervisor' initialized
front_1 | 2015-06-11 15:53:31,635 CRIT Server 'unix_http_server' running without any HTTP authentication checking
front_1 | 2015-06-11 15:53:31,636 INFO supervisord started with pid 1
front_1 | 2015-06-11 15:53:32,638 INFO spawned: 'nginx' with pid 11
front_1 | 2015-06-11 15:53:32,640 INFO spawned: 'hhvm-fastcgi' with pid 12
front_1 | 2015-06-11 15:53:32,644 INFO spawned: 'php5-fpm' with pid 13
front_1 | 2015-06-11 15:53:33,039 INFO exited: php5-fpm (exit status 0; not expected)
front_1 | 2015-06-11 15:53:34,047 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
front_1 | 2015-06-11 15:53:34,047 INFO success: hhvm-fastcgi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
front_1 | 2015-06-11 15:53:34,053 INFO spawned: 'php5-fpm' with pid 24
front_1 | 2015-06-11 15:53:34,190 INFO exited: php5-fpm (exit status 70; not expected)
front_1 | 2015-06-11 15:53:34,192 CRIT reaped unknown pid 26)
front_1 | 2015-06-11 15:53:36,197 INFO spawned: 'php5-fpm' with pid 27
front_1 | 2015-06-11 15:53:36,227 INFO exited: php5-fpm (exit status 70; not expected)
front_1 | 2015-06-11 15:53:36,230 CRIT reaped unknown pid 29)
front_1 | 2015-06-11 15:53:39,235 INFO spawned: 'php5-fpm' with pid 30
front_1 | 2015-06-11 15:53:39,268 INFO exited: php5-fpm (exit status 70; not expected)
front_1 | 2015-06-11 15:53:39,271 INFO gave up: php5-fpm entered FATAL state, too many start retries too quickly
front_1 | 2015-06-11 15:53:39,271 CRIT reaped unknown pid 32)
from php-dockerized.
+1
from php-dockerized.
The problem is php5-fpm is running in daemon mode. Which supervisor does not like.
I added the following to my Dockerfile:
RUN sed -i 's/;daemonize = yes/daemonize = no/g' /etc/php5/fpm/php-fpm.conf
And also my supervisord entry for php5-fpm looks like this:
[program:php5-fpm]
command=/usr/sbin/php5-fpm
priority=999
username=www-data
autostart=true
autorestart=unexpected
redirect_stderr=true
exitcodes=0
Let me know if these fixes it.
from php-dockerized.
Just got around to taking a look at this; let me know if 66c5981 fixes the issue.
from php-dockerized.
Related Issues (20)
- docker-compose up stuck HOT 4
- Not working collectstatic HOT 3
- did you consider database volumes HOT 2
- How can I run commands on the front service? HOT 2
- How to debug using Xdebug HOT 5
- Can I use phpmyadmin HOT 1
- Can't connect to mysql: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' HOT 3
- [ASK] How do I apply some custom configuration? HOT 3
- How to use HHVM HOT 1
- Errors HOT 2
- How to use supervisor php5-fpm logging? HOT 5
- Mysql configuration HOT 3
- How can i place multiple projects in the www folder HOT 2
- gettext support HOT 3
- docker-compose up stuck at step 3/18. HOT 4
- Win 10 issues HOT 1
- not php AMQPConnection HOT 1
- Is there anyway to make this work in a docker swarm cluster HOT 3
- Wrong Java version error on Elasticsearch container HOT 1
- HHVM segmentation fault
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 php-dockerized.