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. 

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.


-- 
View this message in context: 
http://old.nabble.com/parallel-webapp-initialization-tp32619136p32620647.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to