Bug #59493 [Com]: APC fails to include files with relative paths and apc.stat=0

2011-11-15 Thread webmaster_apc at colnect dot com
Edit report at https://bugs.php.net/bug.php?id=59493&edit=1

 ID: 59493
 Comment by: webmaster_apc at colnect dot com
 Reported by:pierre at archlinux dot de
 Summary:APC fails to include files with relative paths and
 apc.stat=0
 Status: Wont fix
 Type:   Bug
 Package:APC
 Operating System:   Arch Linux
 PHP Version:Irrelevant
 Block user comment: N
 Private report: N

 New Comment:

This is stuck on wontfix but seems that I can now do stat="0" again. Currently 
with v3.1.7 of APC and all seems to be responding well.


Previous Comments:

[2011-02-28 19:01:22] passby at gmail dot com

After upgraded PHP to 5.2, I have the same relative path issue of APC.

Then I ran across another thread about this and people mentioning to set 
apc.canonicalize=1. From what I observed the speed did increase a lot and the 
issue seems to be resolved.


[2011-01-21 11:59:17] aaron dot cicali at gmail dot com

I use a 3rd party PHP framework and using stat=0 breaks all 
over.  I would also like to add my request for a third state 
of this parameter for backwards compatibility.  Thanks.


[2011-01-16 04:33:08] webmaster_apc2 at colnect dot com

While I can easily adjust my code, it becomes much harder to do that for third 
party code such as the aforementioned phpBB. Not being backward compatible is 
something that always has to be considered seriously. In this case, there's no 
need not to be backward compatible as you can add the "fix" in a way that 
doesn't damage existing code. PLEASE fix it.


[2010-12-26 13:18:54] gop...@php.net

Actually, that's exactly what it does right now.

apc.stat=0 is not intended to work for all cases, it's designed to be fast for 
the people who do write code for it.


[2010-12-26 11:18:41] john at feurix dot com

Please reconsider the previous suggestion to keep supporting a lazy stat (even 
if this was not initially intended and is considered a bug today):

If apc.stat=2 (or call it apc.lazy_stat), then skip stat for absolute paths, 
and _try_ to skip stat for relative paths. If the latter fails, fall back to 
stat.

Educating the world to use absolute paths all the time is kind of ignorant. It 
isn't going to happen. Thank you!




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

https://bugs.php.net/bug.php?id=59493


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


Req #53434 [Csd]: More details for slow requests

2011-01-29 Thread webmaster_apc at colnect dot com
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: Closed
 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:

Thanks for the fix :) I'll be happy to see it when the next PHP version
is released on Gentoo. Cheers


Previous Comments:

[2011-01-29 12:43:45] f...@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

I've added the request method and the request uri in the slowlog timeout
and 

slowlog terminated log message:





[29-Jan-2011 12:41:59.741208] WARNING: pid 32110,
fpm_request_check_timed_out(), 

line 147: [pool www_chroot] child 32111, script '/html/test8.php'
(request: "GET 

/chroot/test8.php") executing too slow (1.051049 sec), logging





[29-Jan-2011 12:42:00.783410] WARNING: pid 32110,
fpm_request_check_timed_out(), 

line 157: [pool www_chroot] child 32111, script '/html/test8.php'
(request: "GET 

/chroot/test8.php") execution timed out (2.092626 sec), terminating


[2011-01-29 12:41:47] f...@php.net

Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=307843
Log: - Fixed bug #53434 (php-fpm slowlog now also logs the original
request).
- Fixed the missing peace of code on revision 307842


[2011-01-29 12:38:21] f...@php.net

Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=307842
Log: - Fixed bug #53434 (php-fpm slowlog now also logs the original
request).


[2010-12-06 09:26:15] f...@php.net

Oh hell yes ... I did not understand your need.



I'll see how complicated this is to add the request which triggers the
slowlog 

entries.

----------------
[2010-12-06 09:25:40] webmaster_apc at colnect dot com

This may help. In the normal log I get:



Dec 06 08:03:36.147792 [WARNING] [pool www] child 23560, script
'/var/xxx/web/index.php' executing too slow (30.069499 sec), logging

Dec 06 08:03:36.147904 [NOTICE] child 23560 stopped for tracing

Dec 06 08:03:36.147911 [NOTICE] about to trace 23560

Dec 06 08:03:36.148064 [ERROR] ptrace(PEEKDATA) failed: Input/output
error (5)

Dec 06 08:03:36.148127 [NOTICE] finished trace of 23560




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


Req #53434 [Asn]: More details for slow requests

2010-12-06 Thread webmaster_apc at colnect dot com
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: 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:

This may help. In the normal log I get:



Dec 06 08:03:36.147792 [WARNING] [pool www] child 23560, script
'/var/xxx/web/index.php' executing too slow (30.069499 sec), logging

Dec 06 08:03:36.147904 [NOTICE] child 23560 stopped for tracing

Dec 06 08:03:36.147911 [NOTICE] about to trace 23560

Dec 06 08:03:36.148064 [ERROR] ptrace(PEEKDATA) failed: Input/output
error (5)

Dec 06 08:03:36.148127 [NOTICE] finished trace of 23560


Previous Comments:

[2010-12-06 09:21:42] webmaster_apc at colnect dot com

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:



[0x7f38694a0b78] flush()
/var/xxx/lib/misc/scriptControl.class.php:15

[0x7f38694a03c8] set_time_limit()
/var/xxx/apps/modules/repairs/actions/actions.class.php:68

[0x7f386949fd00] executeRecreateThumbnails()
/var/xxx/cache/prod/config/config_core_compile.yml.php:490

[0x7f386949fa30] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:990

[0x7f386949f6d8] executeAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:985

[0x7f386949ef80] handleAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:971

[0x7f386949ea68] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066

[0x7f386949e400] execute()
/var/xxx/lib/vendor/symfony/lib/filter/sfCommonFilter.class.php:29

[0x7f386949dee8] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066

[0x7f386949db98] execute()
/var/xxx/apps/lib/extraSecurityFilter.class.php:31

[0x7f386949d680] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066

[0x7f386949d3e0] 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.


[2010-12-06 09:06:16] f...@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] f...@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' '--wi

Req #53434 [Fbk->Asn]: More details for slow requests

2010-12-06 Thread webmaster_apc at colnect dot com
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:



[0x7f38694a0b78] flush()
/var/xxx/lib/misc/scriptControl.class.php:15

[0x7f38694a03c8] set_time_limit()
/var/xxx/apps/modules/repairs/actions/actions.class.php:68

[0x7f386949fd00] executeRecreateThumbnails()
/var/xxx/cache/prod/config/config_core_compile.yml.php:490

[0x7f386949fa30] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:990

[0x7f386949f6d8] executeAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:985

[0x7f386949ef80] handleAction()
/var/xxx/cache/prod/config/config_core_compile.yml.php:971

[0x7f386949ea68] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066

[0x7f386949e400] execute()
/var/xxx/lib/vendor/symfony/lib/filter/sfCommonFilter.class.php:29

[0x7f386949dee8] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066

[0x7f386949db98] execute()
/var/xxx/apps/lib/extraSecurityFilter.class.php:31

[0x7f386949d680] execute()
/var/xxx/cache/prod/config/config_core_compile.yml.php:1066

[0x7f386949d3e0] 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] f...@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] f...@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' 

Req #53434 [Fbk->Asn]: More details for slow requests

2010-12-05 Thread webmaster_apc at colnect dot com
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:

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


Previous Comments:

[2010-12-02 09:21:46] f...@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&#

Req #53434 [Fbk->Opn]: More details for slow requests

2010-12-01 Thread webmaster_apc at colnect dot com
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] f...@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.


[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

Req #53434 [Com]: More details for slow requests

2010-12-01 Thread webmaster_apc at colnect dot com
Edit report at http://bugs.php.net/bug.php?id=53434&edit=1

 ID: 53434
 Comment by: webmaster_apc at colnect dot com
 Reported by:webmaster_apc at colnect dot com
 Summary:More details for slow requests
 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:

Sorry, I didn't read through. You wrote it already exists. Could you
please refer me to the relevant documentation? Thanks.


Previous Comments:

[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] f...@php.net

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


Req #53434 [Fbk->Opn]: More details for slow requests

2010-12-01 Thread webmaster_apc at colnect dot com
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:

This isn't a bug but a feature request hence I believe the details are
irrelevant. Thanks


Previous Comments:

[2010-12-01 15:47:42] f...@php.net

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


[PHP-BUG] Req #53434 [NEW]: More details for slow requests

2010-12-01 Thread webmaster_apc at colnect dot com
From: 
Operating system: gentoo linux
PHP version:  5.3.1RC1
Package:  FPM related
Bug Type: Feature/Change Request
Bug description:More details for slow requests

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 bug report at http://bugs.php.net/bug.php?id=53434&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53434&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53434&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=53434&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53434&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53434&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53434&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=53434&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=53434&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=53434&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=53434&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=53434&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=53434&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=53434&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53434&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=53434&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=53434&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=53434&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=53434&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=53434&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=53434&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=53434&r=mysqlcfg



Bug #53028 [Com]: unable to retrieve process activity of one or more child(ren) in static mode

2010-12-01 Thread webmaster_apc at colnect dot com
Edit report at http://bugs.php.net/bug.php?id=53028&edit=1

 ID: 53028
 Comment by: webmaster_apc at colnect dot com
 Reported by:iberkner at gmail dot com
 Summary:unable to retrieve process activity of one or more
 child(ren) in static mode
 Status: Closed
 Type:   Bug
 Package:FPM related
 Operating System:   CentOS 64bit 2.6.18-194.11.4.el5
 PHP Version:5.3.3
 Assigned To:fat
 Block user comment: N
 Private report: N

 New Comment:

Please re-open



I see these issues on a server which isn't that busy



Nov 30 13:04:01.097751 [ERROR] [pool www] unable to retrieve process
activity of one or more child(ren). Will try again later.

Nov 30 15:29:36.477754 [ERROR] [pool www] unable to retrieve process
activity of one or more child(ren). Will try again later.

Nov 30 15:54:03.597803 [ERROR] [pool www] unable to retrieve process
activity of one or more child(ren). Will try again later.

Nov 30 16:52:11.347780 [ERROR] [pool www] unable to retrieve process
activity of one or more child(ren). Will try again later.





Using latest Gentoo with PHP 5.3.3-r3


Previous Comments:

[2010-11-11 23:53:10] f...@php.net

I close this report. Reopen it if necessary (but it should not).


[2010-11-11 23:50:58] iberkner at gmail dot com

Thanks, I won't be able to test it for a bit of time.  As soon as I get
a chance, 

I'll post an update.


[2010-11-11 18:09:59] f...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

It should be fixed (revision 305273 and 305264).



Can you please test it ?



Thx

++ Jerome


[2010-10-09 00:16:17] iberkner at gmail dot com

PHP Version 5.3.3, are you looking for something more specific?

php-fpm configuration file can be found here:
http://pastebin.com/cSxYQ0Hu

php configuration options are below:



patch -p1 < suhosin-patch-5.3.3-0.9.10.patch

./configure \

--with-mysqli=mysqlnd \

--with-mysql=mysqlnd \

--enable-fastcgi \

--enable-discard-path \

--enable-force-cgi-redirect \

--enable-fpm \

--enable-cli \

--enable-inline-optimization \

--disable-rpath \

--disable-ipv6 \

--enable-mbstring \

--enable-mbregex \

--enable-sqlite-utf8 \

--with-curl \

--with-zlib \

--enable-shmop \

--with-xsl=shared \

--enable-soap=shared \

--enable-sockets \

--enable-pcntl=shared \

--enable-shared \

--disable-static \

--with-mcrypt \

--with-bz2 \

--with-pcre-dir \

--with-openssl \

--with-pear \

--with-tidy=shared \

--with-gd \

--with-jpeg-dir=/usr/lib64 \

--with-png-dir=/usr/lib64 \

--enable-gd-native-ttf \

--with-freetype-dir \

--enable-exif \

--with-pspell \

--enable-zip \

--enable-ftp \

--with-imap \

--with-kerberos \

--with-imap-ssl \

--enable-bcmath


[2010-10-08 21:01:01] f...@php.net

Can you:

- post your full php-fpm.conf

- post the configure options you used to compile PHP.

- post your PHP version



Thx




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=53028


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