ID:               24881
 Comment by:       greenhorn at itresovled dot net
 Reported By:      mitchel at sahertian dot com
 Status:           Open
 Bug Type:         Apache related
 Operating System: Linux 2.4.21
 PHP Version:      5.0.0b1 (beta1)
 New Comment:

Same here...
I tryed as module and static with apache 1.3.28
Both didn't turn out to work :(


Previous Comments:
------------------------------------------------------------------------

[2003-07-31 07:27:54] mitchel at sahertian dot com

Description:
------------
# uname -s -r -m -p
Linux 2.4.21 i586 Pentium 75 - 200
# CFLAGS="-march=pentium -O3 -pipe  -fomit-frame-pointer"
CXXFLAGS="-march=pentium -O3 -pipe  -fomit-frame-pointer"
./configure \
--prefix=/usr/local/php5 \
--sysconfdir=/etc/php5 \
-with-apxs=/usr/sbin/apxs \
--disable-cli --disable-cgi \
--disable-ipv6 --with-openssl \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-dio \
--enable-exif \
--with-gd \
--with-mysql \
--enable-sockets \
--without-pear \
--with-config-file-path=/etc/php5/sapi
# make
# make install
//apache.conf:
//LoadModule php5_module
//AddModule mod_php5
ltrace /usr/sbin/apache -F
<snip>
strlen("/etc/apache")                                                  
                 = 11
strlen("/etc/apache")                                                  
                 = 11
strlen("/")                                                            
                 = 1
strlen("modules/mod_env.so")                                           
                 = 18
strcpy(0x080920a8, "/etc/apache")                                      
                 = 0x080920a8
strlen("/etc/apache")                                                  
                 = 11
strcpy(0x080920b3, "/")                                                
                 = 0x080920b3
strlen("/")                                                            
                 = 1
strcpy(0x080920b4, "modules/mod_env.so")                               
                 = 0x080920b4
strlen("modules/mod_env.so")                                           
                 = 18
dlopen("/etc/apache/modules/mod_env.so", 258

Process(es) hang(s) here
root      5120 30.2  4.9  4572 1500 ?        R    19:58   6:09
/usr/sbin/apache -F
root      5358  6.3  1.6  1648  500 pts/2    S    20:04   0:54 ltrace
/usr/sbin/apache -F
root      5359 24.7  5.1  4572 1584 ?        R    20:04   3:32
/usr/sbin/apache -F
Memory usage stays the same

Same without ltrace ofcourse
As soon as the AddModule line is removed/commented out, everything goes
well.
This does not happen with PHP4.

Reproduce code:
---------------
N/A

Expected result:
----------------
Stable and Resource-unintensive process :+)

Actual result:
--------------
CPU-eating process :'(


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24881&edit=1

Reply via email to