>>>>> "KR" == Kirk Reiser <kirk at braille.uwo.ca> writes:
KR> hmmm, I don't know if this is normal or not but I've noticed
KR> that after the server is started I have 11 java
KR> processes/threads. After I have done a number of look ups on
KR> one box the number of processes go up to 23 currently. On
KR> another box which got a bunch of request failed messages it is
KR> currently up to 30. On both boxes these processes don't seem
KR> to go away at any point I have seen so far.
Hrm. Actually, that's perfectly normal.
HOWEVER, would it make sense to start reaping unused threads? Like,
have a parameter, something like maxIdleThreads, so that if a thread
is reclaim()'d and there are already maxIdleThreads around, go ahead
and kill it.
There's like a resource-performance tradeoff, of course...
~Mr. Bad
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/\____/\ Mr. Bad <mr.bad at pigdog.org>
\ / Pigdog Journal | http://pigdog.org/ | *Stay*Real*Bad*
| (X \x)
( ((**) "If it's not bad, don't do it.
\ <vvv> If it's not crazy, don't say it." - Ben Franklin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://www.uprizer.com/mailman/listinfo/devl