caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Joel Reymont <joelr1@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlnet servers fail to start on Mac OSX
Date: Mon, 02 Apr 2007 20:08:31 +0200	[thread overview]
Message-ID: <1175537311.29378.7.camel@localhost.localdomain> (raw)
In-Reply-To: <7373212D-5736-4D2A-BB67-BEB7F818F56F@gmail.com>

Am Montag, den 02.04.2007, 18:29 +0100 schrieb Joel Reymont:
> I'm tried to bring up examples/cgi/netcgi2-plex/netplex and got a  
> bunch of messages like this, plus a runaway server continually  
> forking itself.
> 
> [Mon Apr  2 17:30:51 2007] [netplex.controller] [crit] Exception in  
> workload manager, function adjust: Unix.Unix_error(15, "socketpair", "")

15 is EMFILE - too many file descriptors. Maybe you have to increase
some limit. Or this is a follow-up error.

> I also got Unix.Unix_error(49, "", "") when trying to start the  
> nethttpd server example. Error 49 is "Cannot bind to an address", I  
> believe.

No, 49 is EAFNOSUPPORT - address family not supported. I do not know
MacOS very much, but can it be some additional component needs to be
installed? Do you use an IPv4 or IPv6 address?

You can easily translate the numbers by:

# (Obj.magic 49:Unix.error);;
- : Unix.error = Unix.EAFNOSUPPORT

They are the same on all platforms.

> There's no problem running the examples on Linux.

Yeah, I'm primarily developing on Linux, but there is nothing
Linux-specific. From time to time I am testing on NetBSD or FreeBSD
which are quite similar to the MacOS kernel.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------


  reply	other threads:[~2007-04-02 18:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 17:29 Joel Reymont
2007-04-02 18:08 ` Gerd Stolpmann [this message]
2007-04-02 18:13   ` [Caml-list] " Joel Reymont

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=1175537311.29378.7.camel@localhost.localdomain \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    /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).