caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Anders Fugmann <anders@fugmann.net>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Netmcore problems.
Date: Fri, 13 Jan 2012 17:30:44 +0100	[thread overview]
Message-ID: <4F105C34.3010207@fugmann.net> (raw)

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



             reply	other threads:[~2012-01-13 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13 16:30 Anders Fugmann [this message]
2012-01-13 17:06 ` Gerd Stolpmann
2012-01-16 17:46   ` Anders Fugmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F105C34.3010207@fugmann.net \
    --to=anders@fugmann.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).