Charles L Bombard wrote: > We are now up on version 1.4.2 (thank you Emile!). Our new issue is the > server is dead in the water, we are getting to many hits that the server can > not handle it. > > One thought is to throw a cache solution in front of the server. Can we > reset the expires header for Midgard docs?
I don't think Midgard issues an 'Expires' header. You can easily put a cache (like squid) in front of apache. Another thing to try would be mmp + apc. Works nicely, and you could even stick squid in front of that to get the most out of it. When sticking the server-side proxy in front, be sure to get your servernames right. I had to use a local override in /etc/hosts to make the masked apache serve requests for the right host. But I'm not an apache + squid expert. > Are there any recommended setting changes for MySql, Apache, Midgard to > maximize performance? We found that 100 connections was not enough! The > system is thrashing because of disk access, swapping etc. The system is a > 1.3 GHz machine with 512MB RAM, and a RAID 5 Configuration for disk. Its > sole purpose is to run a Midgard newspaper site. Armand knows a thing or two about server tweaking. If it's swapping, add more memory. Also, MMP+APC should cut down on the required memory, since less of the page needs to be in memory. I don't know exactly what RAID 5 does, but if you're striping (recommended), make sure to use separate physical disks (not partitions on one physical disk) on a fast or separate bus (separate IDE channels, or SCSI). Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
