You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/05/11 18:11:31 UTC

[Bug 57917] New: Random latency in reentrant calls

https://bz.apache.org/bugzilla/show_bug.cgi?id=57917

            Bug ID: 57917
           Summary: Random latency in reentrant calls
           Product: Apache httpd-2
           Version: 2.4.12
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: landre3567@gmail.com

Our php web site requires sometimes a reentrant call (i.e. it calls
file_get_contents(http://127.0.0.1/reentrant.php).

Most of the times calls are really fast (<5ms) but about 1% of the calls are
over 0.5 secs

We had a hard time reproducing the bug but we finally found a php script that
calls itself (see enclosure).

To test it just try http://127.0.0.1/reentrant.php?count=10 where 10 is the
reentrancy level.

The script works fine with NGINX that's why we suspect apache rather than PHP.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 57917] Random latency in reentrant calls

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57917

--- Comment #1 from landre3567@gmail.com ---
Created attachment 32729
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32729&action=edit
The script calls itself recursively. The desired depth must be passed using the
'count' parameter.  http://127.0.0.1/reentrant.php?count=10

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 57917] Random latency in reentrant calls

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57917

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Christophe JAILLET <ch...@wanadoo.fr> ---


*** This bug has been marked as a duplicate of bug 57916 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org