Re: parallel webapp initialization

2012-01-26 Thread Pid
On 26/01/2012 06:52, David Rees wrote: > On Wed, Jan 25, 2012 at 1:24 AM, Pid wrote: >> On 24/01/2012 21:01, David Rees wrote: >>> The system has 8 CPU cores, Opteron 2378 CPU. Going beyond 4 >>> startStopThreads for the host where the webapps are deployed doesn't >>> speed things up much more as

Re: parallel webapp initialization

2012-01-25 Thread David Rees
On Wed, Jan 25, 2012 at 1:24 AM, Pid wrote: > On 24/01/2012 21:01, David Rees wrote: >> The system has 8 CPU cores, Opteron 2378 CPU.  Going beyond 4 >> startStopThreads for the host where the webapps are deployed doesn't >> speed things up much more as it appears that the webapps can use up to >>

Re: parallel webapp initialization

2012-01-25 Thread Pid
On 24/01/2012 21:01, David Rees wrote: > On Mon, Jan 23, 2012 at 11:53 PM, Pid * wrote: >> On 23 Jan 2012, at 21:12, David Rees wrote: >>> On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas wrote: I have added a patch based on the previous patches that adds: - threaded start/stop for Context

Re: parallel webapp initialization

2012-01-24 Thread David Rees
On Mon, Jan 23, 2012 at 11:53 PM, Pid * wrote: > On 23 Jan 2012, at 21:12, David Rees wrote: >> On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas wrote: >>> I have added a patch based on the previous patches that adds: >>> - threaded start/stop for Contexts >>> - threaded start/stop for Hosts >>> - t

Re: parallel webapp initialization

2012-01-23 Thread Pid *
On 23 Jan 2012, at 21:12, David Rees wrote: > On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas wrote: >> I have added a patch based on the previous patches that adds: >> - threaded start/stop for Contexts >> - threaded start/stop for Hosts >> - threaded deployment >> >> Control over the number of th

Re: parallel webapp initialization

2012-01-23 Thread David Rees
On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas wrote: > I have added a patch based on the previous patches that adds: > - threaded start/stop for Contexts > - threaded start/stop for Hosts > - threaded deployment > > Control over the number of threads is via server.xml and/or JMX. This > can be chan

Re: parallel webapp initialization

2011-10-11 Thread Mark Thomas
On 11/10/2011 10:02, Felix Schumacher wrote: > Hi Alexander, > On Tue, 11 Oct 2011 09:20:29 +0200, Alexander Knöller wrote: >> Hi Felix. >> >> Then you are already working on a patch? >> I haven't done any tomcat development, yet. >> And I am not familiar with the ettiquette for developing patches.

Re: parallel webapp initialization

2011-10-11 Thread Felix Schumacher
Hi Alexander, On Tue, 11 Oct 2011 09:20:29 +0200, Alexander Knöller wrote: Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. So if you are already working on it, I won't start doing the

Re: parallel webapp initialization

2011-10-11 Thread Pid
On 11/10/2011 08:20, Alexander Knöller wrote: > Hi Felix. > > Then you are already working on a patch? > I haven't done any tomcat development, yet. > And I am not familiar with the ettiquette for developing patches. http://tomcat.apache.org/getinvolved.html > So if you are already working on i

Re: parallel webapp initialization

2011-10-11 Thread Alexander Knöller
Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. So if you are already working on it, I won't start doing the same, right? Except cuncurrent development is favored? Regards Alex Am 10.

Re: parallel webapp initialization

2011-10-10 Thread Mark Thomas
On 10/10/2011 18:30, Felix Schumacher wrote: > Hi, > Am Montag, den 10.10.2011, 10:17 +0200 schrieb Alexander Knöller: >> Hi Mark. >> >> I'd like to give it a try. >> If I can't find time to do it I'll send an email. > I also took interest in it and have parallel starting of contexts > implemented.

Re: parallel webapp initialization

2011-10-10 Thread Felix Schumacher
Hi, Am Montag, den 10.10.2011, 10:17 +0200 schrieb Alexander Knöller: > Hi Mark. > > I'd like to give it a try. > If I can't find time to do it I'll send an email. I also took interest in it and have parallel starting of contexts implemented. But for stopping I couldn't find a central point to imp

Re: parallel webapp initialization

2011-10-10 Thread Alexander Knöller
Hi Mark. I'd like to give it a try. If I can't find time to do it I'll send an email. Regards Alex Am 09.10.2011 um 18:32 schrieb Mark Thomas: > On 09/10/2011 13:55, Alexander Knöller wrote: >> Hello mailing list. >> >> We use a single tomcat instance (soon switching from 5.5.23 to 7.x) with 2

RE: parallel webapp initialization

2011-10-09 Thread George Sexton
> -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 maili

Re: parallel webapp initialization

2011-10-09 Thread Darius D.
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

Re: parallel webapp initialization

2011-10-09 Thread Mark Thomas
On 09/10/2011 13:55, 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 do

parallel webapp initialization

2011-10-09 Thread Alexander Knöller
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