php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21308 php engine does not return
Submitted: 2002-12-31 02:40 UTC Modified: 2002-12-31 02:53 UTC
From: rhs0517 at bluebird dot co dot kr Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4CVS-2002-12-31 (dev) OS: Solaris 2.8
Private report: No CVE-ID: None
 [2002-12-31 02:40 UTC] rhs0517 at bluebird dot co dot kr
My website is operated by PHP engine version 4.0.6 working with Apache webserver version 1.3.26, run on a Solaris 2.8 host computer. PHP was compiled as a shared module.

I have been monitoring the Apache server log, and I am seeing cases where the response to a PHP request is an http status "200" with an http body size of "-", occurring 5 to 6 times daily. This is because the PHP engine did not return a response within the Apache server timeout period of 5 minutes while attempting to parse the PHP script. But, I can't figure out why the PHP script parsing routine is not returning.

I've inserted syslog() statements in the source code of the PHP engine, in the send_php(), apache_php_module_main(), php_execute_script(), zend_execute_scripts() functions to find out the reason. The resulting log shows that the source code executed until apache_php_module_main() but no further. Therefore, the problem seems to be in php_request_startup() executed before php_execute_script(), but I was unable to pinpoint the culprit.

Also, I've noticed that there was not a single occurrence where the apache process crashed(due to a segmentation fault for example), as a result of this problem.

Any help will be greatly appreciated.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-31 02:53 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 06:01:34 2024 UTC