Have you tried using the monitor in conjunction with Jmeter to send 20 concurrent requests for say 5K iterations? from your description, it sounds like a slow leak some place. I had a similar problem in a past project where a thread was lying around several minutes after the request was served. luckily I saw the problem when I did my benchmarking. In my case, it was fairly easy to isolate the component, since I run benchmarks for every component I integrate with Tomcat. What I did was, I ran the benchmark on a development machine for an hour with 16 concurrent requests for 1K iterations. after 20 minutes I noticed the problem. To isolate the problem, I used OptimizeIt to look at the thread count. The new module was multi-threaded. Hope that helps. peter Dan McGowan <[EMAIL PROTECTED]> wrote:Justin, Thanks for the lightweight memory monitoring suggestion. I implemented it on a jsp that just displays the values and writes a line to a file. Every minute I reload the page using a meta "refresh" command. The excerpts below start at 10 am and go to after 4 pm. The server did crash while I was doing the monitoring (see the used and free change on the second to the last line). It seem like there was a increase of memory used as the day wore on. When I started logging there was 67 Mb free and it never was that high again. Is this considered "unbounded growth"? I also noted that before tomcat crashed the "free" was at its lowest point during the monitoring.
02/13/2003 10:36:32 PST Total: 126.687 Mbytes Used: 59.3531 Mbytes Free: 67.3343 Mbytes 02/13/2003 10:37:33 PST Total: 126.687 Mbytes Used: 60.5069 Mbytes Free: 66.1805 Mbytes 02/13/2003 10:38:34 PST Total: 126.687 Mbytes Used: 61.0636 Mbytes Free: 65.6238 Mbytes 02/13/2003 10:39:34 PST Total: 126.687 Mbytes Used: 62.7682 Mbytes Free: 63.9192 Mbytes 02/13/2003 10:40:35 PST Total: 126.687 Mbytes Used: 64.1438 Mbytes Free: 62.5436 Mbytes . . . 02/13/2003 16:09:26 PST Total: 126.687 Mbytes Used: 74.4758 Mbytes Free: 52.2116 Mbytes 02/13/2003 16:10:26 PST Total: 126.687 Mbytes Used: 65.3667 Mbytes Free: 61.3207 Mbytes 02/13/2003 16:11:26 PST Total: 126.687 Mbytes Used: 76.5031 Mbytes Free: 50.1843 Mbytes 02/13/2003 16:12:27 PST Total: 126.625 Mbytes Used: 13.0776 Mbytes Free: 113.547 Mbytes 02/13/2003 16:13:27 PST Total: 126.687 Mbytes Used: 20.2097 Mbytes Free: 106.477 Mbytes I also ran the same monitoring on my development machine where the only thing I had going was the monitoring page. To run the monitoring it took between 10 Mbytes and 40 Mbytes. When recycling occurred, it did not reached the initial levels of free memory (unbounded growth?) Thanks again for the suggestion, any insights would be appreciated. Dan McGowan [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day
