Web Hosting Talk







View Full Version : Hope I just done some optimizing - What about this...


Dann2
01-16-2004, 12:20 PM
Do i paste these anywhere in the php.ini file:

output_handler = ob_gzhandler


--with-mm
session.save_handler=mm



--------------------
Will these not effect stats output if disabled in httpd.conf ?
if set to 'off' and 'disabled'

HostnameLookups off

# disable htaccess checks
--------------------------------------




-------------------
Does this look good on a celeron 1.7 1GIg memory?


Total accesses: 21247 - Total Traffic: 92.3 MB
CPU Usage: u65.73 s20.04 cu352.4 cs70.3 - 29% CPU load
12.1 requests/sec - 54.0 kB/second - 4555 B/request
80 requests currently being processed, 22 idle servers

michaelfoo
01-16-2004, 07:26 PM
Hi there,
This should be the correct way:
1. pico /path/to/php.ini
2. Press Ctrl + W
3. Key in output_handler
4. It will bring you to "output_handler=". Delete anything you see after "output_handler=" and key in "ob_gzhandler"
5. Press Ctrl + W again.
6. Key in session.save_handler
7. It will bring you to "session.save_handler=". Delete anything you see after "session.save_handler=" and key in "mm"

Don't just simply paste it in the php.ini file.


Disclaimer: Following the above instructions is on your own risk. I am not responsible for any damage done.

Steven
01-16-2004, 07:55 PM
Try turck mmcache

Website Rob
01-16-2004, 08:53 PM
Originally posted by Dann2
Does this look good on a celeron 1.7 1GIg memory?

Total accesses: 21247 - Total Traffic: 92.3 MB
CPU Usage: u65.73 s20.04 cu352.4 cs70.3 - 29% CPU load
12.1 requests/sec - 54.0 kB/second - 4555 B/request
80 requests currently being processed, 22 idle servers Curious as to what command you used to get that info -- care to share?

Steven
01-16-2004, 08:55 PM
thats apache status in whm

Website Rob
01-16-2004, 09:00 PM
hehe, goes to show how often I use WHM for getting Server information.
Learn something new everyday, thanks. :D

blackmoont
01-16-2004, 10:24 PM
but what is this for ? optimizing what ? sorry but i still dont understand

Dann2
01-16-2004, 10:40 PM
It just tells you what is happening with apache and the cpu usage. Explore WHM and read the user guide.