php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70645 Resetting counters on status page
Submitted: 2015-10-05 15:36 UTC Modified: 2023-02-05 18:42 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: inakma87 at gmail dot com Assigned: bukka (profile)
Status: Not a bug Package: FPM related
PHP Version: 5.5.30 OS: Centos 6.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: inakma87 at gmail dot com
New email:
PHP Version: OS:

 

 [2015-10-05 15:36 UTC] inakma87 at gmail dot com
Description:
------------
When I have got a slow request in PHP-fpm, counters(accepted conn, idle processes, active processes, total processes) are reset.
accepted conn:        1
idle processes:       0
active processes:     1
total processes:      1

php -v
PHP 5.5.30 (cli) (built: Oct  1 2015 09:29:18) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with XCache v3.1.1, Copyright (c) 2005-2014, by mOo
    with XCache Optimizer v3.1.1, Copyright (c) 2005-2014, by mOo
    with XCache Cacher v3.1.1, Copyright (c) 2005-2014, by mOo
    with XCache Coverager v3.1.1, Copyright (c) 2005-2014, by mOo

Same situation on the PHP 5.4.35.
What is it? Feature or bug?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-02-05 18:41 UTC] bukka@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bukka
 [2023-02-05 18:41 UTC] bukka@php.net
Apology for long silence. I finally managed to look on this one.

I did few tests and I don't see anything wrong and honestly I don't know what is exactly the problem from reading the report description as it is not described what actually got reset. If there was just a single slow request, this would be expected and that one child will be the active process with accepted connection. It also depends a lot on the configuration and pm used which is not shared here. There has been also significant fixes in status / scoreboard handling since 5.5 so it's possible that if there was an issue, it might have gotten fixed.

For that reason I will close this. But if there is still an issue noticed on PHP 8.1+, please open a GitHub issue and provide the FPM config and more detailed description what actually happened (what values got reset, expected values considering traffic on the server and so on).
 [2023-02-05 18:42 UTC] bukka@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 08:01:27 2024 UTC