Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68096 invoked from network); 21 Jun 2010 17:23:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jun 2010 17:23:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=v.damore@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=v.damore@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.156 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: v.damore@gmail.com X-Host-Fingerprint: 72.14.220.156 fg-out-1718.google.com Received: from [72.14.220.156] ([72.14.220.156:20978] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/B0-62847-F10AF1C4 for ; Mon, 21 Jun 2010 13:23:44 -0400 Received: by fg-out-1718.google.com with SMTP id l26so952357fgb.11 for ; Mon, 21 Jun 2010 10:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=PuTQsWvUR6e3TZKca1gJHfZZL1D7pUHoumovwCvEP34=; b=mPXTfIM5H3V0HMfsgKNwoPCAPtwTf37SxgtQ+6zZXo57r8FaQp2GiXmP3kz3/Vfzff rOQy+zYqi/TEE1N41nACzo1JhOjWRUcOTvbhHSsWcKcybEfPfkIp9OHzXkoBYj6dPS2x Xynq8pK7QVRyvQfbrhG8JIJ1z5VFFKL6fHkmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ObOZhk8wcdR6gMEknkfM2uyqwkZBALPqrfv3rsOqk4M5LcRQxgtSawsoNMi9XCo1jS vqaMBd0DIhAsM8OXlXLhU0K4kXBujuC20nBqq+UVq7XccYfGskmXCv3WiTwlCvxn47lC JHiwnNJ6i1crbPgVGjXORptbrcah2KwbKgKNE= Received: by 10.239.180.136 with SMTP id i8mr356507hbg.35.1277141020188; Mon, 21 Jun 2010 10:23:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.189.6 with HTTP; Mon, 21 Jun 2010 10:23:20 -0700 (PDT) In-Reply-To: References: <4C1DE819.2070406@daevel.fr> Date: Mon, 21 Jun 2010 19:23:20 +0200 Message-ID: To: Internals Content-Type: multipart/alternative; boundary=001485f2c180d61ff204898d9044 Subject: Re: [PHP-DEV] Performance problem with php From: v.damore@gmail.com ("Vincenzo D'Amore") --001485f2c180d61ff204898d9044 Content-Type: text/plain; charset=UTF-8 Hello All, could anybody tell me why also for every single php file engine must lstat all path? Why php engine don't simply try to open directly the file? [pid 13792] lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 13792] lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP", {st_mode=S_IFDIR|0755, st_size=13312, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al/wall", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al/wall/webspace", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al/wall/webspace/siteapps", {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 [pid 13792] lstat("/usr/local/sitipersonali/sitipersonali08/NSP/wa/al/wall/webspace/siteapps/21451", {st_mode=S_IFDIR|0755, st_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/htdocs/wp-blog-header.php", {st_mode=S_IFREG|0644, st_size=274, ...}) = 0 -- Vincenzo D'Amore email: v.damore@gmail.com msn: freedev@hotmail.com skype: free.dev mobile: +39 349 8513251 --001485f2c180d61ff204898d9044--