There will be high CPU usage when first accessing pages due to classloading, jsp initialisation, etc. This should die off quickly.
2009/7/16 Mauricio Ferreyra <maur...@gmail.com> > I tried to instance with some page without access to database, such as > 404.jsp, and the CPU usage grow up to 80%, > I think the problem is sitemesh. > Can sitemesh use a lot of CPU? > > > > > On Thu, Jul 16, 2009 at 4:46 PM, Michael Horwitz > <mike.horw...@gmail.com>wrote: > >> AppFuse is not necessarily CPU intensive as such. It largely depends on >> what your application is doing to service the requests and what kind of load >> you are subjecting it to using JMeter. Other things to look at are whether >> you are running the database on the same machine and, if you are, how the >> CPU time is divided between the database and AppFuse itself. >> >> Unless the load you are generating is the expected average traffic (or >> below) for your site, 70 to 80% CPU may not be a problem. >> >> Mike >> >> 2009/7/16 Mauricio Ferreyra <maur...@gmail.com> >> >> Hi, I've a problem with the cpu required. >>> When I'm testing my app with jmeter the CPU require is between 70% and >>> 80%. >>> I'm using Struts 2 / Spring / Hibernate. >>> >>> Why does Appfuse require a lot of CPU? >>> >>> Thanks in advance! >>> >>> Mauri >>> >>> >>> >>> >> >> >