On Thu, Feb 22, 2001 at 09:21:20AM -0800, Mr.Bad wrote: > >>>>> "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...
We already do that. If its *not* trimming back down, then you have connections stuck open or the thread trimming isn't working. Check netstat to see if you have open, idle connections to freenet nodes. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20010222/ce5deb89/attachment.pgp>
