Bug #53311 [Com]: startup failed.

From: Date: Tue, 16 Nov 2010 21:26:37 +0000
Subject: Bug #53311 [Com]: startup failed.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156092@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53311&edit=1

 ID:                 53311
 Comment by:         fat@php.net
 Reported by:        paulgao at yeah dot net
 Summary:            startup failed.
 Status:             Feedback
 Type:               Bug
 Package:            FPM related
 Operating System:   Centos 64-bit 5.5
 PHP Version:        5.3SVN-2010-11-15 (SVN)
 Assigned To:        fat
 Block user comment: N
 Private report:     N

 New Comment:

with which user do you run FPM ? 

Try to set daemonize = off in php-fpm.conf and run it again.


Previous Comments:
------------------------------------------------------------------------
[2010-11-16 09:23:02] paulgao at yeah dot net

I use patch V2.

if old fpm.log not remove, startup still failed.

but old fpm.log removed, startup is OK. restart is OK too.

what problem?

------------------------------------------------------------------------
[2010-11-16 09:17:44] fat@php.net

can you:

1- stop FPM
2- remove or move /home/logs/fpm.log
3- set log level to DEBUG
4- run FPM
5- dump the content of /home/logs/fpm.log here

thx

------------------------------------------------------------------------
[2010-11-16 09:05:46] fat@php.net

Please use fpm-zlog_set_fd.v2.patch instead of
fpm-zlog_set_fd.v1.patch.

thx

------------------------------------------------------------------------
[2010-11-16 09:05:19] fat@php.net

The following patch has been added/updated:

Patch Name: fpm-zlog_set_fd.v2.patch
Revision:   1289894719
URL:       
http://bugs.php.net/patch-display.php?bug=53311&patch=fpm-zlog_set_fd.v2.patch&revision=1289894719

------------------------------------------------------------------------
[2010-11-16 03:24:22] paulgao at yeah dot net

-tt output:

Nov 16 10:23:42.631153 [NOTICE] [General]
Nov 16 10:23:42.631199 [NOTICE]         pid = /home/php-fpm.pid
Nov 16 10:23:42.631205 [NOTICE]         daemonize = yes
Nov 16 10:23:42.631232 [NOTICE]         error_log = /home/logs/fpm.log
Nov 16 10:23:42.631239 [NOTICE]         log_level = NOTICE
Nov 16 10:23:42.631244 [NOTICE]         process_control_timeout = 5s
Nov 16 10:23:42.631250 [NOTICE]         emergency_restart_interval =
60s
Nov 16 10:23:42.631256 [NOTICE]         emergency_restart_threshold =
10
Nov 16 10:23:42.631268 [NOTICE]  
Nov 16 10:23:42.631283 [NOTICE] [www]
Nov 16 10:23:42.631288 [NOTICE]         prefix = undefined
Nov 16 10:23:42.631294 [NOTICE]         user = nobody
Nov 16 10:23:42.631303 [NOTICE]         group = nobody
Nov 16 10:23:42.631308 [NOTICE]         chroot = 
Nov 16 10:23:42.631323 [NOTICE]         chdir = 
Nov 16 10:23:42.631329 [NOTICE]         listen = 0.0.0.0:8001
Nov 16 10:23:42.631334 [NOTICE]         listen.backlog = -1
Nov 16 10:23:42.631340 [NOTICE]         listen.owner = undefined
Nov 16 10:23:42.631352 [NOTICE]         listen.group = undefined
Nov 16 10:23:42.631359 [NOTICE]         listen.mode = 0666
Nov 16 10:23:42.631364 [NOTICE]         listen.allowed_clients =
undefined
Nov 16 10:23:42.631370 [NOTICE]         pm = dynamic
Nov 16 10:23:42.631375 [NOTICE]         pm.max_children = 48
Nov 16 10:23:42.631381 [NOTICE]         pm.max_requests = 0
Nov 16 10:23:42.631391 [NOTICE]         pm.start_servers = 16
Nov 16 10:23:42.631405 [NOTICE]         pm.min_spare_servers = 16
Nov 16 10:23:42.631411 [NOTICE]         pm.max_spare_servers = 32
Nov 16 10:23:42.631417 [NOTICE]         pm.status_path = /fpm_status
Nov 16 10:23:42.631423 [NOTICE]         ping.path = /fpm_ping
Nov 16 10:23:42.631428 [NOTICE]         ping.response = pong
Nov 16 10:23:42.631452 [NOTICE]         catch_workers_output = yes
Nov 16 10:23:42.631458 [NOTICE]         request_terminate_timeout = 0s
Nov 16 10:23:42.631464 [NOTICE]         request_slowlog_timeout = 1s
Nov 16 10:23:42.631478 [NOTICE]         slowlog =
/home/logs/fpm_slow.log
Nov 16 10:23:42.631484 [NOTICE]         rlimit_files = 51200
Nov 16 10:23:42.631489 [NOTICE]         rlimit_core = 0
Nov 16 10:23:42.631495 [NOTICE]  
Nov 16 10:23:42.631515 [NOTICE] configuration file
/home/codebase/server-config/php-fpm-api-test.ini test is successful

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=53311


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53311&edit=1


Thread (36 messages)

« previous php.bugs (#156092) next »