You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by software <so...@ciat.cgiar.org> on 2004/03/01 14:53:50 UTC

Re: Help tomcat problem with memory

Hi, tahnks for you help,
We actually running Java Applications with JDBC connectios to the 
databases, we have in this moment 13 application more or less, and one 
of the this application is on our website, we've received connections 
from any sites of the internet, and we are interesting to get tunnig in 
ours Tomcats.


Christopher Schultz wrote:

> Fabian,
>
>> If  i have only two java proccess of 141 MB and 55 MB why my memory 
>> is over 90% of the utilization and the application working slowly or 
>> not working, when the users try to get access using the webserver in 
>> this server. i can't understand this problem...thnaks
>
>
> You have to understand something about Linux memory: it never gives it 
> up. So, even though 'top' reports that your box has very little free 
> physical memory, that doesn't mean that it's all being used.
>
> When the kernel obtains memory on behalf of a process, it doesn't go 
> back into 'free' when the process fees it or dies. I know it's a 
> little weird.
>
> However, you do have a reasonable complaint: the app seems sluggish, 
> and with that hardware, it shouldn't be.
>
> Again: what are you running? If your code fires off 500 threads every 
> time a request comes in, then maybe you shoudl rethink your 
> architecture. If it's nothing heavy-hitting, then something else is 
> wrong. What else is running on the box?
>
> What benchmarks have you run? Or, are you just complaining about 
> wall-clock time? Could your problem be network latency? How far from 
> the box are you?
>
> -chris



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org