|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77223 php-fpm.log:WARNING: failed to acquire scoreboard
Submitted: 2018-11-30 07:37 UTC Modified: 2018-11-30 07:44 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: 2192200 at qq dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: 5.6Git-2018-11-30 (Git) OS: Ubuntu 6.3.0-12ubuntu2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
27 - 17 = ?
Subscribe to this entry?

 [2018-11-30 07:37 UTC] 2192200 at qq dot com
Open php-fpm.conf, slowlog = /data/weblog/php/$pool.log.slow, in the php-fpm.log will appear WARNING: failed to acquire scoreboard, close slowlog, it is normal.
The php process will die, reload can't be pulled, you must use restart.
Optimized by xhprof and kernel.shmmax and kernel.shmall kernel, not shared memory issues.
php-version:PHP 5.6.36 (cli) (built: Jun 21 2018 10:42:06)

Test script:
slowlog = /data/weblog/php/$pool.log.slow

[23-Nov-2018 20:46:20] WARNING: failed to acquire scoreboard
[23-Nov-2018 23:51:43] WARNING: failed to acquire scoreboard
[24-Nov-2018 00:05:04] WARNING: failed to acquire scoreboard
[24-Nov-2018 01:40:56] WARNING: failed to acquire scoreboard
[24-Nov-2018 04:57:59] WARNING: failed to acquire scoreboard


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-30 07:44 UTC] 2192200 at qq dot com
void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now, int terminate_timeout, int slowlog_timeout) /* {{{ */
	struct fpm_scoreboard_proc_s proc, *proc_p;

	proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1);
	if (!proc_p) {
		zlog(ZLOG_WARNING, "failed to acquire scoreboard");

	proc = *proc_p;

	if (child->slow_logged.tv_sec) {
		if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accepted.tv_usec) {
			child->slow_logged.tv_sec = 0;
			child->slow_logged.tv_usec = 0;
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri May 29 08:01:28 2020 UTC