RE: [struts-menu] Performance problems

"Matt Raible" <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Organization Raible Designs, Inc.
Message-ID <[email protected]>

> -----Original Message-----
> From: struts-menu-user-admin-TtF/[email protected] 
> [mailto:struts-menu-user-admin-TtF/[email protected]] On Behalf Of 
> Pingili, Madhupal
> Sent: Monday, March 22, 2004 2:31 PM
> To: 'struts-menu-user-TtF/[email protected]'
> Subject: [struts-menu] Performance problems
> 
> 
> Hello All,
> Before decided using TabbedMenuDisplayer, I was testing with 
> VelocityDisplayer. Now, I am using TabbedMenuDisplayer. 
> But I still have /Web-inf/classes/goblaMacros.vm and 
> /templates/tabs.html in my war file. 
> Can anyone tell me why it is starting Velocity now?

To be honest, I'm not sure - try removing velocity.properties from
WEB-INF/classes - or removing the Velocity JARs altogether.

> Also, how can I set the logging level to WARN for struts-menu classes?

In log4j.properties, or log4j.xml - set it to WARN:

log4j.logger.net.sf.navigator=WARN


>                                                             
>  INFO (SimpleLog4JLogSystem.java:175) -
> ************************************************************** 
>  INFO (SimpleLog4JLogSystem.java:175) - Starting Jakarta 
> Velocity v1.4-rc1  INFO (SimpleLog4JLogSystem.java:175) - 
> RuntimeInstance initializing.  INFO 
> (SimpleLog4JLogSystem.java:175) - Default Properties File: 
> org/apache/velocity/runtime/defaults/velocity.properties
>  --------------
> DEBUG (?:?) - setting name to: loans
> DEBUG (?:?) - setting name to: visamc
> DEBUG (?:?) - setting name to: adv
> DEBUG (?:?) - setting name to: logoff
> 
> We just ran the stress test on a web app. developed using 
> Struts-Menu 2.0 and Struts 1.1. Overall, the application 
> appeared to slow down significantly with only "50" users, the 
> average response time on my PC was about 30 seconds to bring 
> up a page (this does not include running a query, just 
> clicking on a struts-menu tab heading). 
> Server stats showed disk and memory usage being pretty low on 
> the web server. There appeared to be hardly any paging or 
> swapping. However, the CPU was pinned at 98-100% with only a 
> few users. We noticed a constant CPU of 98% with only "10" users. 
> 
> We are always thinking about struts-menu code for performance 
> problems. Is there any document that gives stress test 
> results of a web app. that uses struts-menu?

Not that I know of - have you tried removing Struts Menu (just view
source and copy the HTML into your code) and seeing if that helps?

Matt




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.