Git Product home page Git Product logo

Comments (4)

joshporter avatar joshporter commented on July 23, 2024

+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.

Dareen avatar Dareen commented on July 23, 2024

+1

from php-dockerized.

vitosans avatar vitosans commented on July 23, 2024

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.

kasperisager avatar kasperisager commented on July 23, 2024

Just got around to taking a look at this; let me know if 66c5981 fixes the issue.

from php-dockerized.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.