From: Joby W. <joby@u.washington.edu> - 2002-10-02 14:46:06
|
LS wrote: > I just installed phpwiki-1.3.3 from CVS on my RH7.3 Linux server running > Apache/2.0.40 (Unix) PHP/4.3.0-dev and MySQL4.0a. I host a number of small PHP > sites and they all respond very quickly, despite the server being a P166 with 92MB > RAM, but for some reason PHPWiki takes about 1.4 seconds to render typical pages. > RecentChanges takes nearly 7 seconds. I don't know if anyone has tested Apache 2.0/PHP 4.3 with phpwiki. But your server is most likely the issue. A P166 with 92MB is really lite to run phpwiki. Phpwiki is a pretty big app. Every page access requires the loading of many (10+) php files, and then the content of the page must be parsed as well. This is probably competing with your MySQL database to be in memory. Thus when the php parser is activated your MySQL database is getting dumped to swap. And when php makes MySQL calls, MySQL is brought back to memory and the php/apache process is dumped to swap. etc... This would indicate a need for a new server. Perhaps you can keep apache/php/phpwiki on your P166/92MB, but stick MySQL on another old computer -- though this introduces network latency... jbw |