RE: [struts-menu] Performance problems

"Pingili, Madhupal" <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Thanks for answering my questions Matt.
I have removed Velocity JARs, globalMacros.vm and templates folder.
I don't see the velocity.properties file in Web-inf/classes folder.

I am running topas command in a Putty session to see CPU busy %.
Now, on IE browser window, invoking web page and 
clicking on menu tab, shoots up CPU % to above 90.
And if I click on menu tab 5/6 times( assuming 5/6 users clicking on 
menu tab from their PCs), also CPU % becomes 98 for about 20/30 seconds.
java process is taking all 98%.
This web app. is going to be used by more than 600 users.

Can you please test something like above and see the performace?
I would like to see the results from other developers also.

As you suggested, I am going to remove Struts-menu and see the performance.

Thank you,
Reddy Pingili 

> -----Original Message-----
> From:	Matt Raible [SMTP:lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]]
> Sent:	Tuesday, March 23, 2004 10:41 AM
> To:	struts-menu-user-TtF/[email protected]
> Subject:	RE: [struts-menu] Performance problems
> 
> 
> 
> > -----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
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-TtF/[email protected]
> https://lists.sf.net/lists/listinfo/struts-menu-user


-------------------------------------------------------
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.