Re: [phpslash-users] Resource Utilization
Brought to you by:
joestewart,
nhruby
|
From: Ajay S. <ss...@od...> - 2001-04-23 20:39:54
|
Run some stats like analog on your site to see when the "peak" hours are. Then during those times watch your load and see if you need any improving. Turn on the apache status support page to get a view of what's going on inside the webserver. That's always helpful. Also, check out the status on the MySQL server to see how loaded it is. Since PHPSlash is very DB heavy, you don't want that to be the bottleneck. There's already been a bunch of suggestions about improving the speed so I'll add on s'more: - some php cache program. The Zend one is probably out of the question, but there's APC and one other that I can't remember the name which are free. If you've got a slow CPU then this would be the way to go. The cache compiles the php script and stores it in memory so when the next request comes in it doesn't need to recompile. Just make sure you don't do this during development... - mod_gzip - if you're low on bandwidth, then install this and it will compress the data before sending it across the wire. I've heard the CPU load isn't that high, but YMMV. - RAMDISKS - if you have slow-ass IDE disks (or the data on an NFS partition like me) then you can put all the information onto a RAMDISK. By default Redhat Makes a couple ramdisks and that should be enough to mount and deploy a production site. - You can also move the database onto another machine. - Get all the static pages and let the tux webserver run them. That's all I can think of at the moment.. On Mon, 23 Apr 2001, Mike Austin wrote: > I was wondering if anyone has a suggestion on how to track the > utilization of my linux box running phpslash... I have a few ideas, > but I wasn't sure if someone might have a quick and easy solution. I > am running on a K6-2/300, and it is reasonably fast with one or two > users, but I don't think it could handle a huge load... I would like > to track the usage stats preferably in the most convenient manner > possible so I can find out if I need to upgrade. > > What are most people using to run phpslash as far as > cpu/Os/mem/hardrive etc? How does it stand up to extended traffic? > I notice in the Mini-FAQ it mentions a P133 w/ 32Mb having no > problems under a light to medium load, but I was curious as to what > is meant by "medium" load. > > Thanks, > -Mike > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > _______________________________________________ > phpslash-users mailing list > php...@li... > http://lists.sourceforge.net/lists/listinfo/phpslash-users > -- ---------------------------------------------------------------- Satyajot (Ajay) Sharma ss...@od... Digital Odyssey System Administrator "Did you love this world, and did this world not love you?" Grandaddy ---------------------------------------------------------------- |