Hi Dave,

The only recent change I have made was to turn on the options to not cache for logged in users.

Here are the cache properties:

# The default cache implementation we want to use
cache.defaultFactory=org.roller.presentation.cache.ExpiringLRUCacheFactoryImpl
cache.customHandlers=

# Main/Planet page cache (this is low on purpose)
cache.mainpage.size=10
cache.mainpage.timeout=1800
# set "true" to NOT cache the custom pages for users who are logged in
cache.mainpage.excludeOwnerEditPages=true

# Weblog page cache (all the weblog content)
cache.weblogpage.size=400
cache.weblogpage.timeout=3600
# set "true" to NOT cache the custom pages for users who are logged in
cache.weblogpage.excludeOwnerEditPages=true

# Weblog page last-modified-date cache
# you want this fairly high, like weblogs * 10, with long timeouts
cache.ifmodified.weblogpage.size=1000
cache.ifmodified.weblogpage.timeout=14400

# Feed cache (xml feeds like rss, atom, etc)
cache.feed.size=200
cache.feed.timeout=3600

# Feed last-modified-date cache
# you want a reasonable size, like weblogs * 2, with long timeouts
cache.ifmodified.feed.size=200
cache.ifmodified.feed.timeout=14400

# Planet cache (planet page and rss feed)
cache.planet.size=10
cache.planet.timeout=1800
# set "true" to NOT cache the custom pages for users who are logged in
cache.planet.excludeOwnerEditPages=false


Brian

Dave wrote:
How do you have your Roller caches configured in your
roller-custom.properties file?

- Dave



On 10/21/06, webmaster <[EMAIL PROTECTED]> wrote:
Hi Everyone,

Che Blogs has been cracking up these past couple of weeks under the
load. What I am wondering is if anyone has any sense of the maximum load
that I should be able to achieve with Roller running on a hosted system
under Linux?

My setup is:

Fedora Core 2
JAVA Hotspot Server 1.5.0_09-b01
Apache 2.0.51
MySQL 4.1.21
mod_jk

Roller 2.1 incubating

The Server has 3.0G of Ram installed and 800 processes/threads are
available to it.  It is a "virtual dedicated server" in the language of
my hosting provider.

After much hair pulling I set the my configurations to attempt to allow
 250 client connections for MySQL, Apache and Roller.

The jvm is booted with the following directive:
-server -Xms256m -Xmx570m

This setup seemed to be working ok, but it has problems after a bit of time.

Today it has crashed twice because of hitting the 1024 limit on open files.

Right now it is running but I cannot access Che Blogs but I can access
two other little planetplanet sites that are on the same server.

One other problem is that I cannot start the jvm with any more than
Xmx570m even thought I have 3G's of ram.  Once the JVM for Roller is
running I cannot start another JVM with anything above a trivial amount
on memory allocated to it.

I am sorry that is this so long and I realize that this is a really
opened question, but I have been reading, googling, testing and tweaking
for over a week now and I am at my wits end as to what more I can do.

By the way, Che Blogs has probably less than 500 blogs on it total.  I
am trying to confirm  that number but the MySQL response is unbelievably
slow.  I think that is a clue ;-)  Lately, it is being hit by all the
search engines and several RSS basis services very heavily.

Any tuning suggestions for MySQL?

So, I will post this and please let me know if I am missing something
simple so that I can get on with the other areas of my life!

Thanks for your kind consideration of this plea.


Brian









Reply via email to