I'm out at a clients and we're investigating using Linux, Apache, and
Jserv in Apache for the new services they want to roll out to their
customers.
Being a Linux user for years, I have no doubt of its ability, but being
a company they want to play it safe. I've been doing an unrelisitic-
for-my-clients-uses tests where a java servlet that speaks over RMI is
being hit anywhere from 3 to 8 times a second. Its working beautifully
except I think I may have discovered a memory leak.
When I first ran the test servlet, memory would grow quickly and would
eventually fill up the heap and cause the vm to exit. After doing some
quick research I found out that the garbage collection thread was never
running because it was such a low priority thread and the cpu (and the
vm) was pegged with requests, so it never got a chance to collect.
I throw a System.gc() call at the end of the servlet, and the mongo
growth stopped. However, after 7-10 hours of being pounded on, the
memory footprint still grows a little bit.
After I stopped the bombing I expected the the vm to shrink a bit, but
it never did...Which makes me think is a very time memory leak that is
showing up after constant pounding and a long period of time. And I can't
figure out if its in the vm, or in something that mod_jserv does to the
vm.
I can't track the possible bug down much more then this, which is
fustrating because its useless as a bug report. However, I do want to
see if anyone can verify my results.
Anyone...anyone? Bueller?
Keith
--
Keith T. Garner [EMAIL PROTECTED]
STR Consultant http://www.str.com/ [EMAIL PROTECTED]
"Its hard to play pin the tail on the donkey when its running
around kicking you." -- Illinois Little Lotto radio commercial