Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2002 11:42:07 EST
From:      TD790@aol.com
To:        drwilco@drwilco.net
Cc:        hackers@freebsd.org
Subject:   Re: Running out of bufferspace
Message-ID:  <17a.19ef4b4.296340df@aol.com>

next in thread | raw e-mail | index | archive | help
In a message dated 12/31/01 11:52:47 PM Eastern Standard Time, 
drwilco@drwilco.net writes:

> Thing is, my mbufs are fine, peak is 1/3rd of max. I also use sowriteable() 
>  to check if it's safe to send, and sbspace() tells me I have the full 128K 
>  sndbuf that I configured available.
>  
>  So I have 2 questions...
>  1) which buffers are there that I can run out of here and where can I 
check 
>  their status?
>  2) Should I free() the uio I get from userspace after I have passed it to 
>  the sosend?
>  


Just note that  "no buffers" often means that the queue is full, not that you 
are out of system buffers. You may be chasing a ghost. 

Dennis

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17a.19ef4b4.296340df>