Skip to content

Commit e90a564

Browse files
Nilix007nwse-fwn
authored andcommitted
Downgrade occasional "failed to acquire scoreboard" warning
With request timeouts configured, php-fpm occasionally prints the following warning: WARNING: failed to acquire scoreboard This is happens when php-fpm checks the child scoreboards for timeouts, but fails to acquire a lock immediately. As this can (and does) occur during normal operation, this commit downgrades this to a notice.
1 parent 789a37f commit e90a564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fpm_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now,
231231

232232
proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1);
233233
if (!proc_p) {
234-
zlog(ZLOG_WARNING, "failed to acquire scoreboard");
234+
zlog(ZLOG_NOTICE, "failed to acquire scoreboard");
235235
return;
236236
}
237237

0 commit comments

Comments
 (0)