From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA30381; Mon, 7 May 2001 20:16:18 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA30096 for ; Mon, 7 May 2001 20:16:18 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f47IGEf13402; Mon, 7 May 2001 20:16:14 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id UAA23223; Mon, 7 May 2001 20:16:15 +0200 Date: Mon, 7 May 2001 20:16:15 +0200 From: Daniel de Rauglaudre To: Mattias Waldau Cc: caml-list@inria.fr Subject: Re: [Caml-list] Wserver: Values of global variables lost Message-ID: <20010507201615.L12332@verdot.inria.fr> References: <20010503153234.A28259@caddr.com> <4.3.2.7.2.20010504125129.00e25990@shell16.ba.best.com> <01050620563901.11893@fforum.se> <01050719000100.15718@fforum.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <01050719000100.15718@fforum.se>; from mattias.waldau@abc.se on Mon, May 07, 2001 at 07:00:01PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Mon, May 07, 2001 at 07:00:01PM +0200, Mattias Waldau wrote: > I solved the problem by taking the wserver included in geneweb, and > recompiling it with -DNOFORK. Indeed, but now, you must pay attention that your function does not generate memory leaks: think of closing your opened channels, things like that. You must program clean what is not necessary with the fork version. But with this option NOFORK, Wserver is nice with you: if there have been no requests since the last 15 seconds, a Gc.compact is triggered. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr