On Fri, 21 Sep 2001 15:54:31 +0200
[EMAIL PROTECTED] wrote:
>
> [EMAIL PROTECTED] wrote:
>
> > [EMAIL PROTECTED] wrote:
> > >
> > > infortunaltely, I can't make it work on aix.
>
> > are you talking about the kill command? That's a shame because
> > I had a very similar problem and we could use the kill command
> > to check tht they are the same.
>
> I tried again: nothing happens... as far as I can see...
The command doesn't put anything on the screen but creates a text file.
Try searching for a text file named javacorePPPPPPP.TTTTTTT.txt
(PPPPPPP is a number = the process id, TTTTTTT is a number = the time) The thread
information is in that file.
>
>
> > When you open a connection to a URL on a HTTP 1.1 server Java
> > uses keep-alive by default. Java keeps the connection alive by
> > having a thread waiting for some action on the socket.
> > Therefore, even if you close the connection the thread still
> > lives.
>
> I don't understand: my sample make new url connections very
> often: 50 threads opening URL connections every some seconds :
> either "Thread.activeCount()" and "ps -o THREAD" give a constant
> number of thread (after some "boot time").
>
> So I don't see where keepAlive would have some meaning.
>
> Did I miss something ?
No, sorry, I misunderstood you. I thought the number of threads was increasing.
>
> --
> Joseph Vallot
>
--
simon colston
[EMAIL PROTECTED]