X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4AB693A4645; Wed, 3 Nov 2004 21:00:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92717-01; Wed, 3 Nov 2004 21:00:44 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id 013413A4640; Wed, 3 Nov 2004 21:00:45 +0000 (GMT) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 99AF512A73C; Wed, 3 Nov 2004 17:00:43 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90360-07; Wed, 3 Nov 2004 21:00:34 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by hub.org (Postfix) with ESMTP id 6E6DF12B0E0; Wed, 3 Nov 2004 17:00:34 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id 13A3739B82; Wed, 3 Nov 2004 17:00:36 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id D696C39A16; Wed, 3 Nov 2004 17:00:35 -0400 (AST) Date: Wed, 3 Nov 2004 17:00:35 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Mitch Pirtle Cc: "Marc G. Fournier" , Dave Page , Alexey Borzov , Oleg Bartunov , pgsql-www@postgresql.org Subject: Re: Inadequate hosting for www.postgresql.org In-Reply-To: <330532b60411031252353b083b@mail.gmail.com> Message-ID: <20041103165954.J82047@ganymede.hub.org> References: <20041103132338.M82047@ganymede.hub.org> <330532b60411031252353b083b@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/57 X-Sequence-Number: 5788 On Wed, 3 Nov 2004, Mitch Pirtle wrote: > On Wed, 3 Nov 2004 13:31:23 -0400 (AST), Marc G. Fournier > wrote: >> Now, to any PHP gurus that might be out there ... FreeBSD ports recently >> went to an 'extensions' format for php ... so, you build apache, you add >> in mod_php4, and then for the various extensions you want, you have a >> /usr/local/etc/php/extensions.ini file that you enable/disable in ... when >> Apache forks off a new Child process, is it loading all of those up again, >> each time? Or, even better, does it only load up the PHP stuff when a >> pages calls for it? ie. a .html wouldn't load in the mod_php, but a .php >> would have to load it all up before it could run? Would that load time be >> the 'lag' we're seeing? > > Not with turck-mmcache going. Turck loads every PHP script once, > parses and compiles it to opcode, and then waits for requests, so I > cannot see how PHP scripts could incur a significant overhead if they > were really being cached. I would suggest two things: > > 1) looking at apache's minimum number of processes (less forking after > a restart) running 15/30 for min/max right now ... > 2) seeing if mmcache is really configured properly - this can be done > by copying mmcache.php from the mmcache distribution files to > somewhere in your document root, and loading it in your browser. This > will show you how many files are cached, how many hits, and how many > reloads. check out http://www.postgresql.org/mmc/mmcache.php ... also, http://www.postgresql.org/phpinfo.php ... if you can suggest any changes, please feel free to do so ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664