#18515 [Opn]: Apache2filter hangs on DNS request
| From: | rasmus@php.net | Date: | Tue, 30 Jul 2002 10:03:52 +0000 |
| Subject: | #18515 [Opn]: Apache2filter hangs on DNS request | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15554@lists.php.net to get a copy of this message | ||
ID: 18515
Updated by: rasmus@php.net
Reported By: ryan@estara.com
Status: Open
Bug Type: Apache2 related
Operating System: Redhat 7.2
PHP Version: 4.3.0-dev
New Comment:
So it is clearly an issue of something not being threadsafe somewhere
in there. Perhaps in libgd as you mention that specifically, but who
knows. Thread safety issues like this are very difficult to track
down. There will be hundreds of similar problems which is one of the
main reasons that Apache2 in anything but prefork mode and PHP are not
going to be a viable production-quality solution for a very very long
time. (read years)
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 16:39:57] ryan@estara.com
When apache is compiled with mpm=prefork this bug does not exist. It
does exist when mpm=worker or mpm=threadpool.
-Ryan
------------------------------------------------------------------------
[2002-07-24 01:09:30] ryan@estara.com
Same thing happens with PHP-4.3.0-dev with Apache 2.0.4-dev as of the
lastest and greatest from both late last week. Are you not able to
reproduce this?
------------------------------------------------------------------------
[2002-07-23 20:56:36] sniper@php.net
You should also try the latest CVS versions of both Apache2 and PHP..
------------------------------------------------------------------------
[2002-07-23 20:56:00] sniper@php.net
reclassified
------------------------------------------------------------------------
[2002-07-23 18:33:12] ryan@estara.com
Also this will prevent resolution of hostnames in mod_rewrite say you
have have that configuration in your apache config and add a rewrite
rule of:
RewriteEngine on
RewriteRule ^/magik(.*) http://www.magik.net$1 [P]
it will hang on the lookup of 'www.magik.net'. It does not hang,
however, if you comment out the line where you load the php module.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18515
--
Edit this bug report at http://bugs.php.net/?id=18515&edit=1