From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,fed2e7871ca258cd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-17 02:20:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: Thierry Lelegard Newsgroups: comp.lang.ada Subject: Re: Server - tasking and long lived connections Date: Mon, 17 Dec 2001 11:16:13 +0100 Organization: CANAL+ Technologies Message-ID: <3C1DC5ED.9E9F11F1@canal-plus.fr> References: <3C1DB7B7.DF767F9@canal-plus.fr> <9vkecb$a6v$1@s1.read.news.oleane.net> NNTP-Posting-Host: host227.canal-plus.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.read.news.oleane.net 1008584173 11851 194.2.208.227 (17 Dec 2001 10:16:13 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 17 Dec 2001 10:16:13 +0000 (UTC) X-Sender: "Thierry Lelegard" (Unverified) X-Mailer: Mozilla 4.78 [fr]C-CCK-MCD C+ (WinNT; U) X-Accept-Language: en,fr,zh-CN,zh-TW Xref: archiver1.google.com comp.lang.ada:17990 Date: 2001-12-17T11:16:13+01:00 List-Id: Jean-Pierre Rosen wrote : > > "Thierry Lelegard" a �crit dans le message news: 3C1DB7B7.DF767F9@canal-plus.fr... > > I think that the trap in this kind of applications (servers with one > > or more tasks per client connection) is the fate of the tasks when > > the client disconnects. If you let the tasks die and recreate new > > tasks for new client connections, you will most certainly face some > > slow memory leak. We have seen that, although the stack itself is > > deallocated when a task dies, there aer a few bytes which remain > > allocated (some kind of TCB I suppose). > > > This was due to the (in)famous Rosen's pathology ;-) > It has been (fortunately) exterminated in in Ada 95, so the problem should not appear any more. Quite interesting. Could you elaborate on this? What kind of change was introduced in Ada95 to eliminate this? -Thierry ____________________________________________________________________________ Thierry Lelegard, "The Jazzing Troll", Email: thierry.lelegard@canal-plus.fr CANAL+ Technologies, 34 place Raoul Dautry, 75906 Paris Cedex 15, France Tel: +33 1 71 71 54 30 Fax: +33 1 71 71 52 08 Mobile: +33 6 03 00 65 75 ____________________________________________________________________________