mbuf denied problem

Robert Watson rwatson at FreeBSD.org
Sat May 20 11:47:43 UTC 2006


On Fri, 19 May 2006, OxY wrote:

> i have a problem with mbuf... when all my free memory is gone ( i have 2gb 
> ram) and memory allocation looks like this:

I recently received an informal problem report that there is a problem with 
the "denied" statistics gathering, so I think it's likely that's what is going 
on here.  I'll follow up with the submitter and see if we can't figure out 
something more definite.

Robert N M Watson

>
> Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K Free
> Swap: 695M Total, 695M Free
>
> mbuf starts to deny...
> netstat -m show 0 deny till has memory, after that i see this:
>
> Field root# netstat -m
> 629/466/1095 mbufs in use (current/cache/total)
> 512/176/688/65536 mbuf clusters in use (current/cache/total/max)
> 512/133 mbuf+clusters out of packet secondary zone in use (current/cache)
> 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
> 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
> 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
> 1181K/468K/1649K bytes allocated to network (current/cache/total)
> 7410219/101093/101499 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
> 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
> 0/0/0 sfbufs in use (current/peak/max)
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 25288 requests for I/O initiated by sendfile
> 65 calls to protocol drain routines
>
> this is my sysctl.conf:
> net.inet.tcp.delayed_ack=0
> net.inet.ip.intr_queue_maxlen=400
> net.inet.tcp.inflight.enable=0
> net.route.netisr_maxqlen=512
> kern.ipc.somaxconn=1024
>
> should i attach any other conf/log,etc?
> thanks!
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list