English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] printable digest strings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-05-07 (18:16)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Wserver: Values of global variables lost

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

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.

To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr