atom feed28 messages in net.php.lists.internalsRe: [PHP-DEV] Performance problem wit...
FromSent OnAttachments
Vincenzo D'AmoreJun 19, 2010 11:49 pm 
Alexey ZakhlestinJun 20, 2010 12:10 am 
DinhJun 20, 2010 12:25 am 
Ferenc KovacsJun 20, 2010 1:40 am 
Vincenzo D'AmoreJun 20, 2010 2:37 am 
Vincenzo D'AmoreJun 20, 2010 2:43 am 
Ferenc KovacsJun 20, 2010 2:56 am 
Olivier B.Jun 20, 2010 3:05 am 
Rasmus LerdorfJun 20, 2010 6:36 am 
Michael ShadleJun 20, 2010 12:51 pm 
Vincenzo D'AmoreJun 21, 2010 7:47 am 
Ferenc KovacsJun 21, 2010 7:52 am 
Vincenzo D'AmoreJun 21, 2010 9:34 am 
Vincenzo D'AmoreJun 21, 2010 9:58 am 
Vincenzo D'AmoreJun 21, 2010 10:07 am 
Vincenzo D'AmoreJun 21, 2010 10:22 am 
Pierre JoyeJun 21, 2010 11:35 am 
Rasmus LerdorfJun 21, 2010 11:36 am 
Stas MalyshevJun 21, 2010 12:39 pm 
Vincenzo D'AmoreJun 23, 2010 4:39 am 
Wietse VenemaJun 23, 2010 6:56 am 
Rasmus LerdorfJun 23, 2010 7:01 am 
Wietse VenemaJun 23, 2010 8:41 am 
Stas MalyshevJun 23, 2010 11:40 am 
Rasmus LerdorfJun 23, 2010 11:44 am 
Pierre JoyeJun 23, 2010 12:17 pm 
Stas MalyshevJun 23, 2010 12:37 pm 
Rasmus LerdorfJun 23, 2010 12:43 pm 
Subject:Re: [PHP-DEV] Performance problem with php
From:Rasmus Lerdorf (ras@lerdorf.com)
Date:Jun 20, 2010 6:36:47 am
List:net.php.lists.internals

On 6/19/10 11:49 PM, Vincenzo D'Amore wrote:

Could anybody explain me why I have this behavior and if it is attributable to a misconfiguration of php?

This doesn't look like a PHP misconfiguration. It looks more like an application-level issue. Do a grep for "realpath" in your application code. A single call to realpath() would cause that tree of stat calls you see. Also, you might be overflowing your realpath cache. PHP 5.2 is not using the cache very efficiently. This is fixed in 5.3. But try increasing your cache ttl and the size as well. eg.

realpath_cache_size = 256k realpath_cache_ttl = 7200

-Rasmus