> -----Original Message-----
> From: Darius D. [mailto:darius....@gmail.com]
> Sent: Sunday, October 09, 2011 1:26 PM
> To: users@tomcat.apache.org
> Subject: Re: parallel webapp initialization
>
>
>
> Alexander Knöller wrote:
> >
> > Hello mailing list.
> >
> > We use a single tomcat instance (soon switching from 5.5.23 to 7.x)
> with
> > 24 webapps. Each webapp is based on spring and hibernate doing a lot
> of
> > I/O during initialization.
> > Tomcat is often restarted which causes long downtimes. As far as i
> can
> > see the tomcat initializes its wepapps sequentially. So despite the
> fact,
> > that our tomcat-intance runs on a 8 core linux system, tomcat seems
> to use
> > a single thread to initalize the webapps.
> >
> >
>
> I'd love to see such patch as well, we have ~20 webaps with a total
> hundreds
> of megabytes of WAR files and full tomcat restart takes like 2 minutes
> on 24
> thread machine with SSD storage subsystem.
I'd like to see this as well. I'm running 3 servers, each with about 300
virtual hosts. Initialization varies from 1:40 to 4:00 depending upon how good
the machine is.
>
> Some tuning options are needed as well, as webapp initialization can be
> IO
> bound on some storage so having more threads can actually make it
> slower (
> once disk heads start moving... ). Good and safe default would be 1
> init
> thread and max bound by cpus available in the system ?
>
> Regards,
>
> Darius.
>
George Sexton
MH Software, Inc.
303 438-9585
www.mhsoftware.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org