|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-18 08:27 UTC] greenhorn at itresovled dot net
[2003-08-18 09:21 UTC] sniper@php.net
[2003-08-18 10:25 UTC] greenhorn at itresolved dot net
[2003-08-18 11:44 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 23:00:02 2025 UTC |
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 :'(