View Single Post
Old 01-14-2006, 01:55 PM  
ServerGenius
Confirmed User
 
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
wusage does a pretty good job, urgin is also a good stats package.

regarding php, here's a few pointers.
combine sql queries into big queries instead of lots of seperate small queries,
use table indexes, check with the mysql client to see the performance of your
queries, avoid slow queries, in my.cnf the mysql config file reduce the timeout
settings so connections get closed within a few seconds, if you have lots of
queries use mysql_pconnect (persistent connection). cache queries especially
if the results are always the same. check the html output, make sure it's
compliant, closing tags properly reduces rendering

compile your php pages with Zend SafeGuard, only use apache modules that
you really use, remove all the other modules

__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

Last edited by ServerGenius; 01-14-2006 at 01:57 PM..
ServerGenius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote