Edit report at http://bugs.php.net/bug.php?id=53434&edit=1
ID: 53434
User updated by: webmaster_apc at colnect dot com
Reported by: webmaster_apc at colnect dot com
Summary: More details for slow requests
-Status: Feedback
+Status: Open
Type: Feature/Change Request
Package: FPM related
Operating System: gentoo linux
PHP Version: 5.3.1RC1
Block user comment: N
Private report: N
New Comment:
I'm using Gentoo with PHP5.3.3R1 installed. It include php-fpm 0.6.5
These are the flags for the Gentoo install script
Installed versions: 5.3.3-r3(5.3)(13:28:35 11/28/10)(berkdb bzip2
cli crypt ctype curl fileinfo filter fpm gd gdbm hash iconv json mysql
mysqli mysqlnd nls pcntl pdo phar posix readline session sharedmem
simplexml ssl tidy tokenizer truetype unicode xml zlib -adabas -apache2
-bcmath -birdstep -calendar -cdb -cgi -cjk -curlwrappers -db2 -dbmaker
-debug -doc -embed -empress -empress-bcs -enchant -esoob -exif -firebird
-flatfile -frontbase -ftp -gd-external -gmp -imap -inifile -interbase
-intl -iodbc -ipv6 -kerberos -kolab -ldap -ldap-sasl -libedit -mssql
-oci8 -oci8-instant-client -odbc -pic -postgres -qdbm -recode -sapdb
-sharedext -snmp -soap -sockets -solid -spell -sqlite -sqlite3 -suhosin
-sybase-ct -sysvipc -threads -wddx -xmlreader -xmlrpc -xmlwriter -xpm
-xsl -zip)
phpinfo() produces the following:
'./configure' '--prefix=/usr' '--build=x86_64-pc-linux-gnu'
'--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--prefix=/usr/lib64/php5.3'
'--mandir=/usr/lib64/php5.3/man' '--infodir=/usr/lib64/php5.3/info'
'--libdir=/usr/lib64/php5.3/lib' '--with-libdir=lib64' '--without-pear'
'--disable-maintainer-zts' '--disable-bcmath' '--with-bz2'
'--disable-calendar' '--with-curl' '--without-curlwrappers'
'--without-enchant' '--disable-exif' '--disable-ftp' '--with-gettext'
'--without-gmp' '--disable-intl' '--disable-ipv6' '--without-kerberos'
'--enable-mbstring' '--with-mcrypt' '--without-mssql' '--with-onig=/usr'
'--with-openssl' '--with-openssl-dir=/usr' '--enable-pcntl'
'--without-pgsql' '--without-pspell' '--without-recode' '--enable-shmop'
'--without-snmp' '--disable-soap' '--disable-sockets'
'--without-sqlite3' '--without-sybase-ct' '--disable-sysvmsg'
'--disable-sysvsem' '--disable-sysvshm' '--with-tidy' '--disable-wddx'
'--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc'
'--without-xsl' '--disable-zip' '--with-zlib' '--disable-debug'
'--enable-dba' '--without-cdb' '--with-db4' '--disable-flatfile'
'--with-gdbm' '--disable-inifile' '--without-qdbm'
'--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir'
'--with-gd' '--without-interbase' '--with-mysql=mysqlnd'
'--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-mysqli=mysqlnd'
'--without-oci8' '--without-pdo-dblib' '--with-pdo-mysql=mysqlnd'
'--without-pdo-pgsql' '--without-pdo-sqlite' '--without-pdo-odbc'
'--with-readline' '--without-libedit' '--with-mm' '--without-sqlite'
'--with-libevent-dir=/usr/lib64' '--with-pcre-regex=/usr'
'--with-pcre-dir=/usr' '--with-config-file-path=/etc/php/fpm-php5.3'
'--with-config-file-scan-dir=/etc/php/fpm-php5.3/ext-active'
'--disable-cli' '--disable-cgi' '--enable-fpm' '--disable-embed'
'--without-apxs2'
Thanks
Previous Comments:
------------------------------------------------------------------------
[2010-12-01 15:53:06] [email protected]
FPM uses ptrace or equivalent to do this.
If it does not work, maybe there a problem at configure. That's why I
asked you
the ./configure output to see if ptrace is detected.
------------------------------------------------------------------------
[2010-12-01 15:51:45] webmaster_apc at colnect dot com
Sorry, I didn't read through. You wrote it already exists. Could you
please refer me to the relevant documentation? Thanks.
------------------------------------------------------------------------
[2010-12-01 15:49:10] webmaster_apc at colnect dot com
This isn't a bug but a feature request hence I believe the details are
irrelevant. Thanks
------------------------------------------------------------------------
[2010-12-01 15:47:42] [email protected]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
which system are you using ?
can you give us the ./configure ... --enable-fpm output ?
It already exists in FPM, maybe your system doesn't have what it needs
(ptrace and stuff)
------------------------------------------------------------------------
[2010-12-01 15:38:00] webmaster_apc at colnect dot com
Description:
------------
Seeing the following messages in php-fpm log file:
[WARNING] [pool www] child 21540, script '/var/www/web/file.php'
executing too slow
it's hard to tell which request actually created the slow response as
I'm actually using a framework with routing logic. I would like to see
an option to include more details such as the entire request URI and
possibly some headers (cookies/user-agent/etc.)
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53434&edit=1