From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q0DGV6Ok031511 for ; Fri, 13 Jan 2012 17:31:06 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAKlbEE9auLfF/2dsb2JhbABCqmWDOYIxQD0WGAMCAQIBSw0IAod4l2SfRIwdBJpjjG8 X-IronPort-AV: E=Sophos;i="4.71,505,1320620400"; d="scan'208";a="139185737" Received: from 0405ds1-vaer.0.fullrate.dk (HELO fw.fugmann.net) ([90.184.183.197]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 13 Jan 2012 17:31:01 +0100 Received: from [10.0.10.34] (unknown [195.184.103.10]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fw.fugmann.net (Postfix) with ESMTPSA id DEDFB4005A for ; Fri, 13 Jan 2012 17:30:58 +0100 (CET) Message-ID: <4F105C34.3010207@fugmann.net> Date: Fri, 13 Jan 2012 17:30:44 +0100 From: Anders Fugmann User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Iceowl/1.0b2 Icedove/3.1.16 MIME-Version: 1.0 To: caml-list Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Validation-by: anders@fugmann.net Subject: [Caml-list] Netmcore problems. Hi, I'm having a problem using netmcore from ocamlnet 3.4 library. When I try to place a large data structure into Netmcore_array, the controlling process dies with the following error: [Fri Jan 13 16:21:38 2012] [netplex.controller] [alert] Process 28067 for service netmcore_0 terminated with signal 7 The error occurs while trying to initialise a Netmcore_array from an array of 4*10^6 strings all of length 150. This is done in the context of the "first" process. The controlling process initializes a memory pool by using let pool_id = Netmcore_mempool.create_mempool (1024 * 1024 * 1024 * 10) in Running the code on a smaller dataset seems to work. I have increased kernel variables shmall and shmmax to very high numbers (100Gb), but it does not solve the problem. All ideas are welcome. On other question while I'm at it; am I allowed to create multiple shared arrays from the same memory pool, or do I need to create one pool for each shared array? Regards Anders Fugmann