Re: heap thrashing

2015-09-13 Thread Mark Thomas
On 13/09/2015 05:02, Leo Donahue wrote: > On Fri, Sep 11, 2015 at 11:27 AM, Mark Thomas wrote: > >> On 11/09/2015 15:43, Leo Donahue wrote: >>> On Fri, Sep 11, 2015 at 9:36 AM, Leo Donahue >> wrote: >> >> (typically by pooling and re-using objects rather

No of Sockets/LSOF - query

2015-09-13 Thread vicky
Hi All, I'm a web admin ,have little understanding of how to configure the no.of sockets , list of open files & tomcat threads in server.xml Can some one please help me out that as a web admin how i can suggest/recommend the proposed the number for no. of sockets, list of open files & tomcat

RE: heap thrashing

2015-09-13 Thread Caldarale, Charles R
> From: Leo Donahue [mailto:donahu...@gmail.com] > Subject: Re: heap thrashing > Why does the jvm decide to collect garbage that fast as opposed to letting > it build and taking care of it later? Because your webapp has filled up one of the divisions of the heap. Read up on how the Java heap

RE: heap thrashing

2015-09-13 Thread Caldarale, Charles R
> From: Leo Donahue [mailto:donahu...@gmail.com] > Subject: Re: heap thrashing > "re-using objects" - do you mean declaring static variables or using thread > locals? Or something else? In an environment that uses thread pooling (e.g., Tomcat), any use of thread locals has to be done very,

Re: Tomcat access log customization

2015-09-13 Thread Felix Schumacher
Am 08.09.2015 um 12:31 schrieb Eric Tang: Dear Tomcat support, I am a developer working on Java applications and have been using different containers and deployment platforms. I would like to have a question on the access logs. The access logs of Tomcat is configured in

Re: Tomcat Session issue - Session not expiring on browser close event

2015-09-13 Thread Kiran Badi
Hi Chris, Thanks Chris for reply. Perhaps you should think about using a leaner session, and then sessions living for longer than necessary won't be such a big problem What do you mean by leaner session ? Storing less objects in session or changing default timeout from 30 mins to something of