Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-05-2004, 05:53 AM   #1
Registered: Mar 2004
Posts: 132

Rep: Reputation: 15
php performance problems, where to start?


Recently I;ve replaced E107 with Mambo. Both are CMS applications written in PHP with a mysql backend.

Mambo performs somewhat better than e107 but it's still quite slow compared to the speed I get serving static html.

I think I can rule out mysql problems since squirrelmail is also very slow and that does not use mysql.

System is a modified redhat 7.3 running apache 1.3.27.something with php 4.2.2.
Hardware is a Pentium Pro 200 with 128mb ram.

System status 12:52pm up 38 days, 11:40, 0 users, load average: 0.15, 0.35, 0.27

Memory Usage 95% memory used, 6944 K free
(shared: 0, buffers: 5536, cached: 49784).
Swap Usage 7% used, 132712 K free.

Anyone any ideas where to start to improve performance?
Old 05-05-2004, 08:00 AM   #2
Registered: Apr 2004
Location: Sweden
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
Getting more memory or shutting down some memory-hungry stuff might be a good idea. It might be so that PHP has to use the swap instead of RAM and in that case you'll see a big slowdown.
Old 05-05-2004, 08:21 AM   #3
Registered: Mar 2004
Posts: 132

Original Poster
Rep: Reputation: 15
unfortunately that box is already filled to the max with memory. I'll have a good look at running services, see what I can do without. In the mean time I've found


I think I'll also look at that hdparm document, see if I can make any improvements there before I attempt to install a php cache thingy.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 performance problems borrrden Fedora 10 11-14-2004 12:22 AM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
Samba performance problems carlmarshall Linux - Networking 1 04-23-2004 11:37 AM
PHP Improving performance with Mysql guardian653 Programming 2 02-15-2004 10:30 PM
Samba performance problems id09542 Linux - Networking 4 12-30-2002 11:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration