#27898 [Opn->Fbk]: HEAD request makes httpd hang

From: Date: Thu, 08 Apr 2004 23:43:02 +0000
Subject: #27898 [Opn->Fbk]: HEAD request makes httpd hang
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57819@lists.php.net to get a copy of this message
ID: 27898 Updated by: sniper@php.net Reported By: wiwi at progon dot net -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: FreeBSD 5.2.1p4 PHP Version: 4CVS, 5CVS (2004-04-07) New Comment: Can you check what these commands output: # ldd /usr/local/apache2/bin/httpd # ldd /usr/local/apache2/modules/libphp4.so (neither should be linked with libc_r.so..) Previous Comments: ------------------------------------------------------------------------ [2004-04-07 15:58:06] wiwi at progon dot net Regular GET requests work fine, I got some 10000 hits within two hours without any problem. But I usually need only 10 to 20 HEAD ("curl -I") requests to make the server process hang. ------------------------------------------------------------------------ [2004-04-07 10:54:36] sniper@php.net Is it only a HEAD request (single or many?) or any request of PHP script..? ------------------------------------------------------------------------ [2004-04-07 10:19:49] wiwi at progon dot net I just tried 2.0.47 as well, and it crashes just as the other 2.0.x versions. Server: Apache/2.0.47 (Unix) PHP/5.0.0RC1 mod_ssl/2.0.47 OpenSSL/0.9.7c-p1 X-Powered-By: PHP/5.0.0RC1 The relevant httpd.conf-entries are: LoadModule php5_module modules/libphp5.so AddType application/x-httpd-php .php The php config unchanged ("make install"). The php script used to test the server is from: http://www.php.net/manual/en/tutorial.firstpage.php ------------------------------------------------------------------------ [2004-04-07 08:42:27] sniper@php.net After running the script for couple of minutes I couldn't reproduce this (with Apache 2.0.47). How exactly did you configure PHP in httpd.conf ? ------------------------------------------------------------------------ [2004-04-07 07:50:06] wiwi at progon dot net php-5.0.0RC1, php-4.3.6RC2 and php-4.3.5 works fine with Apache 1.3.29. ------------------------------------------------------------------------ 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/27898 -- Edit this bug report at http://bugs.php.net/?id=27898&edit=1

« previous php.bugs (#57819) next »