Thanks for the suggestions this far. 
I had an oversight with the tomcat monitoring, didnt notice it on the site.

I will try that just as the suggestions about JStack etc.

why 2 Xms settings?
I thought to have understood that catalina en java opts were 2 seperate things 
but I was wrong?

Thanks
Alex
________________________________________
Van: Harry Metske [harry.met...@gmail.com]
Verzonden: maandag 19 april 2010 14:16
Aan: Tomcat Users List
Onderwerp: Re: memory problems / time outs

2010/4/19 Woude, Alexander van der <alexander.vander.wo...@capgemini.com>

> Sorry a small correction. The client times out, because the tomcat gives a
> Heap Space memory error.
>
> config in startup.sh :
>
> export JAVA_OPTS="-Xms128m -Xmx512m"
> export CATALINA_OPTS="-Xms512m -XX:MaxPermSize=512m"
>
> My apps are 7 war, that  each contain its own deps. Size of 1 war is 14 MB
>
> How do I check the memory the tomcat uses?
>

you can also enable JMX, see
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling
JMX Remote and use jconsole to monitor real time memory usage.



> Greetings
> Alex
>
>
> ________________________________________
> Van: Woude, Alexander van der [alexander.vander.wo...@capgemini.com]
> Verzonden: maandag 19 april 2010 13:49
> Aan: users@tomcat.apache.org
> Onderwerp: memory problems / time outs
>
> Hello All
>
> For a client I developed a few Data webservices. In total there are 7
> services.
> All are CXF based webservices that use hibernate.
>
> I keep having memory problems, so I increased both JAVA_OPTS as
> CATALINA_OPTS.
> Now I get timed out errors and tomcat blocks completely, I only can resolve
> things by restarting the tomcat server.
>
> I did profile my services and I did profile my hibernate DAO's and it seems
> fine.
> I have no clue where to look anymore for a solution, any idea is welcome.
>
> I use tomcat-6.0.18 on RedHat enterprise linux 5 , 64 bit version. With a
> OpenJDK java6 64 JVM.
>
> Thanks
> Alex
>
>
>
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the
> intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message or
> any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of
> this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
>
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the
> intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message or
> any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of
> this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


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

Reply via email to