[opencms] [opencms-dev] Optimizing OpenCMS performance.

Nigel Kersten nigel at cofa.unsw.edu.au
Fri Jun 16 07:55:01 CEST 2006


ahah! after trawling lists, trying out tomcat using java rather than  
jsvc... I think I may have nailed our rampant cpu usage problem.

We had validation rules like this for word count...

<rule element="FeatureArticle" regex="(\w+\W*){0,500}"  
message="Maximum of 500 words." />
<rule element="FeatureSummary" regex="(\w+\W*){0,70}"  
message="Maximum of 70 words." />


and these were causing CPU usage to go through the roof when users  
edited this content.





More information about the opencms-dev mailing list