ID: 19452 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: HP-UX 11.00 PHP Version: 4CVS-2002-09-17 New Comment:
Well, I should have given a bit more info than just the default reply. You can 'bind' to a hanged process with GDB.. # gdb /path/to/httpd 12345 (where 12345 is the process id) Then you can just stop the process with CTRL+C and then do 'bt' and see where it hangs. Previous Comments: ------------------------------------------------------------------------ [2002-09-18 06:07:59] [EMAIL PROTECTED] Hellow, Apache don't crash but freeze. 99 % of the CPU is used and apache can't start properly. I can't generate a correct backtrace because http don't crash so I must kill it : Name collision between 9826 9836 Name collision between gsi dtc300s Name collision between dm1521 dm1520 Name collision between c108 c108 Name collision between ovt100 vt100 Name collision between 300 dtc300s Name collision between t1061 t3700 GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa2.0n-hp-hpux11.00"... Name collision between 9826 9836 Name collision between gsi dtc300s Name collision between dm1521 dm1520 Name collision between c108 c108 Name collision between ovt100 vt100 Name collision between 300 dtc300s Name collision between t1061 t3700 (gdb) run -X Starting program: /PKl01h01/soft/web/httpd/bin/httpd -X Program terminated with signal SIGKILL, Killed. The program no longer exists. (gdb) bt No stack. (gdb) ------------------------------------------------------------------------ [2002-09-17 10:45:12] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-09-17 07:39:37] [EMAIL PROTECTED] Hellow, I can configure and compile php with apache 2 support on HP-UX 11.00 But when I want to start apache 2, httpd freeze (don't start) and the process take 99% of the CPU What can I do ? There's nothing in logs. Configure line for php : ./configure \ --with-config-file-path=/PKl01h01/soft/web/cfg \ --without-mysql \ --without-gd \ --prefix=/PKl01h01/soft/web \ --with-apxs2=/PKl01h01/soft/web/httpd/bin/apxs I've the same problem with : php 4.2.1 php 4.2.2 php 4.2.3 php CVS 2002-09-17 apache 2.0.39 apache 2.0.40 Configure line for apache 2 : ./configure \ --with-ssl==/PKl01h01/soft/web/ \ --prefix=$BCVHOME/httpd \ --enable-module=most \ --enable-ssl \ --enable-dav \ --enable-dav-fs @++ JC ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19452&edit=1