Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Vincenzo D'Amore
Tue, 2010-07-13 at 15:11 +0200, Vincenzo D'Amore wrote: > > thank you for reading my posts, *could anybody help me to > > understand why realpath cache is disabled if safe_mode or open_basedir > are > > set?* > > For security reasons. > > Assume the foll

Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Vincenzo D'Amore
PHP function we have to disable). On Tue, Jul 13, 2010 at 2:47 PM, Pierre Joye wrote: > hi, > > Please do not double posts both in the bug report and here. Or it will > be a pain to follow. > > Cheers, > > On Tue, Jul 13, 2010 at 11:08 AM, Vincenzo D'

[PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Vincenzo D'Amore
or open_basedir. This dramatically reduce performance of PHP Engine and, in a big production environment, this behavior can bring servers to its knees. Especially because there is a lack of documentation! On Fri, Jul 9, 2010 at 7:39 PM, Vincenzo D'Amore wrote: > Hello all, > >

[PHP-DEV] Performance problem with php

2010-07-09 Thread Vincenzo D'Amore
Hello all, I have already notified to the mailing list a performance problem with apache/mod_php5. Now I have an update and I think this is probably a bug. PHP lstat the full path more times before read the file when in apache httpd configuration is specified *PHP_ADMIN_VALUE open_basedir *settin

Re: [PHP-DEV] Performance problem with php

2010-06-23 Thread Vincenzo D'Amore
pp). > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > -- Vincenzo D'Amore email: v.dam...@gmail.com msn: free...@hotmail.com skype: free.dev mobile: +39 349 8513251

Re: [PHP-DEV] Performance problem with php

2010-06-21 Thread Vincenzo D'Amore
t_size=1024, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al/wall/webspace/siteapps/21451/htdocs", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al/wall/webspace/siteapps/21451/htd

Re: [PHP-DEV] Performance problem with php

2010-06-21 Thread Vincenzo D'Amore
tl(415, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff344173a0) = -1 ENOTTY (Inappropriate ioctl for device) [pid 13792] read(415, "wrote: > Thanks Rasmus, > > we are using wordpress. Looking at code: > > find . -type f -exec grep realpath {} \; > > I see a lot of: > >

Re: [PHP-DEV] Performance problem with php

2010-06-21 Thread Vincenzo D'Amore
Suhosin Extension" > > Tyrael > > On Mon, Jun 21, 2010 at 4:48 PM, Vincenzo D'Amore wrote: > >> Hello Oliver, >> >> looking at php.ini configuration I don't see any suhosin entry, so I think >> no. >> do you know if there is another way to u

Re: [PHP-DEV] Performance problem with php

2010-06-21 Thread Vincenzo D'Amore
x27;) ) $path = realpath($path); if ( realpath($path) == $path ) if ( !is_null($dest_path) and $_dest_path = realpath($dest_path) ) What do you think if I disable such function? Best regards, Vincenzo On Sun, Jun 20, 2010 at 3:37 PM, Rasmus Lerdorf wrote: > On 6/19/10 11:49 PM, Vincenzo

Re: [PHP-DEV] Performance problem with php

2010-06-21 Thread Vincenzo D'Amore
I can see the same lstat > behaviour with my setups, because of suhosin. > But for the 8 tentative of reading, are you sure php deliver only one page > here ? > > Olivier > > Le 20/06/2010 08:49, Vincenzo D'Amore a écrit : > > Hello, >> >> to have a p

Re: [PHP-DEV] Performance problem with php

2010-06-20 Thread Vincenzo D'Amore
ication abused include_path. You can change WP > source code to include PHP files using absolute path > > Regards, > > Dinh > > On Sun, Jun 20, 2010 at 1:49 PM, Vincenzo D'Amore wrote: > >> Hello, >> >> to have a performance problem with apache/mod_php5 conf

Re: [PHP-DEV] Performance problem with php

2010-06-20 Thread Vincenzo D'Amore
SK 2009 On Sun, Jun 20, 2010 at 9:11 AM, Alexey Zakhlestin wrote: > > On 20.06.2010, at 10:49, Vincenzo D'Amore wrote: > > > Hello, > > > > to have a performance problem with apache/mod_php5 configuration under > heavy > > load the website becomes too sl

[PHP-DEV] Performance problem with php

2010-06-19 Thread Vincenzo D'Amore
Hello, to have a performance problem with apache/mod_php5 configuration under heavy load the website becomes too slow. Using strace I found what appears to me a strange behavior The strange behavior I want point out is related to a sequence of tentative httpd/mod_php5 does in order to read an php