Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48844 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51379 invoked from network); 20 Jun 2010 09:38:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2010 09:38:20 -0000 Authentication-Results: pb1.pair.com header.from=v.damore@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=v.damore@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 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: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:49231] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/42-21297-981ED1C4 for ; Sun, 20 Jun 2010 05:38:19 -0400 Received: by fxm5 with SMTP id 5so1582920fxm.29 for ; Sun, 20 Jun 2010 02:38:14 -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:cc:content-type; bh=jjQiT/Y7EshuIkwO3GgRi1gOAYUsXh7bOr9khTs8oXg=; b=vSsyiKjrq+eitXBh4CkLi6v8NWxL5FY6ZtHAB7Oy0ATxMMzBJdwMLRm0ZEod8WbP13 TNTy/ChVWGUqE8u7kTCcCI3gPxhTgXaT/UiqMFG0u2alvVhcJl8uGcsiMLhTiB68fV1+ KicGnKtZzKTQPFvT88PFzoOa+W9CN60H243Pg= 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 :cc:content-type; b=FB1ft0/Ysl4En48Fj364teH4vd1JYOrVahMKbdZ80JFY4oq1xzZaLVtZTPjKA+CLKa DYkeYnUen0XuKO77QqaVPOi5NBMN7XfdsONAgDZ8ThIzlZAWTV3zlHNt+XAk1t/INIBJ cYgVI4cPc6Cu6CpHCE4Gr7U47O+fVGpJm9rRc= Received: by 10.239.180.136 with SMTP id i8mr229036hbg.35.1277026693218; Sun, 20 Jun 2010 02:38:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.189.6 with HTTP; Sun, 20 Jun 2010 02:37:53 -0700 (PDT) In-Reply-To: References: Date: Sun, 20 Jun 2010 11:37:53 +0200 Message-ID: To: Alexey Zakhlestin Cc: Internals Content-Type: multipart/alternative; boundary=001485f2c1806b0246048972f261 Subject: Re: [PHP-DEV] Performance problem with php From: v.damore@gmail.com ("Vincenzo D'Amore") --001485f2c1806b0246048972f261 Content-Type: text/plain; charset=UTF-8 Yes, right. # /usr/libexec/php5-cgi/bin/php -v PHP 5.2.9 (cli) (built: Sep 14 2009 16:52:55) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd. # httpd -V Server version: Apache/2.2.11 (Unix) Server built: Jan 8 2009 09:27:22 Server's Module Magic Number: 20051115:21 Server loaded: APR 1.2.7, APR-Util 1.2.7 Compiled using: APR 1.2.7, APR-Util 1.2.7 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" # cat /proc/version Linux version 2.6.18-028stab062.3 (root@rhel5-64-build) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Thu Mar 26 14:46:38 MSK 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 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 page. > > let's start with the basics. > > what version of php is this? > what version of apache (and which mpm) is this? > what OS is this? > > -- > Alexey Zakhlestin > http://www.milkfarmsoft.com/ > > > > > -- Vincenzo D'Amore email: v.damore@gmail.com msn: freedev@hotmail.com skype: free.dev mobile: +39 349 8513251 --001485f2c1806b0246048972f261--