Version française
Home     About     Download     Resources     Contact us    
Browse thread
Mysterious bug
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <Christophe.Troestler@u...>
Subject: Re: [Caml-list] Mysterious bug
On Sat, 10 Dec 2005, Brian Hurt <bhurt@spnz.org> wrote:
> 
> On Sat, 10 Dec 2005, Jonathan Bryant wrote:
> 
> > 2. Unix.accept raises an Unix.Unix_error(12, "accept", "") at some
> > random time (sometimes, I believe, after all of the connections have
> > been made, but I feel very wrong in thinking this)
> 
> Not sure if this helps, but errno 12 is ENOMEM, which means the kernel is 
> running out of memory.  I'm not sure what would cause it, however.

# (Obj.magic 12 : Unix.error);;
- : Unix.error = Unix.EINVAL

man accept:

	EINVAL
		Socket is not listening for connections.

Hope it helps,
ChriS