[opencms-dev] OpenCms 7.0.5 crashes with high load
Shi Yusen
shiys at langhua.cn
Fri Mar 27 18:04:32 CET 2009
In a common installation of OpenCms, a user requests a page through
Apache - Tomcat - OpenCms - Database
If I want to tune the system, I would consider
1. OpenCms static export as much as possible and use Apache to serve the
request directly
2. Increase Tomcat's memory
3. Optimize OpenCms Flexcache
4. Optimize algorithm to fetch content
5. Increase database connection pool
6. Optimize database cache
7. Optimize database scripts
For OpenCms 7.0.x, one or two Oracle scripts can be improved to fetch
page list at least ten times faster.
Have a nice weekend,
Shi Yusen/Beijing Langhua Ltd.
在 2009-03-26四的 18:44 +0000,Jonathan Woods写道:
> Fabulous response from Christian Steinert and Shi Yusen.
>
> Sidestepping the issue, have you considered a different deployment
> architecture? I've just finished working for a very large UK
> organisation whose OpenCms site was served by Apache from a
> periodically updated crawler cache, with the aid of wget and rsync! As
> you can imagine, up-time and response time were excellent.
>
> That's only one extreme, with some obvious disadvantages - urls
> handling truly variable user input had to have holes punched through
> the static layer, and they never did solve the problem of ensuring
> that the crawled content was a consistent snapshot.
>
> Then of course there are content delivery networks, if you're looking
> at throwing some money at the problem.
>
> Jon
>
> On 26 Mar 2009, at 10:14, Nacho Fernández Orellana <nacho.fernandez.orellana at gmail.co
> m> wrote:
>
> > Thank you Mr Shi, I'll evaluate the possible use of your code.
> > Knowing your efforts I'm sure the code will be very clever. Thank
> > you also on behalf of the whole community for all you've been doing.
> > Greetings,
> >
> > Nacho Fernandez.
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list