I have a MediaTemple 512MB (ve), which is one of their VPS solutions. I'm running Ubuntu 10.10, and had to go through several attempts to get Cherokee running on my VPS. Had to do the apt-get install python-software-properties, then add-apt-repository ppa:cherokee-webserver, apt-get update, apt-get install cherokee.
Once Cherokee was installed and started running my memory usage would jump up to around 150%. When I tried to initially launch the cherokee-admin I got an error because with 1.2.2.1 the cherokee-admin seems to launch with 80 threads, which is more than the 512MB (ve) will allow. I tried to use -T, but had errors, so had to wipe my system, and go through steps again. Now I can launch cherokee-admin -b -T 5 with no issues. I had to go to Advanced and set the number of Threads to 2, I also disabled I/O Caching. With PHP5 and MySQL installed on the server, I have a barebones WordPress and barebones phpBB running and I'm running about constantly 50-55% of my memory, with basically no traffic. I did some fine tuning to MySQL as well and reduced it's memory load. The issue largely is that MediaTemple is using OpenVZ for their VPS and the way the memory is setup it is not counting how much memory I'm actually using, but it's counting how much memory each process has allocated, which is a sketchy way, in my opinion. Aside from reducing the number of threads, turning off I/O Caching, and fine-tuning MySQL, any suggestions on how to optimize things knowing how OpenVZ calculates memory? Thanks, Chris
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
