On Sat, Sep 03, 2011 at 08:44:45AM -0400, Joao Ronaldo wrote:
> Hi,
> 
> I am running obsd 4.7.
> 

That's a bit old.

> I noticed the message in the subject whenever I use ping.
> 
> There is no packet loss but I am worried I might be reaching
> some sort of resource exhaustion.
> 
> Could some body help me to interpret this message and 
> possibly give hints on how to avoid it?
> 

setsockopt is failing in:

        while (setsockopt(s, SOL_SOCKET, SO_RCVBUF,
            (void*)&bufspace, sizeof(bufspace)) < 0) {
                if ((bufspace -= 1024) <= 0)
                        err(1, "Cannot set the receive buffer size");
        }
        if (bufspace < IP_MAXPACKET)
                warnx("Could only allocate a receive buffer of %i bytes 
(default %i)",
                    bufspace, IP_MAXPACKET);

Did you tweak any sysctl options ?

Is the machine loaded ? 

I think sbchecklowmem() may be failing in uipc_socket2.c:403.  

Also ping should use warn() instead of a warnx() there. 

Claudio ?

Reply via email to