For Tomcat on NT as a service, you can set the -Xms and -Xmx in the
registry.  Its HKEY_LOCAL_MACHINE\Service\CurrentControlSet\<Name of
Service>\Configuration.  You can add new JVM Option Number X (and make sure
to increment the JVM Option Count key) to contain the additional parameters.

        Randy


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 7:32 AM
> To: Rahul Asanikar
> Cc: Tomcat Users List
> Subject: Re: tuning tomcat!!
> 
> 
> What borthers you with that ?
> Is the system too slow / sloppy ?
> I would also try to switch some flags like the green threads / native
> threads & see how it behaves.
> 
> Have you try these while running as a normal APP ?
> I mean not an NT-service ?
> 
> Another thing you could do is to simply have a dummy jsp / 
> servlet creating
> an chain of Objects to force allocation of lots of memeory & 
> see then what
> you do monitor !
> 
> R U using "perfmon" to do so ?
> 
> thomas,
> 
> 
> --
> Thomas SMETS
> rue J. Wytsmanstraat 62
> 1050 Bruxelles
> yahoo-id : smetsthomas
> ----- Original Message -----
> From: "Rahul Asanikar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: 07 March, 2002 12:30 PM
> Subject: Re: tuning tomcat!!
> 
> 
> > Hi Thomas,
> >
> > I have tried it, but in vain :-(
> > Anyway its using only 20-25 MB out of default 64 MB memory.
> >
> > Any thoughts?
> >
> > Rahul.
> >
> >
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, March 07, 2002 2:26 PM
> > Subject: re : tuning tomcat!!
> >
> >
> > >
> > >
> > > Rahul,
> > > Have you tried to pass to the VM unsupported argument like
> > java -xms<MinSizeInMbOfHeap> -xmx<Max_Size_in_MB_of_Heap> 
> ClasstoStart
> > > (I would not have a clue on how you 'd it when it's as a 
> NT-service).
> > >
> > > Thomas,
> > >
> > > ===================
> > >
> > >
> > > Hi,
> > >
> > > I am using Tomcat 4.0.1 with IIS 5 on Win2K as a service.
> > > The no. of hits on the IIS & Tomcat are 250 per sec. When 
> this happens,
> > > tomcat & IIS start eating up CPU upto 30-80%. This is 
> directly related
> to
> > > the no. of hits to the server as it calms down when the 
> no. of users
> > > (hits/sec) are less.
> > >
> > > I am using default configuration of tomcat. Is that 
> enough? or Is there
> > any
> > > way of tuning the tomcat. I have 512 MB RAM out of which 
> 50% is still
> free
> > > and my servlet uses only 20-25 MB. So its not using its 
> default 64 MB
> > also.
> > >
> > > Any suggestions?
> > >
> > > Best Regards,
> > > Rahul.
> > >
> >
> >
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to