RE: Tomcat Requirements

2005-04-12 Thread Robert Harper
Java will use as much as you let it. The amount of memory is dependent more on your app. than Tomcat. You can write inefficient code that will kill any platform or you can write very efficient code that will hardly tax the system. Tomcat itself does not require that much to run. You should also

RE: Tomcat Requirements

2005-04-12 Thread Dale, Matt
There is no way for anyone to even guess at that without benchmarks of your application. I'd suggest you use Jmeter and simulate users to see how it affects a server that you have already. 3000 is a lot of users so perhaps some kind of clustered environment should be considered. -Original

Update Re: Tomcat Requirements?

2004-12-11 Thread Chris Cherrett
This is an old post but I would like to thank everyone who helped out. The problem turned out to indexes on the mysql database. I added index and everything runs great for my client on their small machine. -- (This is relative: I have a client running a sun server - dual 3.4 with 2 GB ram.

RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
From: Chris Cherrett [mailto:[EMAIL PROTECTED] I have a client who is claiming that my software is slowing down. I cannot determine why this would be. Profile it - what's slow? Start Admin ToolsPerformance, add: Processor%CPU time MemoryPages/sec Physical DiskAvg Disk Queue Length Are you

Re: Tomcat Requirements?

2004-11-30 Thread Chris Cherrett
Thank you for the suggestions. I had the client do just that this afternoon. Tomcat averaged 15% CPU Mysql spiked the CPU usage to 100% when hit with long queries. Would this be an indication of the need for RAM, or the need for a faster CPU? They are running 360MB of RAM. P3 450 Thanks On

[OT] RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
[I'm marking this OT as it's looking increasingly like a database issue] From: Chris Cherrett [mailto:[EMAIL PROTECTED] Tomcat averaged 15% CPU Mysql spiked the CPU usage to 100% when hit with long queries. Bloody. Would you expect that to be the case? Naively, I'd be looking at my

Re: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Quinton Delpeche
On Tuesday 30 November 2004 12:42, Peter Crowther wrote: Bloody. Would you expect that to be the case? Naively, I'd be looking at my database indexing at this point and seeing what was causing mySQL to have problems. I had a similar problem with PostgresQL. Created some indexes and now the

Re: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Chris Cherrett
The queries are very complex in this case. I will look into indexing and see what I can do. Thanks for the help. I will post back to tell you what I come up with. Thanks On November 30, 2004 03:46 am, Quinton Delpeche wrote: On Tuesday 30 November 2004 12:42, Peter Crowther wrote: Bloody.

RE: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
From: Chris Cherrett [mailto:[EMAIL PROTECTED] The queries are very complex in this case. I will look into indexing and see what I can do. Thanks for the help. I will post back to tell you what I come up with. Best of luck! I find that capturing a workload and replaying it is the only

Re: Tomcat Requirements?

2004-11-30 Thread Ronald Klop
Is the system using swap? You should tune the java app (Tomcat) to not use more memory than is available without swapping. Ronald. On Mon Nov 29 20:43:07 CET 2004 Chris Cherrett [EMAIL PROTECTED] wrote: I have a client who is claiming that my software is slowing down. I cannot determine why this

Re: Tomcat Requirements?

2004-11-30 Thread Tim Funk
When Mysql is at 100%, you go to the Mysql list and ask for help.;) A database at 100% could be any number of reasons: 1) A bad join 2) An inefficient query 3) Not enough memory on the server 4) Not enough memory for Mysql 5) Lack of indexes or poor index choices 6) ... Get a second machine.

Re: Tomcat Requirements?

2004-11-30 Thread Peter Lin
which another good reason to put the database on separate box. by isolating tomcat and mysql, you can run tests on each. then you can test the setup together and see what you get. that's how I generally test my applications. peter On Tue, 30 Nov 2004 07:05:59 -0500, Tim Funk [EMAIL PROTECTED]

RE: Tomcat Requirements?

2004-11-29 Thread Shapira, Yoav
Hi, It's not as much the hardware itself (probably) as what else is running, and the load experienced by the app. This box is puny. Nothing else should be running, and even then unless your app is very light only a small concurrent load could probably be handled well. Yoav Shapira

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
that would depend on what kind of application it is. without more info, like does it hit a database, is the database hosted on the same system or does the application get remote data it's going to be hard for others to provide good recommendations. peter On Mon, 29 Nov 2004 12:43:07 -0700,

Re: Tomcat Requirements?

2004-11-29 Thread Chris Cherrett
The application is highly database driven. In this case it is running a mysql database on the same machine. What would be the recommened hardware configuration? On a P4 2.4 with 1GB of RAM Tomcat is very happy! Thanks On Monday 29 November 2004 12:53 pm, Peter Lin wrote: that would depend on

RE: Tomcat Requirements?

2004-11-29 Thread Fredrik Liden
Hi Chris, That's a pretty general question. It depends on what apps you are running. The number of users. Then there could be various bottlenecks and memory leaks. I'm not sure if Tomcat 5 still have a memory leak but I recall other people having problems in this area before. Why don't you go

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
as Yoav recommended, tomcat should be on it's own server. I would put mysql on another system. that should fix things. most likely the slowness is the result of database performance. peter On Mon, 29 Nov 2004 12:54:18 -0700, Chris Cherrett [EMAIL PROTECTED] wrote: The application is highly

RE: Tomcat Requirements?

2004-11-29 Thread Shapira, Yoav
Hi, On a P4 2.4 with 1GB of RAM Tomcat is very happy! You missed my (and others') main point. It's not just Tomcat that's happy or unhappy. You have to consider the overall combination: that includes the database engine, the OS-level stuff (other processes, such as scheduled tasks and

Re: Tomcat Requirements?

2004-11-29 Thread Chris Cherrett
Would this problem be solved by a hardware upgrade? On Monday 29 November 2004 01:03 pm, Peter Lin wrote: as Yoav recommended, tomcat should be on it's own server. I would put mysql on another system. that should fix things. most likely the slowness is the result of database performance.

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
unless there's a really good reason, it's generally better to have the database on one system and tomcat on another. once the concurrent query load increases, tomcat will be fighting mysql for cpu and memory resources. peter On Mon, 29 Nov 2004 13:03:36 -0700, Chris Cherrett [EMAIL PROTECTED]

Re: Tomcat Requirements?

2004-11-29 Thread Parsons Technical Services
PROTECTED] Sent: Monday, November 29, 2004 3:03 PM Subject: Re: Tomcat Requirements? Would this problem be solved by a hardware upgrade? On Monday 29 November 2004 01:03 pm, Peter Lin wrote: as Yoav recommended, tomcat should be on it's own server. I would put mysql on another system. that should

Re: Tomcat Requirements?

2004-11-29 Thread Quinton Delpeche
On Monday 29 November 2004 21:43, Chris Cherrett wrote: I have a client who is claiming that my software is slowing down. I cannot determine why this would be. He is running the following: P3 - 450 with 360MB of RAM with 2 IDE - 7200 RPM drives mirrored Raid 1 with Win2k I have found that