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: Assigned
Type: Feature/Change Request
Package: FPM related
Operating System: gentoo linux
PHP Version: 5.3.1RC1
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
I have more messages in the slow log indicated the script which was
running at the time but NOT the HTTP request send. For example:
[0x00007f38694a0b78] flush()
/var/xxx/lib/misc/scriptControl.class.php:15
[0x00007f38694a03c8] set_time_limit()
/var/xxx/apps/modules/repairs/actions/actions.class.php:68
[0x00007f386949fd00] executeRecreateThumbnails()
/var/xxx/cache/prod/config/config_core_compile.yml.php:490
[0x00007f386949fa30] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:990
[0x00007f386949f6d8] executeAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:985
[0x00007f386949ef80] handleAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:971
[0x00007f386949ea68] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066
[0x00007f386949e400] execute()
/var/xxx/lib/vendor/symfony/lib/filter/sfCommonFilter.class.php:29
[0x00007f386949dee8] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066
[0x00007f386949db98] execute()
/var/xxx/apps/lib/extraSecurityFilter.class.php:31
[0x00007f386949d680] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066
[0x00007f386949d3e0] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1033
I don't know how to include my configuration. The output of ./configure
is too long to be pasted here.
Previous Comments:
------------------------------------------------------------------------
[2010-12-06 09:06:16] fat@php.net
What do you have in the file specified by the directive 'slowlog' ?
can you please give your configuration ?
------------------------------------------------------------------------
[2010-12-06 00:39:48] webmaster_apc at colnect dot com
When I try to include the entire output here I get a "Please do not SPAM
our bug system." message and I see no place to add an attachment (should
I add it as a patch?!).
ptrace is found and responding well
------------------------------------------------------------------------
[2010-12-02 09:21:46] fat@php.net
I need the output of the ./configure, not its arguments.
------------------------------------------------------------------------
[2010-12-01 16:02:43] webmaster_apc at colnect dot com
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
------------------------------------------------------------------------
[2010-12-01 15:53:06] fat@php.net
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.
------------------------------------------------------------------------
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/bug.php?id=53434--
Edit this bug report at http://bugs.php.net/bug.php?id=53434&edit=1