LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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
Grymme
Member
 
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
wijnands
Member
 
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
http://php.weblogs.com/tuning_apache_unix

and

http://www.linuxdevcenter.com/lpt/a/272

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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 PM.

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