Re: serving multiple shape files with Linklayer

From: Don Dietrick <dietrick@bbn.com>
Date: Wed May 16 2001 - 15:13:48 EDT

Hi,

When the client breaks contact (signs off), an IOException is thrown and
caught by the server thread, which ends the life of that thread. The
resources used by that thread are eventually gc'd, although I've noticed
that usually happens when the next thread dies. I suspect there's a
small memory leak there that's preventing a more timely cleanup, but the
cleanup does happen. (I am trying to track this down)

 - Don

Mark Bucciarelli wrote:

> Openmap handles multiple clients just fine; each applet client get's it's
> own socket and thread.
>
> The only potential drawback is that once a client thread is started, I
> don't think it ever stops. As I read the code, the shape server blocks
> in the link, waiting for the next request from the client. So I think
> you theoretically could run into a situation where all the sockets
> (62,000??) could be exhausted on the shape file port.
>
> I would expect that when the applet closes, the link layer client should
> let the shape server know it's ok to close that socket. Based on my
> previous experience with OpenMap code, this is probably happening; I
> just not looking in the right place!

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed May 16 15:10:57 2001

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT