httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57916] New: Random latency in reentrant calls
Date Mon, 11 May 2015 16:10:10 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57916

            Bug ID: 57916
           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

Created attachment 32728
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32728&action=edit
the reentrant.php calls itself recursively n times using the 'count' parameter.

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


Mime
View raw message