Subject: Re: No buffer space available
To: S.J. Borrill <sjb42@cus.cam.ac.uk>
From: Mike Pumford <mpumford@mpc-data.co.uk>
List: port-arm32
Date: 07/20/1998 15:40:47
S.J. Borrill wrote:
> 
> I've a RiscPC with two ethernet cards in running 1.3F. The machine is
> acting as a web proxy. There are a number of client machines on one
> interface and the other interface is conneted to an ISN router. When I
> have more than a couple of pages being fetched the connection gets 
> slower and eventually hangs. If I try to ping anywhere , I get the 
> error 'No buffer space available'. netstat shows thaht about 38 
> sockets are being used and much of these are in a wait state. After a 
> few minutes, the tcp connections time out, the sockets are freed up 
> and everything works again for a small while. I presume this is like 
> mbuf exhaustion under RISC OS.
> How do I get around the problem?
> 
I think that the number of mbufs is controlled by the NMBCLUSTERS kernel
config option. I think this defaults to 1024 if not explicitly set in
the kernel config.

Mike